How to use Google Geocoder with Traccar

Arvind6 years ago

I tried to add Google geocoder in my Traccar.xml.
But I have no idea how to use. I tried to find in forum but I had no luck.
Any who can help me?

Anton Tananaev6 years ago

All you need to do is configure it in the config file. Make sure you include the key as well.

Arvind6 years ago

i am using this. it is correct?

<entry key ='geocoder.enable'>true</entry>
<entry key ='geocoder.type'>google</entry>
<entry key ='geocoder.url'>https://maps.googleapis.com/maps/api/geocode/</entry>
<entry key ='geocoder.key'>XXXmyapikey</entry>
Anton Tananaev6 years ago

Looks fine. You don't need URL though.

Arvind6 years ago

Still doesn't show address. But it is connected in my Google cloud because as i can see in Geocoding API
it send request.
but in portal does not show address on click

Anton Tananaev6 years ago

What does it show?

Arvind6 years ago

API Requests Errors Avg latency (ms)
Directions API 0 0 - Details
Distance Matrix API 0 0 - Details
Geocoding API 13,024 11,517 26 Details
Geolocation API 0 0 - Details

Anton Tananaev6 years ago

What portal are you talking about? I thought we are discussing Traccar.

Arvind6 years ago

yes we are doing. i am trying to say that google geocoder is sending request on google map cloud. But in Traccar server it does show address.

Arvind6 years ago

sorry does not show address

Anton Tananaev6 years ago

Please upload a video of the issue.

Arvind6 years ago

does google geocoder api work during one year trial period that google cloud offer?