I am trying to do reverse geocoding using open street maps. I am getting 2 different Json formats in the response. For, this request The Response contains neigbourhood,suburb etc,. For,this request The Response contains county and other fields. I do see that the OSM_TYPE is differing in both the response(node/way). Is there any way to restrict the type of response?I tried to add OSM_TYPE in the query string which doesn't seem to work. Is there anyother format that could be received? asked 14 Mar '17, 07:32 Coder123 |
The format of the response is the same. For the US address different address components are found than for the Indian address, e.g. for India there's also a https://github.com/OpenCageData/address-formatting/blob/master/conf/components.yaml contains a list of possible common components. Anything not in that list, e.g. The maximum zoom level you can set is 18, that's also the default. Setting it to 27 has no effect. Using
answered 14 Mar '17, 09:02 mtmail |
cross-posted: http://stackoverflow.com/q/42736283/1340631 and http://gis.stackexchange.com/q/231747/23837