About GeoCoding

Bhanu From Nepal5 months ago

Hello! I have to use local geocoding service provide by local geocoding provider here in Nepal.
This is the example of API end point they provide: https://route-init.gallimap.com/api/v1/reverse/generalReverse?accessToken=[ACCESS-TOKEN]&lat=[LOCATION-LATITUDE]&lng=[LOCATION-LONGITUDE]
and this is the link of documentration: https://gallimaps.com/documentation/galli-apis-doc.html#reverseGeocoding
Please help me how can I integrate it.
I am trying with this but not work:

<entry key='geocoder.ignorePositions'>false</entry>
<entry key='geocoder.onRequest'>false</entry>
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>khalti</entry>
<entry key='geocoder.url'>https://route-init.gallimap.com/api/v1/reverse</entry>
<entry key='geocoder.key'>****e164d-0a4c-49e6-9d9f-75a5c78484ce</entry>

Thanks in Advance!

Anton Tananaev5 months ago

Where did you get this from?

<entry key='geocoder.type'>khalti</entry>
Bhanu From Nepal5 months ago

Thanks for responce!
I get <entry key='geocoder.type'>....</entry> from doucemntration and put "khalti" just for test. Please guide me how can I works with this API?

Anton Tananaev5 months ago

I don't know how to work with it because the documentation doesn't explain the data format.

Bhanu From Nepal5 months ago

Is it possiable to use this with using with traccar.xml udpate I mean like this

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>.....</entry>
<entry key='geocoder.url'>https://route-init.gallimap.com/api/v1/reverse</entry>
<entry key='geocoder.key'>****e164d-0a4c-49e6-9d9f-75a5c78484ce</entry>

or, we need to change some codes into source.
I am asking the developer of this API today , I can directly call and talk to them so please suggest me how can I manage? What to ask with them ?
Thanks a lots for your support .

Anton Tananaev5 months ago

You have to ask them if their format is compatible with any of the supported format. For example, Nominatim.

Bhanu From Nepal5 months ago

Ok!

Bhanu From Nepal5 months ago

Hi! Anton , My reverse goecoding company makes compatiable format like Nominatim and send me a link now, how can I use it on my traccar server in traccar.xml file :
https://route-init.gallimap.com/reverseGeoApi/reverse/generalReverseXml?accessToken=7c0e164d-0a4c-49e6-9d9f-75a5c78484ce This is the link & Token

Anton Tananaev5 months ago
Bhanu From Nepal5 months ago

Thanks! I read this article. I tried according to this document but can't slove . Please help.

Bhanu From Nepal5 months ago

I tried with with like this:
One:

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

Two:

<entry key='geocoder.ignorePositions'>true</entry>
<entry key='geocoder.onRequest'>true</entry>
<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>

Its urgent for me please help.

Anton Tananaev5 months ago

If it doesn't work, I suspect it's still not compatible with Nominatim.

Bhanu From Nepal5 months ago

Thanks for your responce! I will talk to them once agian.

Bhanu From Nepal5 months ago

https://route-init.gallimap.com/reverseGeoApi/reverse/generalReverseXml?accessToken=7c0e164d-0a4c-49e6-9d9f-75a5c78484ce&lat={latitude}&lng={longitude} is there any error ? Can we use like this on xml file.
I

Bhanu From Nepal4 months ago

Hello!
https://route-init.gallimap.com/reverseGeoApi/reverse/generalReverseXml?accessToken=7c0e164d-0a4c-49e6-9d9f-75a5c78484ce&lat=27.57424&lng=83.443995 with this its responce in browswer but cant use in traccar please help.
The output of above api is:

<reversegeocode timestamp="Mon, 01 Jul 2024 13:46:48 +05:45" attribution="@GalliMaps, https://map.gallimap.com/" querystring="lat=27.57424&lng=83.443995">
<result lat="27.57424" lon="83.443995">Durga Nagar School Road, Tillotama-14, Rupandehi, Lumbini Pradesh</result>
<addressparts>
<road>Durga Nagar School Road</road>
<hamlet/>
<town>Tillotama-14</town>
<city>Rupandehi</city>
<state>Lumbini Pradesh</state>
<country>Nepal</country>
</addressparts>
</reversegeocode>

Please give me some hint .