Changeset 18264 in josm for trunk/resources


Ignore:
Timestamp:
2021-10-10T00:48:33+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21398 - Update power plant related preset (patch by skyper)

  • add power=heliostat to preset and style
  • add a new group for power=plant with a general preset and one for each plant:source
    • multiselect with icons plant:source for general preset but no plant:method
    • correct plant:method per plant:source in individual plant presets
  • match="none" to generator:method with only one value in power:generator presets, to have working presets links without generator:method
    • move the wiki links of power:generator up, to follow common practice.
Location:
trunk/resources
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r18259 r18264  
    415415            <reference ref="voltage_frequency" />
    416416        </optional>
     417    </chunk>
     418    <chunk id="power_plant">
     419        <key key="power" value="plant" />
     420        <reference ref="name_ref_operator" />
     421        <text key="start_date" text="Start date" />
     422        <optional text="Output forms of energy (optional):">
     423            <combo key="plant:output:electricity" text="electricity" values="yes,2 W,3 kW,5 MW,7 GW" />
     424            <combo key="plant:output:hot_water" text="hot water" values="yes,2 W,3 kW,5 MW,7 GW" />
     425            <combo key="plant:output:hot_air" text="hot air" values="yes,2 W,3 kW,5 MW,7 GW" />
     426            <combo key="plant:output:cold_water" text="cold water" values="yes,2 W,3 kW,5 MW,7 GW" />
     427            <combo key="plant:output:cold_air" text="cold air" values="yes,2 W,3 kW,5 MW,7 GW" />
     428            <combo key="plant:output:compressed_air" text="compressed air" values="yes,2 W,3 kW,5 MW,7 GW" />
     429            <combo key="plant:output:steam" text="steam" values="yes,2 W,3 kW,5 MW,7 GW" />
     430            <combo key="plant:output:vacuum" text="vacuum" values="yes,2 W,3 kW,5 MW,7 GW" />
     431        </optional>
     432    </chunk>
     433    <chunk id="power_source_values">
    417434    </chunk>
    418435    <chunk id="power_pole">
     
    61806197    </group> <!-- Military -->
    61816198    <group name="Power" icon="presets/power/power.svg">
    6182         <item name="Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
    6183             <link wiki="Tag:power=plant" />
    6184             <space />
    6185             <key key="power" value="plant" />
    6186             <reference ref="name_ref_operator" />
    6187             <text key="start_date" text="Start date" />
    6188             <optional text="Output forms of energy (optional):">
    6189                 <combo key="plant:output:electricity" text="electricity" values="yes,2 W,3 kW,5 MW,7 GW" />
    6190                 <combo key="plant:output:hot_water" text="hot water" values="yes,2 W,3 kW,5 MW,7 GW" />
    6191                 <combo key="plant:output:hot_air" text="hot air" values="yes,2 W,3 kW,5 MW,7 GW" />
    6192                 <combo key="plant:output:cold_water" text="cold water" values="yes,2 W,3 kW,5 MW,7 GW" />
    6193                 <combo key="plant:output:cold_air" text="cold air" values="yes,2 W,3 kW,5 MW,7 GW" />
    6194                 <combo key="plant:output:compressed_air" text="compressed air" values="yes,2 W,3 kW,5 MW,7 GW" />
    6195                 <combo key="plant:output:steam" text="steam" values="yes,2 W,3 kW,5 MW,7 GW" />
    6196                 <combo key="plant:output:vacuum" text="vacuum" values="yes,2 W,3 kW,5 MW,7 GW" />
    6197                 <space />
    6198                 <combo key="plant:source" text="Plant source" values="biofuel,biogas,biomass,coal,diesel,gas,gasoline,geothermal,hydro,nuclear,oil,osmotic,solar,tidal,waste,wave,wind" />
    6199             </optional>
    6200         </item> <!-- Power Plant -->
     6199        <group name="Power Plant" icon="presets/power/plant.svg">
     6200            <item name="Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6201              <!-- FIXME, following does not work: match_expression="power=plant !(plant:source=biofuel|plant:source=biogas|plant:source=biomass|plant:source=coal|plant:source=diesel|plant:source=gas|plant:source=gasoline|plant:source=geothermal|plant:source=hydro|plant:source=nuclear|plant:source=oil|plant:source=osmotic|plant:source=solar|plant:source=tidal|plant:source=waste|plant:source=wave|plant:source=wind)" -->
     6202                <link wiki="Tag:power=plant" />
     6203                <space />
     6204                <reference ref="power_plant" />
     6205                <multiselect key="plant:source" text="Plant source" values_searchable="true" values_sort="false">
     6206                    <list_entry value="biofuel" display_value="Biofuel" icon="presets/power/power_source-biofuel.svg" />
     6207                    <list_entry value="oil" display_value="Oil" icon="presets/power/power_source-oil.svg" />
     6208                    <list_entry value="diesel" display_value="Diesel" icon="presets/power/power_source-oil.svg" />
     6209                    <list_entry value="gasoline" display_value="Gasoline" icon="presets/power/power_source-oil.svg" />
     6210                    <list_entry value="biogas" display_value="Biogas" icon="presets/power/power_source-biofuel.svg" />
     6211                    <list_entry value="gas" display_value="Gas" icon="presets/power/power_source-gas.svg" />
     6212                    <list_entry value="biomass" display_value="Biomass" icon="presets/power/power_source-biofuel.svg" />
     6213                    <list_entry value="waste" display_value="Waste" icon="presets/power/power_source-waste.svg" />
     6214                    <list_entry value="coal" display_value="Coal" icon="presets/power/power_source-coal.svg" />
     6215                    <list_entry value="nuclear" display_value="Nuclear" icon="presets/power/power_source-nuclear.svg" />
     6216                    <list_entry value="geothermal" display_value="Geothermal" icon="presets/power/power_source-geothermal.svg" />
     6217                    <list_entry value="hydro" display_value="Hygro" icon="presets/power/power_source-water.svg" />
     6218                    <list_entry value="osmotic" display_value="Osmotic" icon="presets/power/power_source-water.svg" />
     6219                    <list_entry value="tidal" display_value="Tidal" icon="presets/power/power_source-water.svg" />
     6220                    <list_entry value="wave" display_value="Wave" icon="presets/power/power_source-water.svg" />
     6221                    <list_entry value="solar" display_value="Solar" icon="presets/power/power_source-sun.svg" />
     6222                    <list_entry value="wind" display_value="Wind" icon="presets/power/power_source-wind.svg" />
     6223                </multiselect>
     6224            </item> <!-- Power Plant -->
     6225            <separator/>
     6226            <item name="Biofuel Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6227                <link wiki="Tag:power=plant" />
     6228                <key key="plant:source" value="biofuel" />
     6229                <key key="plant:method" value="combustion" match="none" />
     6230                <space />
     6231                <reference ref="power_plant" />
     6232            </item> <!-- Biofuel Power Plant -->
     6233            <item name="Biogas Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6234                <link wiki="Tag:power=plant" />
     6235                <key key="plant:source" value="biogas" />
     6236                <key key="plant:method" value="combustion" match="none" />
     6237                <space />
     6238                <reference ref="power_plant" />
     6239            </item> <!-- Biogas Power Plant -->
     6240            <item name="Biomass Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6241                <link wiki="Tag:plant:source=biomass" />
     6242                <key key="plant:source" value="biomass" />
     6243                <space />
     6244                <reference ref="power_plant" />
     6245                <space />
     6246                <combo key="plant:method" text="Method" values_context="generator method" values="anaerobic_digestion,combustion,gasification" />
     6247            </item> <!-- Biomass Power Plant -->
     6248            <item name="Coal Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6249                <link wiki="Tag:plant:source=coal" />
     6250                <key key="plant:source" value="coal" />
     6251                <key key="plant:method" value="combustion" match="none" />
     6252                <space />
     6253                <reference ref="power_plant" />
     6254            </item> <!-- Coal Power Plant -->
     6255            <item name="Gas Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6256                <link wiki="Tag:plant:source=gas" />
     6257                <key key="plant:source" value="gas" />
     6258                <key key="plant:method" value="combustion" match="none" />
     6259                <space />
     6260                <reference ref="power_plant" />
     6261            </item> <!-- Gas Power Plant -->
     6262            <item name="Oil Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6263                <link wiki="Tag:plant:source=oil" />
     6264                <key key="plant:source" value="oil" />
     6265                <key key="plant:method" value="combustion" match="none" />
     6266                <space />
     6267                <reference ref="power_plant" />
     6268            </item> <!-- Oil Power Plant -->
     6269            <item name="Diesel Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6270                <link wiki="Tag:power=plant" />
     6271                <key key="plant:source" value="diesel" />
     6272                <key key="plant:method" value="combustion" match="none" />
     6273                <space />
     6274                <reference ref="power_plant" />
     6275            </item> <!-- Diesel Power Plant -->
     6276            <item name="Gasoline Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6277                <link wiki="Tag:power=plant" />
     6278                <key key="plant:source" value="gasoline" />
     6279                <key key="plant:method" value="combustion" match="none" />
     6280                <space />
     6281                <reference ref="power_plant" />
     6282            </item> <!-- Gasoline Power Plant -->
     6283            <item name="Nuclear Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6284                <link wiki="Tag:plant:source=nuclear" />
     6285                <key key="plant:source" value="nuclear" />
     6286                <space />
     6287                <reference ref="power_plant" />
     6288                <space />
     6289                <combo key="plant:method" text="Method" values_context="generator method" values="fission,fusion" />
     6290            </item> <!-- Nuclear Power Plant -->
     6291            <item name="Solar Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6292                <link wiki="Tag:plant:source=solar" />
     6293                <key key="plant:source" value="solar" />
     6294                <space />
     6295                <reference ref="power_plant" />
     6296                <space />
     6297                <combo key="plant:method" text="Method" values_context="generator method" values="photovoltaic,thermal" />
     6298            </item> <!-- Solar Power Plant -->
     6299            <item name="Waste Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6300                <link wiki="Tag:plant:source=waste" />
     6301                <key key="plant:source" value="waste" />
     6302                <space />
     6303                <reference ref="power_plant" />
     6304                <space />
     6305                <combo key="plant:method" text="Method" values_context="generator method" values="combustion,gasification,pyrolysis" />
     6306            </item> <!-- Waste Power Plant -->
     6307            <item name="Hydro Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6308                <link wiki="Tag:plant:source=hydro" />
     6309                <key key="plant:source" value="hydro" />
     6310                <space />
     6311                <reference ref="power_plant" />
     6312                <space />
     6313                <combo key="plant:method" text="Method" values_context="generator method" values="run-of-the-river,water-pumped-storage,water-storage" />
     6314            </item> <!-- Hydro Power Plant -->
     6315            <item name="Tidal Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6316                <link wiki="Tag:power=plant" />
     6317                <key key="plant:source" value="tidal" />
     6318                <space />
     6319                <reference ref="power_plant" />
     6320                <space />
     6321                <combo key="plant:method" text="Method" values_context="generator method" values="barrage,stream" />
     6322            </item> <!-- Tidal Power Plant -->
     6323            <item name="Wave Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6324                <link wiki="Tag:power=plant" />
     6325                <key key="plant:source" value="wave" />
     6326                <space />
     6327                <reference ref="power_plant" />
     6328            </item> <!-- Wave Power Plant -->
     6329            <item name="Osmotic Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6330                <link wiki="Tag:power=plant" />
     6331                <key key="plant:source" value="osmotic" />
     6332                <space />
     6333                <reference ref="power_plant" />
     6334            </item> <!-- Osmotic Power Plant -->
     6335            <item name="Geothermal Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6336                <link wiki="Tag:plant:source=geothermal" />
     6337                <key key="plant:source" value="geothermal" />
     6338                <space />
     6339                <reference ref="power_plant" />
     6340            </item> <!-- Geothermal Power Plant -->
     6341            <item name="Wind Power Plant" icon="presets/power/plant.svg" type="closedway,multipolygon,relation" preset_name_label="true">
     6342                <link wiki="Tag:plant:source=wind" />
     6343                <key key="plant:source" value="wind" />
     6344                <key key="plant:method" value="wind_turbine" match="none" />
     6345                <space />
     6346                <reference ref="power_plant" />
     6347            </item> <!-- Wind Power Plant -->
     6348        </group> <!-- Power Plant -->
    62016349        <group name="Power Generator" icon="presets/power/generator.svg">
    62026350            <item name="Biofuel Power Generator" icon="presets/power/power_source-biofuel.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6351                <link wiki="Tag:generator:source=biofuel" />
    62036352                <key key="generator:source" value="biofuel" />
     6353                <space />
    62046354                <reference ref="power_generator" />
    6205                 <key key="generator:method" value="combustion" />
     6355                <key key="generator:method" value="combustion" match="none" />
    62066356                <combo key="generator:type" text="Generator Type" values="gas_turbine,reciprocating_engine,steam_generator" />
    62076357                <reference ref="power_output" />
    6208                 <link wiki="Tag:generator:source=biofuel" />
    62096358            </item> <!-- Power Generator -->
    62106359            <item name="Biogas Power Generator" icon="presets/power/power_source-biofuel.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6360                <link wiki="Tag:generator:source=biogas" />
    62116361                <key key="generator:source" value="biogas" />
     6362                <space />
    62126363                <reference ref="power_generator" />
    6213                 <key key="generator:method" value="combustion" />
     6364                <key key="generator:method" value="combustion" match="none" />
    62146365                <combo key="generator:type" text="Generator Type" values="reciprocating_engine,steam_generator" />
    62156366                <reference ref="power_output" />
    6216                 <link wiki="Tag:generator:source=biogas" />
    62176367            </item> <!-- Biogas Power Generator -->
    62186368            <item name="Biomass Power Generator" icon="presets/power/power_source-biofuel.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6369                <link wiki="Tag:generator:source=biomass" />
    62196370                <key key="generator:source" value="biomass" />
     6371                <space />
    62206372                <reference ref="power_generator" />
    62216373                <combo key="generator:method" text="Method" values_context="generator method" values="anaerobic_digestion,combustion,gasification" />
     
    62276379                </combo>
    62286380                <reference ref="power_output" />
    6229                 <link wiki="Tag:generator:source=biomass" />
    62306381            </item> <!-- Biomass Power Generator -->
    62316382            <item name="Coal Power Generator" icon="presets/power/power_source-coal.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6383                <link wiki="Tag:generator:source=coal" />
    62326384                <key key="generator:source" value="coal" />
     6385                <space />
    62336386                <reference ref="power_generator" />
    6234                 <key key="generator:method" value="combustion" />
     6387                <key key="generator:method" value="combustion" match="none" />
    62356388                <combo key="generator:type" text="Generator Type" values="steam_generator,steam_turbine" />
    62366389                <reference ref="power_output" />
    6237                 <link wiki="Tag:generator:source=coal" />
    62386390            </item> <!-- Coal Power Generator -->
    62396391            <item name="Gas Power Generator" icon="presets/power/power_source-gas.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6392                <link wiki="Tag:generator:source=gas" />
    62406393                <key key="generator:source" value="gas" />
     6394                <space />
    62416395                <reference ref="power_generator" />
    6242                 <key key="generator:method" value="combustion" />
     6396                <key key="generator:method" value="combustion" match="none" />
    62436397                <combo key="generator:type" text="Generator Type" values="combined_cycle,gas_turbine,reciprocating_engine,steam_generator,steam_turbine" />
    62446398                <reference ref="power_output" />
    6245                 <link wiki="Tag:generator:source=gas" />
    62466399            </item> <!-- Gas Power Generator -->
    62476400            <item name="Oil Power Generator" icon="presets/power/power_source-oil.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6401                <link wiki="Tag:generator:source=oil" />
    62486402                <key key="generator:source" value="oil" />
     6403                <space />
    62496404                <reference ref="power_generator" />
    6250                 <key key="generator:method" value="combustion" />
     6405                <key key="generator:method" value="combustion" match="none" />
    62516406                <combo key="generator:type" text="Generator Type" values="steam_generator,steam_turbine" />
    62526407                <reference ref="power_output" />
    6253                 <link wiki="Tag:generator:source=oil" />
    62546408            </item> <!-- Oil Power Generator -->
    62556409            <item name="Diesel Power Generator" icon="presets/power/power_source-oil.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6410                <link wiki="Tag:generator:source=diesel" />
    62566411                <key key="generator:source" value="diesel" />
     6412                <space />
    62576413                <reference ref="power_generator" />
    6258                 <key key="generator:method" value="combustion" />
     6414                <key key="generator:method" value="combustion" match="none" />
    62596415                <combo key="generator:type" text="Generator Type" values="reciprocating_engine,steam_generator" />
    62606416                <reference ref="power_output" />
    62616417            </item> <!-- Diesel Power Generator -->
    62626418            <item name="Gasoline Power Generator" icon="presets/power/power_source-oil.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6419                <link wiki="Tag:generator:source=gasoline" />
    62636420                <key key="generator:source" value="gasoline" />
     6421                <space />
    62646422                <reference ref="power_generator" />
    6265                 <key key="generator:method" value="combustion" />
     6423                <key key="generator:method" value="combustion" match="none" />
    62666424                <combo key="generator:type" text="Generator Type" values="reciprocating_engine,steam_generator" />
    62676425                <reference ref="power_output" />
    6268                 <link wiki="Tag:generator:source=gasoline" />
    62696426            </item> <!-- Gasoline Power Generator -->
    62706427            <item name="Nuclear Reactor" icon="presets/power/power_source-nuclear.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6428                <link wiki="Tag:generator:source=nuclear" />
    62716429                <key key="generator:source" value="nuclear" />
     6430                <space />
    62726431                <reference ref="power_generator" />
    62736432                <combo key="generator:method" text="Method" values_context="generator method" values="fission,fusion" />
     
    62926451                </combo>
    62936452                <reference ref="power_output" />
    6294                 <link wiki="Tag:generator:source=nuclear" />
    62956453            </item> <!-- Nuclear Reactor -->
    62966454            <item name="Solar Power Generator" icon="presets/power/power_source-sun.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6455                <link wiki="Tag:generator:source=solar" />
    62976456                <key key="generator:source" value="solar" />
     6457                <space />
    62986458                <reference ref="power_generator" />
    62996459                <combo key="generator:method" text="Method" values_context="generator method" values="photovoltaic,thermal" />
     
    63046464                </combo>
    63056465                <reference ref="power_output" />
    6306                 <link wiki="Tag:generator:source=solar" />
    63076466            </item> <!-- Solar Power Generator -->
    63086467            <item name="Waste Power Generator" icon="presets/power/power_source-waste.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6468                <link wiki="Tag:generator:source=waste" />
    63096469                <key key="generator:source" value="waste" />
     6470                <space />
    63106471                <reference ref="power_generator" />
    63116472                <combo key="generator:method" text="Method" values_context="generator method" values="combustion,gasification,pyrolysis" />
     
    63186479                <combo key="generator:type" text="Generator Type" values="bioreactor,reciprocating_engine,steam_generator" />
    63196480                <reference ref="power_output" />
    6320                 <link wiki="Tag:generator:source=waste" />
    63216481            </item> <!-- Waste Power Generator -->
    63226482            <item name="Water Turbine" icon="presets/power/power_source-water.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6483                <link wiki="Tag:generator:source=hydro" />
    63236484                <key key="generator:source" value="hydro" />
     6485                <space />
    63246486                <reference ref="power_generator" />
    63256487                <combo key="generator:method" text="Method" values_context="generator method" values="run-of-the-river,water-pumped-storage,water-storage" />
     
    63316493                </combo>
    63326494                <reference ref="power_output" />
    6333                 <link wiki="Tag:generator:source=hydro" />
    63346495            </item> <!-- Water Turbine -->
    63356496            <item name="Tidal Water Turbine" icon="presets/power/power_source-water.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6497                <link wiki="Tag:generator:source=tidal" />
    63366498                <key key="generator:source" value="tidal" />
     6499                <space />
    63376500                <reference ref="power_generator" />
    63386501                <combo key="generator:method" text="Method" values_context="generator method" values="barrage,stream" />
     
    63436506                </combo>
    63446507                <reference ref="power_output" />
    6345                 <link wiki="Tag:generator:source=tidal" />
    63466508            </item> <!-- Tidal Water Turbine -->
    63476509            <item name="Wave Energy Converter" icon="presets/power/power_source-water.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6510                <link wiki="Tag:generator:source=wave" />
    63486511                <key key="generator:source" value="wave" />
     6512                <space />
    63496513                <reference ref="power_generator" />
    63506514                <reference ref="power_output" />
    6351                 <link wiki="Tag:generator:source=wave" />
    63526515            </item> <!-- Wave Energy Converter -->
    63536516            <item name="Osmotic Power Generator" icon="presets/power/power_source-water.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6517                <link wiki="Tag:generator:source=osmotic" />
    63546518                <key key="generator:source" value="osmotic" />
     6519                <space />
    63556520                <reference ref="power_generator" />
    63566521                <reference ref="power_output" />
    6357                 <link wiki="Tag:generator:source=osmotic" />
    63586522            </item> <!-- Osmotic Power Generator -->
    63596523            <item name="Geothermal Power Generator" icon="presets/power/power_source-geothermal.svg" type="node,closedway,multipolygon" preset_name_label="true">
     6524                <link wiki="Tag:generator:source=geothermal" />
    63606525                <key key="generator:source" value="geothermal" />
     6526                <space />
    63616527                <reference ref="power_generator" />
    63626528                <combo key="generator:type" text="Generator Type" values="heat_pump,steam_turbine" />
    63636529                <reference ref="power_output" />
    6364                 <link wiki="Tag:generator:source=geothermal" />
    63656530            </item> <!-- Geothermal Power Generator -->
    63666531            <item name="Wind Turbine" icon="presets/power/power_source-wind.svg" type="node,closedway" preset_name_label="true">
     6532                <link wiki="Tag:generator:source=wind" />
    63676533                <key key="generator:source" value="wind" />
     6534                <space />
    63686535                <reference ref="power_generator" />
    6369                 <key key="generator:method" value="wind_turbine" />
     6536                <key key="generator:method" value="wind_turbine" match="none" />
    63706537                <combo key="generator:type" text="Generator Type" values="horizontal_axis,vertical_axis" />
    63716538                <reference ref="power_output" />
    6372                 <link wiki="Tag:generator:source=wind" />
    63736539            </item> <!-- Wind Turbine -->
    63746540        </group> <!-- Power Generator -->
     6541        <item name="Heliostat" icon="presets/power/heliostat.svg" type="node" preset_name_label="true">
     6542            <link wiki="Tag:power=heliostat" />
     6543            <key key="power" value="heliostat" />
     6544            <optional>
     6545                <text key="ref" text="Reference" />
     6546                <text key="start_date" text="Start date" />
     6547                <text key="height" text="Height (meters)" length="7" />
     6548                <text key="width" text="Width (meters)" />
     6549            </optional>
     6550        </item> <!-- Heliostat -->
    63756551        <separator/>
    63766552        <item name="Power Substation" icon="presets/power/substation.svg" type="node,closedway,multipolygon" preset_name_label="true">
  • trunk/resources/styles/standard/elemstyles.mapcss

    r18230 r18264  
    12911291node[power=generator] {
    12921292    icon-image: "presets/power/generator.svg";
     1293    set icon_z17;
     1294}
     1295node[power=heliostat] {
     1296    icon-image: "presets/power/heliostat.svg";
    12931297    set icon_z17;
    12941298}
Note: See TracChangeset for help on using the changeset viewer.