Geocoding server

smsoousa8 years ago

Hello Anton!
I wonder if there is already a better geolocalizer option than locationiq? In terms of daily request limits. I'm thinking of putting together my own gisgraphy server, I'm taking a look at the documentation of it, however, I still do not know how to use it in the tracing in addition to the standard form as per its documentation:

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>gisgraphy</entry>
<entry key='geocoder.url'>http://services.gisgraphy.com/reversegeocoding/search</entry>```

Setting up my own server, would the configuration traccar look like this ?:

```java
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>gisgraphy</entry>
<entry key='geocoder.url'>http://my_ip or my_domain/reversegeocoding/search</entry>```

Anton Tananaev8 years ago

Looks correct to me.

Tasos8 years ago

Hi, I have the exact same config, i get replies from gisgraphy but no addresses.

WARN: Geocoding failed - Index: 0 - IndexOutOfBoundsException (... < GisgraphyGeocoder:34 < JsonGeocoder:66 < ...)

config

<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>gisgraphy</entry>
<entry key='geocoder.url'>http://xxx.xxx.xxx.xxx/reversegeocoding/search</entry>
Anton Tananaev8 years ago

It probably means that Gisgraphy didn't return any valid result.