[Qgis-user] Anybody knows how to download OSM Turn Restrictions?

Andre Joost andre+joost at nurfuerspam.de
Wed Aug 30 10:28:29 PDT 2017


Am 30.08.2017 um 11:09 schrieb DelazJ:
> Hi,
> I think that the OpenStreetMap native tool in QGIS offers a way to
> filter an osm layer based on tags (you'll first need to download the
> whole data from OSM and use the "Export Topology..." tool ). See
> http://docs.qgis.org/2.18/en/docs/user_manual/managing_data_source/opening_data.html#importing-openstreetmap-vectors.
>

I doubt that this will work. From the relation of type restriction, you 
need the relation tags and the "role" tags for the ways and nodes to 
model a turn restriction.
See http://wiki.openstreetmap.org/wiki/Relation:restriction

The OSM importer tool, only builds points, lines and polygones, dropping 
the restriction relations completely.

QuickOSM (via Overpass) is able to laod the relation, but just models 
lines and points without the role information.

Add vector layer is able to import "other relations", but without geometry.

Even osm2pgsql does not import the turn restriction relations (like it 
does for routes).

Greetings,
André Joost







More information about the Qgis-user mailing list