This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

All returned properties from reverse lookup.

1

I am currently looping through all returned properties and writing them to a DB with the key as row name and the value as the rows value.

However, it seems that every time I use it in a new area there are new properties appearing, which means my db table does not have a row for them:

"address": {
"supermarket": "Billa",
"road": "Marxergasse",
"suburb": "Erdberg",
"city_district": "Landstra\u00dfe",
"city": "Gemeinde Wien",
"county": "W",
"state": "Vienna",
"postcode": "1030",
"country": "Austria",
"country_code": "at"

}

So, is there in the documentation a place where I might find all of the possible properties? Tried looking but couldn't find anything sadly.

asked 11 Feb '14, 15:20

hutber's gravatar image

hutber
36112
accept rate: 0%

edited 11 Feb '14, 15:28

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701


2 Answers:

1

Currently there is no documentation about these properties as far as I can tell. You have to look at the source code instead. I guess(!) these properties originate somehow from lib/lib.php but I don't know any details.

answered 12 Feb '14, 17:14

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

0

Did you have a look at the OSM wiki about Map Features ?

And Taginfo ?

answered 12 Feb '14, 16:28

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

These aren't the usual OSM tags but Nominatim's own key-value pairs. Map Features or taginfo doesn't help.

(12 Feb '14, 17:02) scai ♦

Source code available on GitHub .