Reverse geocoding

GUTIERREZ 7 years ago

good morning, I recently installed traccar and I am very new in this so I hope not to bother with many questions.
Install everything and I do not get the streets and numbers, I was looking a little other answers, but it did not work

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

I get a message

Reverse geocoding is not enabled - RuntimeException (ServerResource:59 < ...)
Anton Tananaev 7 years ago

You have too many spaces in your XML. Also, make sure you restart server after changing config.

GUTIERREZ 7 years ago

ok, I'll try and tell you how it came out

GUTIERREZ 7 years ago

already made all the changes and still does not show the directions

Anton Tananaev 7 years ago

Nobody would be able to help you unless you provide more information than just "it doesn't work".

GUTIERREZ 7 years ago

I'm going to try running the platform in a cloud, because now I have it on my own server.

FERNANDO BUENO 7 years ago

I'm having the same problem, I'm using a nominatim service that released to my central ip,

in the browser I can see it working,

but when I get the address in the central, I get the same error message reported above.

Reverse geocoding is not enabled - RuntimeException (ServerResource:59 < ...)

my default.xml file (inside C: \ Program Files \ Traccar \ conf) looks like this.

    <entry key='geocoder.enable'>true</entry>
    <entry key='geocoder.type'>nominatim</entry>
    <entry key='geocoder.url'>http://188.40.20.228/nominatim/reverse.php</entry>
    <entry key='geocoder.format'>%r, %h, %u, %t - %s</entry> 
Anton Tananaev 7 years ago

Have you restarted service after changing config?

FERNANDO BUENO 7 years ago

yes, I rebooted

Anton Tananaev 7 years ago

Then there must be some problem with your config.

FERNANDO BUENO 7 years ago

SOME SUGGESTION TO SEARCH?