Search notes:

OpenStreetMap tags

Some assumptions about tags

These are some assumptions (!!!) about tags that I used while I was working on Swiss OpenStreetMap data.

Buildings

Buildings are stored as ways.
Such ways (usually?) have a key named building whose value simply is yes.
Optionally, such ways can have these address keys:
  • addr:street
  • addr:housenumber
  • addr:city
  • addr:postcode
  • addr:country

source

The value of a source key seems to indicate what entity provided the data.
Some possible values are Bing, http://www.sogis.ch SO!GIS Import, Yahoo aerial images, Stadt Zürich Open Government Data; Geomatik + Vermessung; Tiefbau- und Entsorgungsdepartement etc.

natural

Some naturally found objects such as tree (!), scrub, water, wood, peak, grassland, cliff, glacier (natural-glacier.sql) etc.
Even yes is found, at times! (See natural-yes_name.sql)
natural apparently often comes with type=multipoligon.

name

The name of streets such as Hauptstrasse, Dorfstrasse, Bahnhofstrasse.
It can also name other objects, names such as France - Schweiz / Suisse / Svezzira (sic!), Coop, Volg, Migros, Denner, UBS, McDonald's were also found.

tracktype

grade1, grade2, grade3, grade4, grade5

landuse

forest, meadow, farmland, gras, residential, farmyard, cemetery etc.
type=multipoligon apparently often comes in conjunction with landuse.

amenity

Also found for Buildings

surface

This key might predominantly belong to streets, typical values are asphalt, gravel, paved, unpaved, ground, grass, dirt, concrete etc.

maxspeed

This key might mostly belong to streets and railways, typical values are 20, 30, 50, 80, 100, 120, signals, walk

operator

SBB, VBZ, Luzerner Wanderwege, Robidog AG, Die Post etc

power

Values concerning power lines. Most frequent value (in Switzerland) is pole followed by tower, minor_line, line, substation, generator, sub_station, cable_distribution_cabinet, transformer etc

ref

Not entierly clear what this is used for. Typical values are 1, 2 …, A1, A2 … (Obviously used for Autobahnen).

created_by

The application with which the data was entered to the OSM database.
Typical values are JOSM, Merkaartor 0.13, Potlatch 0.10f, opengeodb2osm0.5.2

access

Most important values in decreasing order: private, yes, no, destination, agricultural, permissive, customers, designated etc

railway

Concerning railways. Typical values rail, level_crossing, narrow_gauge, buffer_stop, tram, halt, subway, signal etc

route

Some values that are assocated with route include: trolleybus, foot, tram, railway, fitness_trail, power, road, ski, ferry, train, mtb, bicycle, piste, bus, hiking etc.

sac_scale

The key sac_scale classifies hiking trails. Typical values are: hiking (apparently corresponds to T1), mountain_hiking (T2), demanding_mountain_hiking (T3), alpine_hiking (T4), demanding_alpine_hiking (T5), difficult_alpine_hiking (T6).

service

driveway, parking_aisle, yard, siding, spur, emergency_access etc
There is even one with the value Nyffenegg (way with id 403303034).

boundary

administrative, protected_area, postal_code, old_administrative, country_border etc

type

type is intended to specify a relation's type, such as multipolygon, route, restriction, public_transport etc
type=associatedStreet seems to be mostly a relation that consists of a street and buildings (with the same address?).
If a relation's type is multipolygon, it apparently often comes also with landuse or natural. See type-multipolygon.sql.

information

In Switzerland, by far the most used value for the information key is guidepost. It is apparently used for what is called Wegweiser in German.

emergency

In Switzerland, by far the most used value for the emergency tag is fire_hydrant.
Other interesting values are defibrillator, life_ring and shelter.

swisstopo:*

swisstopo:BEZIRKSNUM

swisstopo:BFS_NUMMER

swisstopo:KANTONSNUM

swisstopo:OBJEKTART

swisstopo:SHN

symbol

symbol=gelber Diamant: apparently used for hiking trails.

See also

Nodes, ways and relations

Index