Hello,
I have a problem with finding addresses by coordinates. I use the function findLocation and coordinates are "49°34'21.1"N 13°34'44.8"E". When you try to search for an address that I coordinate the function returns twenty addresses, but all are at least three kilometers from the given coordinates, so it's unusable for me.
What settings should I use? What function should I use?
Thank you
Vladimir
Searching for an address from coordinates
Searching for an address from coordinates
Vladimír Plachý, DiS.
Developer windows applications
D&Comm s.r.o. - Czech Republic
Developer windows applications
D&Comm s.r.o. - Czech Republic
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Searching for an address from coordinates
Hello Vladimir,
here are some successful screenshots based on 2016.1 HERE maps. Which map do you use?
Best regards Bernd
here are some successful screenshots based on 2016.1 HERE maps. Which map do you use?
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: Searching for an address from coordinates
Hello Bernd,
I used test servers https://xlocate-eu-n-test.cloud.ptvgrou ... ws/XLocate
Best regards Vladimir
I used test servers https://xlocate-eu-n-test.cloud.ptvgrou ... ws/XLocate
Best regards Vladimir
Vladimír Plachý, DiS.
Developer windows applications
D&Comm s.r.o. - Czech Republic
Developer windows applications
D&Comm s.r.o. - Czech Republic
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Searching for an address from coordinates
Hello Vlad,
one parameter that causes a significant difference in this scenario is the ReverseSearchOption.FILTERMODE:
So I'm not sure whether this info resolves the issue. In the end you need better data, too.
Regards Bernd
one parameter that causes a significant difference in this scenario is the ReverseSearchOption.FILTERMODE:
- 0 - filter nothing
- 1 - filter results where the streets have no name
- 2 - filter streets without a name and duplicate street results
So I'm not sure whether this info resolves the issue. In the end you need better data, too.
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: Searching for an address from coordinates
For some background on this, consider the following scenario's:As far as I know the FILTERMODE==1 is the default which is driven by historical reasons (The parameter was invented with 1.8 after some complaints and the API had to response in the old style by default).
- You are getting the GPS data from a vehicle and want to lookup the street name the vehicle is on. The GPS signal however has an inaccuracy which sometimes causes the points to be on the wrong street (side street for example). We found out that when the xLocate was returning a street with no name, almost always the GPS inaccuracy causes the wrong street to be taken. Filtering out unnamed streets improves the result a lot.
- Parking lots and gas stations next to a highway often are unnamed streets. Many customers preferred that instead of a unnamed street to see the highway name. By filtering unnamed streets this could be achieved.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux