[16520] | 1 | <accessRuleset>
|
---|
| 2 |
|
---|
| 3 | <classes>
|
---|
| 4 | <class name="access">
|
---|
| 5 | <class name="foot"/>
|
---|
| 6 | <class name="horse"/>
|
---|
| 7 | <class name="vehicle">
|
---|
| 8 | <class name="bicycle" />
|
---|
| 9 | <class name="carriage" />
|
---|
| 10 | <class name="motor_vehicle">
|
---|
| 11 | <class name="motorcycle">
|
---|
| 12 | <class name="moped"/>
|
---|
| 13 | </class>
|
---|
| 14 | <class name="motorcar">
|
---|
| 15 | <class name="caravan"/>
|
---|
| 16 | <class name="goods"/>
|
---|
| 17 | <class name="hgv"/>
|
---|
| 18 | <class name="psv"/>
|
---|
| 19 | <class name="agricultural"/>
|
---|
| 20 | <class name="emergency"/>
|
---|
| 21 | <class name="hazmat"/>
|
---|
| 22 | </class>
|
---|
| 23 | <class name="motorboat"/>
|
---|
| 24 | <class name="boat"/>
|
---|
| 25 | </class>
|
---|
| 26 | <class name="bicycle" />
|
---|
| 27 | </class>
|
---|
| 28 | </class>
|
---|
| 29 | </classes>
|
---|
| 30 |
|
---|
| 31 | <basetags>
|
---|
| 32 | <tag k="highway" v="motorway"/>
|
---|
| 33 | <tag k="highway" v="motorway_link"/>
|
---|
| 34 | <tag k="highway" v="trunk"/>
|
---|
| 35 | <tag k="highway" v="trunk_link"/>
|
---|
| 36 | <tag k="highway" v="primary"/>
|
---|
| 37 | <tag k="highway" v="primary_link"/>
|
---|
| 38 | <tag k="highway" v="secondary"/>
|
---|
| 39 | <tag k="highway" v="secondary_link"/>
|
---|
| 40 | <tag k="highway" v="tertiary"/>
|
---|
| 41 | <tag k="highway" v="unclassified"/>
|
---|
| 42 | <tag k="highway" v="road"/>
|
---|
| 43 | <tag k="highway" v="residential"/>
|
---|
| 44 | <tag k="highway" v="living_street"/>
|
---|
| 45 | <tag k="highway" v="service"/>
|
---|
| 46 | <tag k="highway" v="track"/>
|
---|
| 47 | <tag k="highway" v="pedestrian"/>
|
---|
| 48 | <tag k="highway" v="path"/>
|
---|
| 49 | <tag k="highway" v="cycleway"/>
|
---|
| 50 | <tag k="highway" v="footway"/>
|
---|
| 51 | <tag k="highway" v="bridleway"/>
|
---|
| 52 | <tag k="highway" v="byway"/>
|
---|
| 53 | <tag k="highway" v="steps"/>
|
---|
| 54 | <tag k="highway" v="platform"/>
|
---|
| 55 | <tag k="railway" v="platform"/>
|
---|
| 56 | </basetags>
|
---|
| 57 |
|
---|
| 58 | <implications>
|
---|
| 59 |
|
---|
| 60 | <!-- implications based on
|
---|
| 61 | http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access-Restrictions
|
---|
| 62 | section Default -->
|
---|
| 63 |
|
---|
| 64 | <implication>
|
---|
| 65 | <condition>
|
---|
| 66 | <tag k="highway" v="motorway" />
|
---|
| 67 | </condition>
|
---|
| 68 | <implies>
|
---|
| 69 | <tag k="access" v="designated"/>
|
---|
| 70 | <tag k="moped" v="no"/>
|
---|
| 71 | <tag k="horse" v="no"/>
|
---|
| 72 | <tag k="bicycle" v="no"/>
|
---|
| 73 | <tag k="foot" v="no"/>
|
---|
| 74 | </implies>
|
---|
| 75 | </implication>
|
---|
| 76 | <implication>
|
---|
| 77 | <condition>
|
---|
| 78 | <or>
|
---|
| 79 | <tag k="highway" v="trunk" />
|
---|
| 80 | <tag k="highway" v="primary" />
|
---|
| 81 | <tag k="highway" v="secondary" />
|
---|
| 82 | <tag k="highway" v="tertiary" />
|
---|
| 83 | <tag k="highway" v="unclassified" />
|
---|
| 84 | <tag k="highway" v="residential" />
|
---|
| 85 | <tag k="highway" v="living_street" />
|
---|
| 86 | <tag k="highway" v="road" />
|
---|
| 87 | </or>
|
---|
| 88 | </condition>
|
---|
| 89 | <implies>
|
---|
| 90 | <tag k="access" v="yes"/>
|
---|
| 91 | </implies>
|
---|
| 92 | </implication>
|
---|
| 93 |
|
---|
| 94 | <implication>
|
---|
| 95 | <condition>
|
---|
| 96 | <tag k="highway" v="pedestrian" />
|
---|
| 97 | </condition>
|
---|
| 98 | <implies>
|
---|
| 99 | <tag k="access" v="no"/>
|
---|
| 100 | <tag k="foot" v="yes"/>
|
---|
| 101 | </implies>
|
---|
| 102 | </implication>
|
---|
| 103 | <implication>
|
---|
| 104 | <condition>
|
---|
| 105 | <tag k="highway" v="path" />
|
---|
| 106 | </condition>
|
---|
| 107 | <implies>
|
---|
| 108 | <tag k="access" v="no"/>
|
---|
| 109 | <tag k="horse" v="yes"/>
|
---|
| 110 | <tag k="bicycle" v="yes"/>
|
---|
| 111 | <tag k="foot" v="yes"/>
|
---|
| 112 | </implies>
|
---|
| 113 | </implication>
|
---|
| 114 |
|
---|
| 115 | <implication>
|
---|
| 116 | <condition>
|
---|
| 117 | <tag k="highway" v="bridleway" />
|
---|
| 118 | </condition>
|
---|
| 119 | <implies>
|
---|
| 120 | <tag k="access" v="no"/>
|
---|
| 121 | <tag k="horse" v="designated"/>
|
---|
| 122 | </implies>
|
---|
| 123 | </implication>
|
---|
| 124 | <implication>
|
---|
| 125 | <condition>
|
---|
| 126 | <tag k="highway" v="cycleway" />
|
---|
| 127 | </condition>
|
---|
| 128 | <implies>
|
---|
| 129 | <tag k="access" v="no"/>
|
---|
| 130 | <tag k="bicycle" v="designated"/>
|
---|
| 131 | </implies>
|
---|
| 132 | </implication>
|
---|
| 133 | <implication>
|
---|
| 134 | <condition>
|
---|
| 135 | <tag k="highway" v="footway" />
|
---|
| 136 | </condition>
|
---|
| 137 | <implies>
|
---|
| 138 | <tag k="access" v="no"/>
|
---|
| 139 | <tag k="foot" v="designated"/>
|
---|
| 140 | </implies>
|
---|
| 141 | </implication>
|
---|
| 142 |
|
---|
| 143 | <!-- barriers -->
|
---|
| 144 |
|
---|
| 145 | <implication>
|
---|
| 146 | <condition>
|
---|
| 147 | <key k="barrier" />
|
---|
| 148 | </condition>
|
---|
| 149 | <implies>
|
---|
| 150 | <tag k="access" v="no" />
|
---|
| 151 | </implies>
|
---|
| 152 | </implication>
|
---|
| 153 |
|
---|
| 154 | <implication>
|
---|
| 155 | <condition>
|
---|
| 156 | <tag k="barrier" v="bollard" />
|
---|
| 157 | </condition>
|
---|
| 158 | <implies>
|
---|
| 159 | <tag k="foot" v="yes" />
|
---|
| 160 | <tag k="bicycle" v="yes" />
|
---|
| 161 | </implies>
|
---|
| 162 | </implication>
|
---|
| 163 |
|
---|
| 164 | <!-- direct implications -->
|
---|
| 165 |
|
---|
| 166 | <implication>
|
---|
| 167 | <condition>
|
---|
| 168 | <tag k="highway" v="motorway" />
|
---|
| 169 | </condition>
|
---|
| 170 | <implies>
|
---|
| 171 | <tag k="oneway" v="yes" />
|
---|
| 172 | </implies>
|
---|
| 173 | </implication>
|
---|
| 174 |
|
---|
| 175 | <implication>
|
---|
| 176 | <condition>
|
---|
| 177 | <tag k="highway" v="motorway_link" />
|
---|
| 178 | </condition>
|
---|
| 179 | <implies>
|
---|
| 180 | <tag k="oneway" v="yes" />
|
---|
| 181 | </implies>
|
---|
| 182 | </implication>
|
---|
| 183 |
|
---|
| 184 | <implication>
|
---|
| 185 | <condition>
|
---|
| 186 | <tag k="junction" v="roundabout" />
|
---|
| 187 | </condition>
|
---|
| 188 | <implies>
|
---|
| 189 | <tag k="oneway" v="yes"/>
|
---|
| 190 | </implies>
|
---|
| 191 | </implication>
|
---|
| 192 |
|
---|
| 193 | <implication>
|
---|
| 194 | <condition>
|
---|
| 195 | <tag k="highway" v="steps" />
|
---|
| 196 | </condition>
|
---|
| 197 | <implies>
|
---|
| 198 | <tag k="access" v="no"/>
|
---|
| 199 | <tag k="foot" v="yes"/>
|
---|
| 200 | </implies>
|
---|
| 201 | </implication>
|
---|
| 202 |
|
---|
| 203 | </implications>
|
---|
| 204 |
|
---|
| 205 | </accessRuleset>
|
---|