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

Identify ’transit highways’ in Germany

0

So I have imported the map of OSM map of Austria into my PostGIS database using the osm2pgsql tool.

My problem is the identification of transit highways in Austria.

There is an attribute called highway within the planet_osm_line (and also the planet_osm_roads) table. The highway tag used with the value 'motorway' can be used to isolate an Austrian/German Autobahn.

The definition of transit highways is this - "..highways dedicated to publically accessible transit buses..".

In other words, it is a dedicated right-of-way or roadway used by transit vehicles, usually buses.

Could you please help me select/identify the right attributes from the 'planet_osm_roads' table that can selectively identify transit highways?

asked 29 May '19, 05:30

Sujay's gravatar image

Sujay
51338
accept rate: 0%


One Answer:

3

I am not aware of many such highways in Germany. What we have a lot are lanes dedicated to buses and/or public transport in general.

You'll find that they are probably tagged in different ways. A highway only dedicated to buses could be tagged with access=no, psv=yes/designated or bus=yes/designated. For lanes it would be something like vehicle:lanes=yes|yes|no + psv:lanes=yes|yes|designated.

There is also a key busway but I have never seen it being used.

answered 29 May '19, 10:03

TZorn's gravatar image

TZorn
12.3k764225
accept rate: 15%

Source code available on GitHub .