OSM exists now since more than 20 years. During this time, a tagging scheme evolved. It has undergone several changes since, is partly approved by the community, but never anything was forced. The freedom to invent new tags is considered a strength of OSM.
The OSM tagging scheme is clearly a result of swarm intelligence, which is sometimes said to be superior. I wondered how well this worked and thus started to analyse it. I’ll probably blog about this in a loose series of blog posts, starting today with looking at the highway
tag, which according to the wiki identifies “any kind of road, street or path.”
In most cases, OSM elements are categorised in a hierarchical manner, with every step narrowing the meaning of the former step: highway=service
, service=driveway
, driveway=garage
for example. A top level type=highway
is missing and has to be derived implicitly.1
The values of a certain tag should ideally be choosen in a way, that there is a match for every object in the real world belonging to this category. And there should be only one match. So, a highway=service
must not qualify for a highway=footway
at the same time.
Restricting my study further, I choose to look only at values used for linear features, that is, way elements. There are about three dozen of common values in the database. They match the values listed at the wiki page.2
The Present: Criteria used for Highway Classification
When you are faced by a highway feature on the ground, which is not yet in the database, you have to decide about the value of the highway
tag.
While it’s sometimes really easy to decide which value is correct, other situations lead to endless discussions in the forums. Such discussions are a hint that there is something wrong with these values. So I asked myself, by which criterion the values have been decided. As it turns out, there are severeal criteria in use, and they are mixed.