Reverse Geocoding Nominatim complete JSON string OpenCage works fine

Guido 7 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 Tananaev 7 years ago

Try with HTTPS:

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

Thank you very much SSL solves my problem directly!