Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kukuk:qmapshack
routino
fix-OSM-tag-handling.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-OSM-tag-handling.diff of Package routino
diff -ur routino-3.4.1.orig/xml/routino-profiles.xml routino-3.4.1/xml/routino-profiles.xml --- routino-3.4.1.orig/xml/routino-profiles.xml 2015-12-16 20:02:31.000000000 +0100 +++ routino-3.4.1/xml/routino-profiles.xml 2024-01-08 16:19:27.115251673 +0100 @@ -56,8 +56,8 @@ <property type="bicycleroute" percent="55" /> </properties> <restrictions> - <oneway obey="0" /> - <turns obey="0" /> + <oneway obey="0" /> + <turns obey="0" /> <weight limit="0.0" /> <height limit="0.0" /> <width limit="0.0" /> @@ -105,8 +105,8 @@ <property type="bicycleroute" percent="50" /> </properties> <restrictions> - <oneway obey="1" /> - <turns obey="1" /> + <oneway obey="1" /> + <turns obey="1" /> <weight limit="0.0" /> <height limit="0.0" /> <width limit="0.0" /> @@ -154,8 +154,8 @@ <property type="bicycleroute" percent="55" /> </properties> <restrictions> - <oneway obey="0" /> - <turns obey="0" /> + <oneway obey="0" /> + <turns obey="0" /> <weight limit="0.0" /> <height limit="0.0" /> <width limit="0.0" /> @@ -176,7 +176,7 @@ <speed highway="track" kph="20" /> <speed highway="cycleway" kph="20" /> <speed highway="path" kph="20" /> - <speed highway="steps" kph="0" /> + <speed highway="steps" kph="4" /> <speed highway="ferry" kph="10" /> </speeds> <preferences> @@ -191,7 +191,7 @@ <preference highway="track" percent="90" /> <preference highway="cycleway" percent="100" /> <preference highway="path" percent="90" /> - <preference highway="steps" percent="0" /> + <preference highway="steps" percent="50" /> <preference highway="ferry" percent="20" /> </preferences> <properties> @@ -203,8 +203,8 @@ <property type="bicycleroute" percent="60" /> </properties> <restrictions> - <oneway obey="1" /> - <turns obey="1" /> + <oneway obey="1" /> + <turns obey="1" /> <weight limit="0.0" /> <height limit="0.0" /> <width limit="0.0" /> @@ -252,8 +252,8 @@ <property type="bicycleroute" percent="50" /> </properties> <restrictions> - <oneway obey="1" /> - <turns obey="1" /> + <oneway obey="1" /> + <turns obey="1" /> <weight limit="0.0" /> <height limit="0.0" /> <width limit="0.0" /> @@ -301,8 +301,8 @@ <property type="bicycleroute" percent="50" /> </properties> <restrictions> - <oneway obey="1" /> - <turns obey="1" /> + <oneway obey="1" /> + <turns obey="1" /> <weight limit="0.0" /> <height limit="0.0" /> <width limit="0.0" /> @@ -350,8 +350,8 @@ <property type="bicycleroute" percent="45" /> </properties> <restrictions> - <oneway obey="1" /> - <turns obey="1" /> + <oneway obey="1" /> + <turns obey="1" /> <weight limit="0.0" /> <height limit="0.0" /> <width limit="0.0" /> @@ -399,8 +399,8 @@ <property type="bicycleroute" percent="45" /> </properties> <restrictions> - <oneway obey="1" /> - <turns obey="1" /> + <oneway obey="1" /> + <turns obey="1" /> <weight limit="5.0" /> <height limit="2.5" /> <width limit="2.0" /> @@ -448,8 +448,8 @@ <property type="bicycleroute" percent="45" /> </properties> <restrictions> - <oneway obey="1" /> - <turns obey="1" /> + <oneway obey="1" /> + <turns obey="1" /> <weight limit="10.0" /> <height limit="3.0" /> <width limit="2.5" /> @@ -497,8 +497,8 @@ <property type="bicycleroute" percent="45" /> </properties> <restrictions> - <oneway obey="1" /> - <turns obey="1" /> + <oneway obey="1" /> + <turns obey="1" /> <weight limit="15.0" /> <height limit="3.0" /> <width limit="2.5" /> diff -ur routino-3.4.1.orig/xml/routino-tagging.xml routino-3.4.1/xml/routino-tagging.xml --- routino-3.4.1.orig/xml/routino-tagging.xml 2023-05-30 19:36:42.000000000 +0200 +++ routino-3.4.1/xml/routino-tagging.xml 2024-01-08 16:17:58.146661889 +0100 @@ -112,7 +112,6 @@ </if> <if k="barrier" v="cycle_barrier"> - <output k="bicycle" v="no"/> <set v="no_motorised"/> </if> @@ -170,8 +169,11 @@ <if v="true" > <set v="yes"/> </if> <if v="public" > <set v="yes"/> </if> <if v="official" > <set v="yes"/> </if> + <if v="dismount" > <set v="yes"/> </if> + <if v="optional_sidepath" > <set v="yes"/> </if> - <if v="destination" > <set v="no"/> </if> + + <if v="destination" > <set v="yes"/> </if> <if v="permit" > <set v="no"/> </if> <if v="customer" > <set v="no"/> </if> <if v="customers" > <set v="no"/> </if> @@ -566,7 +568,8 @@ <set k="highway" v="path"/> <output k="horse" v="yes"/> - <output k="bicycle" v="yes"/> + <output k="bicycle" v="no"/> + <output k="foot" v="no"/> </if> <if k="highway" v="pedestrian"> @@ -695,13 +698,15 @@ <!-- Normalisation of access tag values --> - <if v="designated" > <set v="yes"/> </if> - <if v="permissive" > <set v="yes"/> </if> - <if v="true" > <set v="yes"/> </if> - <if v="public" > <set v="yes"/> </if> - <if v="official" > <set v="yes"/> </if> + <if v="designated" > <set v="yes"/> </if> + <if v="permissive" > <set v="yes"/> </if> + <if v="true" > <set v="yes"/> </if> + <if v="public" > <set v="yes"/> </if> + <if v="official" > <set v="yes"/> </if> + <if v="dismount" > <set v="yes"/> </if> + <if v="optional_sidepath" > <set v="yes"/> </if> - <if v="destination" > <set v="no"/> </if> + <if v="destination" > <set v="yes"/> </if> <if v="permit" > <set v="no"/> </if> <if v="customer" > <set v="no"/> </if> <if v="customers" > <set v="no"/> </if> @@ -889,14 +894,73 @@ <if k="sidewalk" v="separate"> <output k="foot" v="yes"/> <output k="wheelchair" v="yes"/> </if> </if> + <if k="bicycle_road" v="yes"> <output k="bicycle" v="yes"/> </if> + + <if k="cycleway:left"> + + <!-- Tags from http://taginfo.openstreetmap.org/keys/cycleway#values on 2020-11-15 --> + + <if k="cycleway:left" v="lane"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:left" v="track"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:left" v="separate"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:left" v="shared_lane"> <output k="bicycle" v="yes"/></if> + <if k="cycleway:left" v="shared"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:left" v="crossing"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:left" v="yes"> <output k="bicycle" v="yes"/> </if> + + <if k="cycleway:left" v="opposite_lane"> + <output k="bicycle" v="yes"/> + <output k="cyclebothways" v="yes"/> + </if> + + <if k="cycleway:left" v="opposite_track"> + <output k="bicycle" v="yes"/> + <output k="cyclebothways" v="yes"/> + </if> + + <if k="cycleway:left" v="opposite"> + <output k="bicycle" v="yes"/> + <output k="cyclebothways" v="yes"/> + </if> + </if> + + <if k="cycleway:right"> + + <!-- Tags from http://taginfo.openstreetmap.org/keys/cycleway#values on 2020-11-15 --> + + <if k="cycleway:right" v="lane"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:right" v="track"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:right" v="separate"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:right" v="shared_lane"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:right" v="shared"> <output k="bicycle" v="yes"/></if> + <if k="cycleway:right" v="crossing"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway:right" v="yes"> <output k="bicycle" v="yes"/> </if> + + <if k="cycleway:right" v="opposite_lane"> + <output k="bicycle" v="yes"/> + <output k="cyclebothways" v="yes"/> + </if> + + <if k="cycleway:right" v="opposite_track"> + <output k="bicycle" v="yes"/> + <output k="cyclebothways" v="yes"/> + </if> + + <if k="cycleway:right" v="opposite"> + <output k="bicycle" v="yes"/> + <output k="cyclebothways" v="yes"/> + </if> + </if> + <if k="cycleway"> <!-- Tags from http://taginfo.openstreetmap.org/keys/cycleway#values on 2020-11-15 --> <if k="cycleway" v="lane"> <output k="bicycle" v="yes"/> </if> <if k="cycleway" v="track"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway" v="separate"> <output k="bicycle" v="yes"/> </if> <if k="cycleway" v="shared_lane"> <output k="bicycle" v="yes"/> </if> - <if k="cycleway" v="opposite"> <output k="bicycle" v="yes"/> </if> + <if k="cycleway" v="shared"> <output k="bicycle" v="yes"/> </if> <if k="cycleway" v="crossing"> <output k="bicycle" v="yes"/> </if> <if k="cycleway" v="yes"> <output k="bicycle" v="yes"/> </if> @@ -921,6 +985,11 @@ <output k="cyclebothways" v="yes"/> </if> + <if k="oneway:bicycle" v="yes"> + <output k="bicycle" v="yes"/> + </if> + + <!-- Access restrictions for classes of transport types (to subtract from highway specific defaults and other access permissions) --> <if k="vehicle">
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor