Changeset 18270 in josm for trunk/resources
- Timestamp:
- 2021-10-10T21:51:02+02:00 (3 years ago)
- Location:
- trunk/resources
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/defaultpresets.xml
r18269 r18270 433 433 <chunk id="power_source_values"> 434 434 </chunk> 435 <chunk id="power_pole"> 435 <chunk id="utilities"> 436 <combo key="utility" text="Utility" values="chemical,gas,heating,hydrant,oil,power,sewerage,street_lighting,telecom,television,waste,water" values_searchable="true"/> 437 </chunk> 438 <chunk id="pole"> 436 439 <text key="height" text="Height (meters)" length="7" /> 437 440 <combo key="material" text="Material" values="concrete,metal,plastic,steel,stone,wood" /> 441 <reference ref="ref_operator" /> 442 </chunk> 443 <chunk id="power_pole"> 438 444 <combo key="line_attachment" text="Line attachment" values="anchor,pin,pulley,suspension" values_context="power" /> 439 445 <combo key="line_management" text="Line management" values="branch,cross,split,straight,termination,transition,transpose" values_context="Line management" /> 440 446 <check key="location:transition" text="Location transition" disable_off="true" /> 441 <reference ref=" ref_operator" />447 <reference ref="pole" /> 442 448 </chunk> 443 449 <chunk id="rating_phases"> … … 5813 5819 </item> <!-- Embankment --> 5814 5820 <separator/> 5821 <item name="Utility Pole" icon="presets/tower/pole.svg" type="node" preset_name_label="true"> 5822 <link wiki="Tag:man_made=utility_pole" /> 5823 <space /> 5824 <key key="man_made" value="utility_pole" /> 5825 <reference ref="pole" /> 5826 <reference ref="utilities" /> 5827 <preset_link preset_name="Pole" text="Similar preset:" /> 5828 </item> <!-- Utility Pole --> 5815 5829 <item name="Street Lamp" icon="presets/misc/streetlamp.svg" type="node" preset_name_label="true"> 5816 5830 <link wiki="Tag:highway=street_lamp" /> … … 6074 6088 <space /> 6075 6089 <combo key="marker" text="Type" values="aerial,ground,pedestal,plate,post,stone" values_context="marker" match="key" /> 6076 < combo key="utility" text="Utility" values="chemical,gas,heating,hydrant,oil,power,sewerage,street_lighting,telecom,television,waste,water" values_searchable="true" />6090 <reference ref="utilities" /> 6077 6091 <optional> 6078 6092 <reference ref="ref_operator" /> … … 6704 6718 <key key="power" value="pole" /> 6705 6719 <reference ref="power_pole" /> 6720 <preset_link preset_name="Utility Pole" text="Similar preset:" /> 6706 6721 </item> <!-- Pole --> 6707 6722 <item name="Pole with Switch" icon="presets/power/pole_switch.svg" type="node" preset_name_label="true"> -
trunk/resources/data/validator/ignoretags.cfg
r18269 r18270 239 239 K:water=pool 240 240 K:golf=path 241 K:man_made=utility_pole242 241 K:site=geodesic 243 242 K:site=stop_area -
trunk/resources/styles/standard/elemstyles.mapcss
r18269 r18270 1786 1786 node[man_made=communications_tower] { 1787 1787 icon-image: "presets/tower/communications_tower.svg"; 1788 set icon_z17; 1789 } 1790 node|z17-[man_made=utility_pole][utility][utility!=power][utility!=street_lighting]::utility_casing { 1791 utility_casing: #fdfdf8; 1792 } 1793 node|z17-[man_made=utility_pole][utility=gas]::utility_casing { 1794 utility_casing: #ffff00; 1795 } 1796 node|z17-[man_made=utility_pole][utility=oil]::utility_casing { 1797 utility_casing: #708090; 1798 } 1799 node|z17-[man_made=utility_pole][utility=telecom]::utility_casing, 1800 node|z17-[man_made=utility_pole][utility=television]::utility_casing { 1801 utility_casing: #21bd00; 1802 } 1803 node|z17-[man_made=utility_pole][utility=water]::utility_casing { 1804 utility_casing: #2090cf; 1805 } 1806 node|z17-[man_made=utility_pole][utility=sewerage]::utility_casing { 1807 utility_casing: #1d5575; 1808 } 1809 node|z17-[man_made=utility_pole][utility=waste]::utility_casing { 1810 utility_casing: #ee82ee; 1811 } 1812 node[man_made=utility_pole].utility_casing::utility_casing { 1813 symbol-fill-color: prop("utility_casing"); 1814 symbol-shape: circle; 1815 symbol-size: 12; 1816 } 1817 node[man_made=utility_pole] { 1818 icon-image: "presets/tower/pole.svg"; 1819 set icon_z17; 1820 } 1821 node[man_made=utility_pole][utility~=power] { 1822 icon-image: "presets/power/pole.svg"; 1823 set icon_z17; 1824 } 1825 node[man_made=utility_pole][utility~=street_lighting] { 1826 icon-image: "presets/tower/pole_street_light.svg"; 1788 1827 set icon_z17; 1789 1828 }
Note:
See TracChangeset
for help on using the changeset viewer.