Google Reverse Geocoding instructions don't work

gustavofarias5 years ago

I followed the instructions here: https://www.traccar.org/reverse-geocoding/

When I click in "show address" nothing happens and the log records:

2019-11-01 16:53:55  WARN: Geocoding failed - Empty address. Error: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account - GeocoderException (JsonGeocoder:69 < *:31 < *:97 < *:94 < ...)
Anton Tananaev5 years ago

You need an API key, as the error message says.

gustavofarias5 years ago

So, it means this page https://www.traccar.org/reverse-geocoding/ needs an update.
Because it makes us believe there is a free limited Google reverse geocoding, and that these two entries are enough

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>google</entry>

Also, this OpenCage entry:

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

is missing an S in http. Should be https://

Anton Tananaev5 years ago

Documentation was correct at the time it was written.

Foxchip5 years ago

There are a lot of problem on reverse geocoding actually
it should be good if we can update the documentation

Anton Tananaev5 years ago

Sure, feel free to send updated information and we'll update the website.

Foxchip5 years ago

API KEY is needed for Google