Changeset 7998 in josm for trunk/data
- Timestamp:
- 2015-02-02T17:29:58+01:00 (10 years ago)
- Location:
- trunk/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r7997 r7998 313 313 <preset_link preset_name="Contact (Common Schema)" /> 314 314 </chunk> 315 <chunk id="link_address"> 316 <preset_link preset_name="Addresses" /> 317 </chunk> 315 318 <!-- Groups --> 316 319 <group name="Highways" icon="presets/way_secondary.png"> … … 2218 2221 </optional> 2219 2222 </item> <!-- Cable Car --> 2220 2223 <item name="Chair Lift" icon="presets/chair_lift.png" type="way" preset_name_label="true"> 2221 2224 <link href="http://wiki.openstreetmap.org/wiki/Tag:aerialway=chair_lift" 2222 2225 fr.href="http://wiki.openstreetmap.org/wiki/FR:Tag:aerialway=chair_lift" /> … … 3462 3465 <key key="amenity" value="cinema" /> 3463 3466 <reference ref="name_operator_oh" /> 3467 <combo key="wheelchair" text="Wheelchair" values="no,limited,yes" /> 3468 <check key="drive_in" text="Drive-in theater" /> 3469 <check key="cinema:3D" text="3D" /> 3470 <text key="screen" text="Number of screens" /> 3471 <text key="min_age" text="Minimum age" /> 3472 <reference ref="link_address" /> 3464 3473 <reference ref="link_contact" /> 3465 3474 </item> <!-- Movie Theater/Cinema --> … … 6315 6324 </item> <!-- Pawnbroker --> 6316 6325 </group> <!-- Cash --> 6317 <group name="Home decoration" icon="styles/standard/shop/interior_decoration.svg"> 6326 <group name="Home decoration" icon="styles/standard/shop/interior_decoration.svg"> 6318 6327 <item name="Furniture" icon="styles/standard/shop/furniture.png" type="node,closedway" preset_name_label="true"> 6319 6328 <link href="http://wiki.openstreetmap.org/wiki/Tag:shop=furniture" -
trunk/data/validator/numeric.mapcss
r7937 r7998 141 141 } 142 142 143 /* lanes* must be an integer positive number only, see #10837 */ 144 way[highway][lanes][lanes !~ /^[1-9]([0-9]*)$/], 145 way[highway]["lanes:backward"]["lanes:backward" !~ /^[1-9]([0-9]*)$/], 146 way[highway]["lanes:forward"]["lanes:forward" !~ /^[1-9]([0-9]*)$/] { 147 throwError: tr("{0} must be a positive integer number", "{1.key}"); 143 /* must be an integer positive number only and not 0, see #10837 (lanes), #11055 (screen) */ 144 way[lanes][lanes !~ /^[1-9]([0-9]*)$/][highway], 145 way["lanes:backward"]["lanes:backward" !~ /^[1-9]([0-9]*)$/][highway], 146 way["lanes:forward"]["lanes:forward" !~ /^[1-9]([0-9]*)$/][highway], 147 *[screen][screen !~ /^[1-9]([0-9]*)$/][amenity=cinema] { 148 throwError: tr("{0} must be a positive integer number", "{0.key}"); 148 149 assertMatch: "way highway=residential lanes=-1"; 149 150 assertMatch: "way highway=residential lanes=5.5"; … … 152 153 assertMatch: "way highway=residential lanes:backward=-1"; 153 154 assertNoMatch: "way highway=residential lanes=1"; 155 assertMatch: "node amenity=cinema screen=led"; 156 assertNoMatch: "node amenity=cinema screen=8"; 154 157 }
Note:
See TracChangeset
for help on using the changeset viewer.