Reverse Geocoding Nominatim complete JSON string OpenCage works fine

Guido6 years ago

Hello,

Using traccar on Synology NAS with official docker container V4.0 the reverse geocoding with nominatim works but displays the complete JSON response {"place_id":"...","licence":"Data © OpenStreetMap contributors, ODbL 1.0. in the address field,

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>http://nominatim.openstreetmap.org/reverse</entry>

Reverse geocoding using opencage works, finds and displays the address well formated

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>opencage</entry>
<entry key='geocoder.url'>http://api.opencagedata.com/geocode/v1</entry>
<entry key='geocoder.key'>...</entry>

Nothing else is set.

Anyone an idea for me? I'd like to use a personal nominatim server (which works, but shows also only the JSON ...)

Anton Tananaev6 years ago

Try with HTTPS:

<entry key='geocoder.url'>https://nominatim.openstreetmap.org/reverse</entry>
Guido6 years ago

Thank you very much SSL solves my problem directly!