[Routing] Question about turnrestrictions
Christian Vetter
veaac.fdirct at gmail.com
Tue Jul 31 10:33:01 BST 2012
Hi,
Many routing applications only support a single "from", "to" and "via"
entity. Actually, most only support restrictions in the form:
from way1 via node to way2.
So if you want to add a relation that is understood by as many
applications as possible, I would advise you to split it into 4.
Best regards,
Christian
On Tue, Jul 31, 2012 at 11:19 AM, Gubler, Ruediger <rgubler at init-ka.de> wrote:
> Hello,
>
> I have a question about the below turn restriction definition
>
> <osm version="0.6" generator="OpenStreetMap server">
> <relation id="339483"
> visible="true"
> timestamp="2012-06-29T07:37:40Z"
> version="4"
> changeset="12053445"
> user="Drachentoeter"
> uid="63726">
> <member type="node" ref="82520384" role="via"/>
> <member type="way" ref="49025950" role="to"/>
> <member type="way" ref="28191636" role="from"/>
> <member type="way" ref="169412714" role="from"/>
> <member type="way" ref="169412708" role="from"/>
> <member type="way" ref="169412713" role="from"/>
> <tag k="restriction" v="no_left_turn"/>
> <tag k="type" v="restriction"/>
> </relation>
> </osm>
>
> According to the wiki (http://wiki.openstreetmap.org/wiki/Turn_Restriction) multiple from roles are only allowed at
> restriction=no_entry or restriction=no_exit elements.
>
> Is the above definition correct and the wiki is wrong or must the relation be divided into 4 parts?
>
>
> Yours Rüdiger
>
>
> _______________________________________________
> Routing mailing list
> Routing at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/routing
More information about the Routing
mailing list