Ticket #5645: emergenecy_fire_hydrant.patch

File emergenecy_fire_hydrant.patch, 2.4 KB (added by cmuelle8, 12 years ago)
  • data/defaultpresets.xml

     
    25092509            <text key="name" text="Name" default="" delete_if_empty="true" />
    25102510        </item>
    25112511        <item name="Fire Hydrant" icon="presets/fire_hydrant.png" type="node">
    2512             <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=fire hydrant"
    2513                   fi.href="http://wiki.openstreetmap.org/wiki/Fi:Tag:fire hydrant" />
     2512            <link href="http://wiki.openstreetmap.org/wiki/Tag:emergency=fire_hydrant"
     2513                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:emergency=fire_hydrant" />
    25142514            <label text="Edit Fire Hydrant" />
    2515             <key key="amenity" value="fire_hydrant" />
     2515            <key key="emergency" value="fire_hydrant" />
     2516            <combo key="fire_hydrant:type" text="Type" values="underground,pillar,wall,pond" values_context="pipeline" default="pillar" delete_if_empty="true" />
     2517            <combo key="fire_hydrant:diameter" text="Diameter" values="50,80,100,150,200,250,300,400" default="" delete_if_empty="true" />
     2518            <space />
     2519            <text key="name" text="Name" default="" delete_if_empty="true" />
     2520            <text key="ref" text="Reference" default="" delete_if_empty="true" />
     2521            <text key="operator" text="Operator" default="" delete_if_empty="true" />
     2522            <space />
     2523            <combo key="fire_hydrant:position" text="Position" values="lane,parking_lot,sidewalk,green" default="" delete_if_empty="true" />
     2524            <combo key="fire_hydrant:pressure" text="Pressure" values="xx l/min,suction" default="" delete_if_empty="true" />
     2525            <text key="fire_hydrant:count" text="Count" values="" default="" delete_if_empty="true" />
    25162526        </item>
    25172527    </group> <!-- Facilities -->
    25182528  </group>  <!-- Facilities -->
  • styles/standard/elemstyles.xml

     
    20352035        </rule>
    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>
    20422041