NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 '17, 10:39

kz_sergey's gravatar image

kz_sergey
31224
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 '17, 11:04

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

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:

×689

question asked: 16 Mar '17, 10:39

question was seen: 2,804 times

last updated: 16 Mar '17, 11:04

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum