Reverse Geocoding

David Gilman6 years ago

I have tried all the methods found on the page https://www.traccar.org/reverse-geocoding/ but every time I select "Show Address" I get NullPointerException (ServerResource:56 < ...)
Any tips for a newbie who doesn't really know coding?

Anton Tananaev6 years ago

It would probably be useful if you provided your config.

David Gilman6 years ago

Running a Linux server with Ubuntu 18.04.
Installed by following the step by step on the traccar website: https://www.traccar.org/install-digitalocean/
Nothing custom at this point.

Anton Tananaev6 years ago

I'm confused. You said you have configured reverse geocoding.

David Gilman6 years ago

I have tried using your instructions on the website ( https://www.traccar.org/reverse-geocoding/ ). Tried each method one at a time but none of them worked, kept getting the error hence the request for help.

Anton Tananaev6 years ago

In your first message you said you changed the config. Then you said you haven't changed anything. Now you again saying that you did change the config.

Also, it seems like you are not using latest version of Traccar. If that's the case, you should upgrade first.

David Gilman6 years ago

I updated to v4.5, I had mistakenly assumed the install directions were for the most recent version.

I am using this for the reverse geocode:

    <entry key='geocoder.enable'>true</entry>
    <entry key='geocoder.type'>nominatim</entry>
    <entry key='geocoder.url'>https://us1.locationiq.com/v1/reverse.php</entry>
    <entry key='geocoder.key'>xxxxxxx</entry>  (Using my actual key in place of the xxx)

I am now getting this error:

Received fatal alert: handshake_failure - SSLHandshakeException (... < JsonGeocoder:107 < ServerResource:57 < ...)
Anton Tananaev6 years ago

Search forum for the error.

ArmZh5 years ago

У меня получилось и с гуглом и с OpenCage, но они латинскими буквами. Поддерживает ли сервер русскоязычные сервисы геокодинга? Планируется ли их поддержка?

Dave5 years ago