Page 1 of 1

Coordinates without Street No.

Posted: Wed May 31, 2017 12:11 pm
by Bee
Is it possible to receive a ptv location with x-coordinates and y-coordinates without specifying a street no.? (For example only specifying a city and a street)

Greetings
Eike

Re: Coordinates without Street No.

Posted: Wed May 31, 2017 12:19 pm
by Bernd Welter
Hello Eike,

sure, you can provide complete input patterns or just subsets or properties.
Depending on the search options the result is a list of alternatives or just a single representant:

This is also described in this post:
http://xserver.ptvgroup.com/forum/viewt ... f=11&t=586
house numberf ranges versus representant
house numberf ranges versus representant
Aggregated postcodes versus representant
Aggregated postcodes versus representant
Best regards
Bernd

Re: Coordinates without Street No.

Posted: Wed May 31, 2017 1:10 pm
by Bee
Hello Bernd,

we are currently using the Service "SearchByTextRequest" from the XLocate Rest API.
(https://xserver2-dashboard.cloud.ptvgro ... s%7C_____7)

How do I set the necessary search params? I assume thats where the requestProfiles are for?

Greetings
Eike

Re: Coordinates without Street No.

Posted: Wed May 31, 2017 1:21 pm
by Bernd Welter
Here we go:
city without street.PNG
street with no housenumber.PNG
This is how it looks like in xServer 2.

There are no parameters given - we try to identify the users requirement.

Best regards
Bernd

Re: Coordinates without Street No.

Posted: Thu Jun 01, 2017 7:11 am
by Bee
Hello Bernd,

sorry for the inconvenience, it was my fault. We are currently using the location object which has "referenceCoordinate" and "roadAccessCoordinate". We were only dealing with the "roadAccessCoordinate" which is null if the requested address isn't fully defined. But of course, we are also getting the "referenceCoordinate" which is set, if e.g. only the city in the requested address was defined.

Greetings
Eike

Re: Coordinates without Street No.

Posted: Thu Jun 01, 2017 7:12 am
by Bee
And of course: Thanks for your help!