Hi,
I have set up my own Gisgraphy instance locally and imported the necessary data for properly reverse geocoding down to the house number.
In the web interface of Gisgraphy it works just fine but when connecting Traccar to the Gisgraphy instance it only showed the street, never the house number.
Upon investigation I found out, the street number of a Gisgraphy response is never parsed/stored/used.
Is there any reason why all the additional information is discarded?
The response I get from Gisgraphy looks like this:
{"numFound":1,"QTime":15,"attributions":"http://www.gisgraphy.com/attributions.html","result":[{"id":...,"lng":...,"lat":...,"houseNumber":"...","streetName":"...","zipCode":"...","city":"...","state":"...","countryCode":"...","geocodingLevel":"HOUSE_NUMBER","distance":...,"adm1Name":"...","adm2Name":"...","formatedFull":"...","formatedPostal":"...","surface":"asphalt","azimuthStart":...,"azimuthEnd":...,"length":...,"sourceId":...}]}
Regards
Peter
Feel free to send a pull request.
Hi,
I have set up my own Gisgraphy instance locally and imported the necessary data for properly reverse geocoding down to the house number.
In the web interface of Gisgraphy it works just fine but when connecting Traccar to the Gisgraphy instance it only showed the street, never the house number.
Upon investigation I found out, the street number of a Gisgraphy response is never parsed/stored/used.
Is there any reason why all the additional information is discarded?
The response I get from Gisgraphy looks like this:
{"numFound":1,"QTime":15,"attributions":"http://www.gisgraphy.com/attributions.html","result":[{"id":...,"lng":...,"lat":...,"houseNumber":"...","streetName":"...","zipCode":"...","city":"...","state":"...","countryCode":"...","geocodingLevel":"HOUSE_NUMBER","distance":...,"adm1Name":"...","adm2Name":"...","formatedFull":"...","formatedPostal":"...","surface":"asphalt","azimuthStart":...,"azimuthEnd":...,"length":...,"sourceId":...}]}
Regards
Peter