- Timestamp:
- 2015-11-21T18:12:08+01:00 (9 years ago)
- Location:
- trunk/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r9049 r9050 7702 7702 <key key="boundary" value="administrative" /> 7703 7703 <text key="name" text="Name" /> 7704 <combo key="admin_level" text="Administrative level" values="1,2,3,4,5,6,7,8,9,10 " />7704 <combo key="admin_level" text="Administrative level" values="1,2,3,4,5,6,7,8,9,10,11" /> 7705 7705 <check key="maritime" text="Maritime" disable_off="true" /> 7706 7706 </item> <!-- Administrative --> … … 8867 8867 <combo key="boundary" text="Boundary type" values="administrative,maritime,national_park,political,postal_code,protected_area" values_searchable="true" /> 8868 8868 <optional> 8869 <combo key="admin_level" text="Administrative level" values="1,2,3,4,5,6,7,8,9,10 " />8869 <combo key="admin_level" text="Administrative level" values="1,2,3,4,5,6,7,8,9,10,11" /> 8870 8870 </optional> 8871 8871 <roles> -
trunk/data/validator/ignoretags.cfg
r9047 r9050 39 39 E:loc_name 40 40 E:attribution 41 E:admin_level42 41 E:heritage 43 42 E:old_name … … 94 93 K:bicycle=dismount 95 94 K:wall=no 95 K:man_made=petroleum_well 96 96 ; 97 97 ; Highway Key/Value Pairs -
trunk/data/validator/numeric.mapcss
r8725 r9050 175 175 assertNoMatch: "node amenity=cinema screen=8"; 176 176 } 177 *[admin_level][admin_level !~ /^(1|2|3|4|5|6|7|8|9|10|11|12)$/] { 178 throwWarning: tr("unusual value of {0}", "admin_level"); 179 assertMatch: "node admin_level=0"; 180 assertMatch: "node admin_level=-1"; 181 assertMatch: "node admin_level=13"; 182 assertNoMatch: "node admin_level=5"; 183 }
Note:
See TracChangeset
for help on using the changeset viewer.