How to use other reverse geocoding providers

IoSonoPiero2 years ago

Mmh, putting that value into traccar.xml

<entry key='geocoder.url'>https://us1.locationiq.com/v1/reverse.php</entry>

I always get:

2022-12-12 20:17:24  WARN: Geocoder network error - HTTP 404 Not Found - NotFoundException (... < JsonGeocoder:126 < ServerResource:89 < ...)
Anton Tananaev2 years ago

Sorry, copied the wrong value. Obviously it shouldn't point to LocationIQ. The right value is

https://api.tomtom.com/search/2/reverseGeocode/
IoSonoPiero2 years ago

And it works!! Thanks Anton.

For recap:

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>tomtom</entry>
<entry key='geocoder.key'>myTomTomKey</entry>
<entry key='geocoder.reuseDistance'>10</entry>
<entry key='geocoder.url'>https://api.tomtom.com/search/2/reverseGeocode/</entry>

works very good!

ritesh2 years ago

I am bit confuesd,

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>tomtom</entry>
<entry key='geocoder.url'>https://api.tomtom.com/search/2/reverseGeocode/</entry>

<entry key='geocoder.key'>---</entry>

this is way?

ritesh2 years ago

now its working , but my api positions address is null , how to auto do it?

Anton Tananaev2 years ago

Check available configuration parameters.