Use geocoder location

smsoousa7 years ago

Hello, I would like to know if the configuration to use the LocationIQ instance is correct for tracing.

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>locationiq</entry>
<entry key='geocoder.url'>http://locationiq.org/v1/reverse.php</entry>
<entry key='geocoder.key'>My Key API</entry>
Anton Tananaev7 years ago

The "geocoder.type" should be "nominatim". Also, make sure that you are using Traccar version 3.10.

smsoousa7 years ago

Yes, I'm using version 3.10.
One question, I made the configuration as you instructed me:

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>http://locationiq.org/v1/reverse.php</entry>
<entry key='geocoder.key'>My Key API</entry>

Using this way the locationIQ my daily requests would be up to 30.000 at the limit of use?

Another question, default.xml is still configured for google geocoder, have any problems getting it?

Anton Tananaev7 years ago

You should ask your geocoder provider about limit of use. Traccar doesn't enforce any limits.

Any values in "default.xml" would be overridden by values in "traccar.xml".