The example request:

http://nominatim.openstreetmap.org/reverse?format=json&lat=45.468401928178&lon=9.1730680478755&accept-language=en

Answer:

{
    ...
    "address" : {
        "cafe" : "Fiorio 1780",
        "house_number" : "26",
        "road" : "Via Vincenzo Monti",
        "suburb" : "Porta Vercellina",
        "city" : "Milan",
        "county" : "Milan",
        "state" : "Lombardy",
        "postcode" : "20123",
        "country" : "Italy",
        "country_code" : "it"
    },
    "boundingbox" : ["45.4681247", "45.4683247", "9.172875", "9.173075"]
}

The address keys are: cafe, house_number, road, suburb, city, county, state, postcode, country, country_code.

I want to find the list of all available address keys. If this list doesn't exists, I want to know relation between this keys and osm tags.

asked 16 Mar, 10:39

kz_sergey's gravatar image

kz_sergey
3124
accept rate: 0%


See the function getClassTypes() in lib.php. The relation between address key and OSM tags is purely defined by Nominatim internals.

permanent link

answered 16 Mar, 11:04

scai's gravatar image

scai ♦
28.2k17246396
accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×437

question asked: 16 Mar, 10:39

question was seen: 271 times

last updated: 16 Mar, 11:04

powered by OSQA