Something like this:
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>geocodefarm</entry>
Bristol : Thank you for the hint. For our server 250 accesses per day is enough.
The reverse geocoding in traccar works, but the street number is missing.
json : "formatted_address": "Robert-Bosch Straße 17A, 63477 Maintal, Germany", "accuracy": "EXACT_MATCH", "ADDRESS": { "street_number": "17A", "street_name": "Robert-Bosch Straße", "locality": "Maintal", "admin_2": "Main-Kinzig-Kreis", "admin_1": "Hesse", "postal_code": "63477", "country": "Germany" },
Greetings Bernd
Thanks Anton, I'll try that.
Bernd, I think you may have to provide more decimal digits in you coordinates. I used the Google maps coordinates for my home address and geocode.farm was spot on with street and number.
Anton, I get an error using that config when I try to 'show address'
I get:
Signature does not match. -
SignatureException (... <
JsonGeocoder:114 <
ServerResource:61 < ...)
Manually it comes with street number, in traccar web it comes without street number.
My test url : https://www.geocode.farm/v3/json/reverse/?lat=50.131756&lon=8.860913&lang=de
Ah Okay. How did you get it to work in traccar web ? what xml entries did you use ?
Only this :
<entry key='geocoder.enable'>true</entry> <entry key='geocoder.type'>geocodefarm</entry>
Now I get
NullPointerException (GeocodeFarmGeocoder:44 < JsonGeocoder:63 < *:114 < ServerResource:61 < ...)
One hour ago it was working.
#Bernd
Now I use :
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>https://nominatim.openstreetmap.org/reverse</entry>
<entry key='geocoder.onRequest'>true</entry>
Working for me !
Greetings Bernd
Anyone got free reverse geocoding working ?
Works too :
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>https://eu1.locationiq.com/v1/reverse.php</entry>
<entry key='geocoder.key'>pk.675e0ae8c949559bd...</entry>
<entry key='geocoder.onRequest'>true</entry>
Thanks Bernd. I'll give it a try.
Is that a personal key that you register for or a generic key for free access ?
A personal key. Just enter name and email.
You can try my key :
<entry key='geocoder.key'>aaaaa5e0ae8c949559bd8de71ebdf5954c2</entry>
Change the first 5 letters from 'aaaaa' to 'pk.67'.
Greetings Bernd
Thanks Bernd. I tried it with your key but I get the same error as I got with geocode.farm. I must have something else wrong in my configuration. Where do you sign up for API key I couldn't find it on the Nominatim website
I am trying to configure reverse geocoding using geocode.farm. However, the free access doesn'r require an API key and works just sending a URL. Can someone tell me what the correct xml entry would be in the server config for this ?