Changeset 8402 in josm


Ignore:
Timestamp:
2015-05-20T18:25:37+02:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #11347 - add waterway=fuel to preset and mappaint style (modified patch by brycenesbitt)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8396 r8402  
    20652065            <combo key="sanitary_dump_station" text="Dump Station" values="yes,public,customers,no" />
    20662066        </item> <!-- Marina -->
     2067        <item name="Marine Fuel" icon="styles/standard/nautical/nautical/marine_fuel.png" type="node,closedway" preset_name_label="true">
     2068            <link href="http://wiki.openstreetmap.org/wiki/Tag:waterway=fuel"/>
     2069            <space />
     2070            <key key="waterway" value="fuel" />
     2071            <optional>
     2072                <combo key="brand" text="Brand" values="Agip,Aral,Avia,BP,Chevron,Citgo,Eni,Esso,Exxon,Gulf,Mobil,OMV,Petro-Canada,Pioneer,Q8,Repsol,Shell,Socar,Statoil,Sunoco,Tamoil,Texaco,Total,Independent" values_searchable="true" />
     2073                <reference ref="name_operator" />
     2074                <reference ref="oh" />
     2075                <space />
     2076                <label text="Fuel types:" />
     2077                <checkgroup columns="2">
     2078                    <check key="fuel:diesel" text="Diesel" />
     2079                    <check key="fuel:biodiesel" text="Bio Diesel" />
     2080                    <check key="fuel:octane_80" text="Octane 80" />
     2081                    <check key="fuel:octane_91" text="Octane 91" />
     2082                    <check key="fuel:octane_92" text="Octane 92" />
     2083                    <check key="fuel:octane_95" text="Octane 95" />
     2084                    <check key="fuel:octane_98" text="Octane 98" />
     2085                    <check key="fuel:octane_100" text="Octane 100" />
     2086                    <check key="fuel:e10" text="E10 (10% Ethanol mix)" />
     2087                    <check key="fuel:e85" text="E85 (85% Ethanol mix)" />
     2088                    <check key="fuel:lpg" text="LPG (Liquefied petroleum gas)" />
     2089                    <check key="fuel:cng" text="CNG (Compressed Natural Gas)" />
     2090                </checkgroup>
     2091            </optional>
     2092            <reference ref="link_contact_address_payment" />
     2093        </item> <!-- Marine Fuel -->
    20672094        <item name="Pier" icon="presets/pier.png" type="node,way,closedway" preset_name_label="true">
    20682095            <link href="http://wiki.openstreetmap.org/wiki/Tag:man_made=pier"
  • trunk/styles/standard/elemstyles.mapcss

    r8383 r8402  
    41324132    text: auto;
    41334133}
     4134area[waterway=fuel] {
     4135    fill-color: amenity_traffic#f7efb7;
     4136}
     4137node[waterway=fuel] {
     4138    icon-image: "nautical/marine_fuel.png";
     4139    icon-width: 16;
     4140    set icon_z17;
     4141    text: auto;
     4142}
    41344143way[waterway=weir] {
    41354144    width: 2;
Note: See TracChangeset for help on using the changeset viewer.