Changeset 15307 in josm for trunk/data


Ignore:
Timestamp:
2019-08-20T21:36:24+02:00 (6 years ago)
Author:
Klumbumbus
Message:

fix #17950 - add police=* preset (Non-public police facility) (icon derived from internal police icon, which was resized as well, CC0 and PD licensed) and warn about police=yes and police=* together with amenity=police

Location:
trunk/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15305 r15307  
    47044704            </optional>
    47054705        </item> <!-- Entrance -->
     4706        <item name="Non-public police facility" icon="presets/service/police_non_public.svg" type="node,closedway,multipolygon" preset_name_label="true">
     4707            <link wiki="Key:police" />
     4708            <space />
     4709            <combo key="police" text="Type" values="barracks,car_pound,checkpoint,detention,naval_base,offices,range,storage,training_area,yes" values_context="police" match="keyvalue!" values_searchable="true" />
     4710            <optional>
     4711                <text key="name" text="Name" />
     4712                <text key="operator" text="Operator" />
     4713            </optional>
     4714        </item> <!-- Non-public police facility -->
    47064715        <item name="Tower" icon="presets/landmark/tower.svg" type="node,closedway" preset_name_label="true">
    47074716            <link wiki="Tag:man_made=tower" />
  • trunk/data/validator/combinations.mapcss

    r15286 r15307  
    259259}
    260260
    261 /* {0.tag} together with {1.tag}, see #17330, #17623, #17592, #17594, #17542, #16861, #16147, #10186 */
     261/* {0.tag} together with {1.tag}, see #17950, #17330, #17623, #17592, #17594, #17542, #16861, #16147, #10186 */
     262*[amenity=police][police],
    262263node[highway=crossing][crossing=no],
    263264node[railway=crossing][crossing=no],
  • trunk/data/validator/deprecated.mapcss

    r15273 r15307  
    458458}
    459459
    460 /* see #10661, #10837, #11737, #12771 */
     460/* see #17950, #10661, #10837, #11737, #12771 */
     461*[police=yes],
    461462*[traffic_calming=yes],
    462463*[access=restricted],
Note: See TracChangeset for help on using the changeset viewer.