Geocoding on 5.10

Bhanu From Nepal3 months ago

I am trying to use geocoding service from GalliMaps (Local service provider here in Nepal) , I asked them to host like Nominatim , they provide me link like: https://route-init.gallimap.com/reverseGeoApi/reverse/generalReverseXml?accessToken=7c0e164d-0a4c-49e6-9d9f-75a5c78484ce&lat=27.673586244841864&lng=85.32286091124976&format=json it returns correct deata on json format.
How can I use it on traccar? Please help me.
I need report on excel with location address.
or, any other ieda to edit report excel file and apply this api on excel.

Track-trace3 months ago

Do you think it is a good idear to paste the accestoken here ? Now anyone can use that service (at your expence)..

odhiambo3 months ago

Something like this in traccar.xml:

    <entry key='geocoder.enable'>true</entry>
    <entry key='geocoder.type'>nominatim</entry>
    <entry key='geocoder.url'>https://route-init.gallimap.com/reverseGeoApi/reverse/generalReverseXml</entry>
    <entry key='geocoder.key'>7c0e164d-0a4c-49e6-9d9f-75a5c78484ce</entry>
    <entry key='geocoder.onRequest'>false</entry>
    <entry key='geocoder.ignorePositions'>false</entry>
    <entry key='geocoder.reuseDistance'>10</entry>

Ideally:

  1. They should have given you instructions on how to use their API
  2. You should request for a new API key IF what you have shared there is what they gave you. The key should not be public.
Bhanu From Nepal3 months ago

Thanks !

Bhanu From Nepal3 months ago
2024-07-31 19:26:58  WARN: Geocoding failed - HTTP 401 Unauthorized - NotAuthorizedException (...)
Anton Tananaev3 months ago

The problem is that they use non standard key parameter. Traccar uses "key" and your provider expects "accessToken", so I don't think it's compatible currently.