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

Etienne Trimaille etienne.trimaille at gmail.com
Mon Sep 4 01:56:29 PDT 2017


Using QuickOSM, there are 2 specials Processing algorithms to deal with OSM
Relations which are not multipolygons, routes or boundaries. It's using XML
Sax parser because OGR can't read these relations. I agree, it's missing
some docs here.

2017-08-31 13:30 GMT+02:00 Andre Joost <andre+joost at nurfuerspam.de>:

> Am 31.08.2017 um 07:14 schrieb Clifford Snow:
>
>> Overpass can grab turn restrictions. Read the wiki[1] for information on
>> how turn restrictions are tagged.
>>
>> For example, this query [1] grabs all turn restrictions in my county. Once
>> the query has run download a geojson for loading into QGIS
>>
>> [out:json][timeout:25];
>> // fetch area “skagit county” to search in
>> {{geocodeArea:skagit county}}->.searchArea;
>> // gather results
>> (
>>    // query part for: “type=restriction and restriction=*”
>>
>>    relation["type"="restriction"]["restriction"](area.searchArea);
>> );
>> // print results
>> out body;
>>
>>> ;
>>>
>> out skel qt;
>>
>>
> I tried QuickOSM with
>
>  relation["type"="restriction"]["restriction"]({{bbox}});> ;out;
>
> which returns the ways with their tags, but not the relation tags.
>
> The geojson result from Overpass turbo works better, but it is still a lot
> of coding necessary to get a road sign at the right pace and orientation
> from that. Maybe it is easier to use the raw XML format.
>
>
> Greetings,
> André Joost
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170904/334eb30e/attachment.html>


More information about the Qgis-user mailing list