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
Coordinates without Street No.
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Coordinates without Street No.
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 Best regards
Bernd
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 Best regards
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Re: Coordinates without Street No.
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
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
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Coordinates without Street No.
Here we go:
There are no parameters given - we try to identify the users requirement.
Best regards
Bernd
This is how it looks like in xServer 2.There are no parameters given - we try to identify the users requirement.
Best regards
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Re: Coordinates without Street No.
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
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.
And of course: Thanks for your help!