0

Hello every one while exploring alternative to google maps reverse Geo-coding service i have come across openstreet map nominatim service but i cant seem to figure out what is the address29 field in the address object returned in the response

for eg i hit the api https://nominatim.openstreetmap.org/reverse?format=json&lat=24.9128455&lon=67.002839&zoom=18&addressdetails=1

no address29 field is shown but when i hit this url

http://nominatim.openstreetmap.org/reverse?format=json&lat=24.9128455&lon=67.0032436&zoom=18&addressdetails=1

you can see the field

JayD
  • 748
  • 1
  • 13
  • 38
  • Please provide more details... – scai Jun 19 '19 at 11:00
  • @scai what more details are required? – JayD Jun 19 '19 at 11:04
  • Your geocoding request and the geocoding response. Otherwise we don't know what your question is about. – scai Jun 19 '19 at 11:05
  • ok editing in a second – JayD Jun 19 '19 at 11:08
  • There is no "address29" field in the response: `{"place_id":258268446,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"way","osm_id":681780721,"lat":"24.9129447808622","lon":"67.0027634765525","display_name":"Sindh Industrial Trading Estate, Karatschi, Karāchi District, Sindh, 75840, Pakistan","address":{"industrial":"Sindh Industrial Trading Estate","city":"Karatschi","county":"Karāchi District","state":"Sindh","postcode":"75840","country":"Pakistan","country_code":"pk"},"boundingbox":["24.9091911","24.9141245","66.9978291","67.0043143"]}` – scai Jun 19 '19 at 11:11
  • @scai check update – JayD Jun 19 '19 at 11:17

1 Answers1

1

This question has been partly answered at here:

you're missing osm's class and type fields. they are what you need when you see things like address100, address29, etc.

From my understanding, fields such as address29 are specific address parts for which there is no description yet defined in Nominatim.

In your case, "address29":"AGP Limited" comes from the short_name tag of node 6556946279. The short_name is a commonly used abbreviation of the name.

scai
  • 20,297
  • 4
  • 56
  • 72
  • can you please tell me where in the api should i use these fields and what are the possible value for them? – JayD Jun 19 '19 at 11:21
  • You don't need to "use" them. Just ignore them if you don't intend to handle them. In case of the name the value can be arbitrary. – scai Jun 19 '19 at 11:24