Changeset 3913 in josm for trunk


Ignore:
Timestamp:
2011-02-19T11:21:15+01:00 (14 years ago)
Author:
stoecker
Message:

fix #5645 - fire hydrant preset

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r3890 r3913  
    25432543        </item>
    25442544        <item name="Fire Hydrant" icon="presets/fire_hydrant.png" type="node">
    2545             <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=fire hydrant"
    2546                   fi.href="http://wiki.openstreetmap.org/wiki/Fi:Tag:fire hydrant" />
     2545            <link href="http://wiki.openstreetmap.org/wiki/Tag:emergency=fire_hydrant"
     2546                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:emergency=fire_hydrant" />
    25472547            <label text="Edit Fire Hydrant" />
    2548             <key key="amenity" value="fire_hydrant" />
     2548            <key key="emergency" value="fire_hydrant" />
     2549            <combo key="fire_hydrant:type" text="Type" values="underground,pillar,wall,pond" values_context="pipeline" default="pillar" delete_if_empty="true" />
     2550            <combo key="fire_hydrant:diameter" text="Diameter" values="50,80,100,150,200,250,300,400" default="" delete_if_empty="true" />
     2551            <space />
     2552            <text key="name" text="Name" default="" delete_if_empty="true" />
     2553            <text key="ref" text="Reference" default="" delete_if_empty="true" />
     2554            <text key="operator" text="Operator" default="" delete_if_empty="true" />
     2555            <space />
     2556            <combo key="fire_hydrant:position" text="Position" values="lane,parking_lot,sidewalk,green" default="" delete_if_empty="true" />
     2557            <combo key="fire_hydrant:pressure" text="Pressure" values="xx l/min,suction" default="" delete_if_empty="true" />
     2558            <text key="fire_hydrant:count" text="Count" values="" default="" delete_if_empty="true" />
    25492559        </item>
    25502560    </group> <!-- Facilities -->
  • trunk/styles/standard/elemstyles.xml

    r3901 r3913  
    20362036
    20372037        <rule>
    2038                 <condition k="amenity" v="fire_hydrant"/>
    2039                 <area colour="amenity_light#f7efb7"/>
     2038                <condition k="emergency" v="fire_hydrant"/>
    20402039                <icon annotate="true" src="service/fire_hydrant.png"/>
    20412040        </rule>
Note: See TracChangeset for help on using the changeset viewer.