Changeset 15139 in josm


Ignore:
Timestamp:
2019-05-30T00:51:59+02:00 (5 months ago)
Author:
Don-vip
Message:

fix #17719 - Pipeline valve preset extension

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15112 r15139  
    47354735            <space />
    47364736            <key key="pipeline" value="valve" />
    4737             <text key="ref" text="Reference" />
    4738             <reference ref="operator_substance" />
     4737            <combo key="valve" text="Valve type" values="butterfly,globe,ball,plug,gate,needle,spool" values_context="valve" />
     4738            <combo key="actuator" text="Actuator" values="manual,electric_motor,pneumatic_cylinder,hydraulic_cylinder,thermostatic,solenoid" values_context="actuator" />
     4739            <combo key="handle" text="Handle" values="lever,wheel,cross,button" values_context="handle" />
     4740            <combo key="turn_to_close" text="Direction to close" values="clockwise,anti_clockwise" />
     4741            <combo key="sensor:position" values="optical,mechanical,inductive,yes" />
     4742            <reference ref="ref_operator" />
    47394743        </item> <!-- Pipeline Valve -->
    47404744        <separator/>
  • trunk/data/validator/combinations.mapcss

    r15131 r15139  
    118118
    119119/* {0.tag} without {1.key} (warning level) */
     120node[actuator=manual][!handle],
    120121node[emergency=fire_hydrant][!fire_hydrant:type],
    121122way[     boundary=administrative][!admin_level],
Note: See TracChangeset for help on using the changeset viewer.