Changeset 17263 in josm
- Timestamp:
- 2020-10-24T18:52:34+02:00 (4 years ago)
- Location:
- trunk/resources/data
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/defaultpresets.xml
r17259 r17263 404 404 <combo key="material" text="Material" values="concrete,metal,plastic,steel,stone,wood" /> 405 405 <combo key="line_attachment" text="Line attachment" values="anchor,pin,pulley,suspension" values_context="power" /> 406 <combo key="line_management" text="Line management" values="branch,cross,split,straight,termination,transition,transpose" values_context="Line management" /> 406 407 <check key="location:transition" text="Location transition" disable_off="true" /> 407 408 <reference ref="ref_operator" /> … … 6214 6215 <optional> 6215 6216 <combo key="line_attachment" text="Line attachment" values="anchor,pin,pulley,suspension" values_context="power" /> 6217 <combo key="line_management" text="Line management" values="branch,cross,split,straight,termination,transition,transpose" values_context="Line management" /> 6216 6218 <text key="ref" text="Reference" /> 6217 6219 <text key="operator" text="Operator" /> … … 6229 6231 <combo key="design" text="Portal design" values="portal,portal_two-level,portal_three-level" values_context="power" /> 6230 6232 <combo key="line_attachment" text="Line attachment" values="anchor,pin,pulley,suspension" values_context="power" /> 6233 <combo key="line_management" text="Line management" values="branch,cross,split,straight,termination,transition,transpose" values_context="Line management" /> 6231 6234 </item> <!-- Power Portal --> 6232 6235 <item name="Power Tower" icon="presets/power/tower.svg" type="node" preset_name_label="true"> … … 6240 6243 <reference ref="ref_operator" /> 6241 6244 <optional> 6242 <combo key="tower:type" text="Tower type" values="termination,branch,transposing,crossing,transition" text_context="power" values_context="power" />6243 <combo key="branch:type" text="Branch tower type" values="tap,split,loop,cross" values_context="power" />6244 6245 <combo key="design" text="Tower design" values="one-level,two-level,donau,three-level,barrel,asymmetric,triangle,flag,donau;one-level,four-level,six-level,nine-level,delta,delta_two-level,y-frame,x-frame,h-frame,guyed_h-frame,portal,portal_two-level,portal_three-level,guyed_v-frame,bipole,monopolar" values_context="power" /> 6245 6246 <combo key="line_attachment" text="Line attachment" values="anchor,pin,pulley,suspension" values_context="power" /> 6247 <combo key="line_management" text="Line management" values="branch,cross,split,straight,termination,transition,transpose" values_context="Line management" /> 6246 6248 <check key="triple_tower" text="Triple tower" /> 6247 6249 <check key="design:incomplete" text="Incomplete tower" /> … … 6295 6297 <key key="power" value="insulator" /> 6296 6298 <combo key="line_attachment" text="Line attachment" values="anchor,pin,pulley,suspension" values_context="power" /> 6299 <combo key="line_management" text="Line management" values="branch,cross,split,straight,termination,transition,transpose" values_context="Line management" /> 6297 6300 <reference ref="ref_operator" /> 6298 6301 </item> <!-- Insulator --> -
trunk/resources/data/validator/deprecated.mapcss
r17216 r17263 1800 1800 } 1801 1801 1802 /* #17984 */1802 /* #17984, #19383 */ 1803 1803 *[tower:type=anchor], 1804 1804 *[tower:type=suspension] { … … 1806 1806 suggestAlternative: concat("line_attachment=", "{0.value}"); 1807 1807 fixChangeKey: "tower:type => line_attachment"; 1808 set power_tower_type_warning; 1809 group: tr("deprecated tagging"); 1810 } 1811 *[tower:type=branch][branch:type=split], 1812 *[tower:type=branch][branch:type=loop] { 1813 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1814 suggestAlternative: "line_management=split"; 1815 fixAdd: "line_management=split"; 1816 fixRemove: "tower:type"; 1817 fixRemove: "branch:type"; 1818 set power_tower_type_warning; 1819 group: tr("deprecated tagging"); 1820 } 1821 *[tower:type=branch][!branch:type], 1822 *[tower:type=branch][branch:type=tap] { 1823 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1824 suggestAlternative: "line_management=branch"; 1825 fixAdd: "line_management=branch"; 1826 fixRemove: "tower:type"; 1827 fixRemove: "branch:type"; 1828 set power_tower_type_warning; 1829 group: tr("deprecated tagging"); 1830 } 1831 *[tower:type=branch][branch:type=cross] { 1832 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1833 suggestAlternative: "line_management=cross"; 1834 fixAdd: "line_management=cross"; 1835 fixRemove: "tower:type"; 1836 fixRemove: "branch:type"; 1837 set power_tower_type_warning; 1838 group: tr("deprecated tagging"); 1839 } 1840 *[tower:type=termination] { 1841 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1842 suggestAlternative: "line_management=termination"; 1843 fixAdd: "line_management=termination"; 1844 fixRemove: "tower:type"; 1845 set power_tower_type_warning; 1846 group: tr("deprecated tagging"); 1847 } 1848 *[tower:type=transposing] { 1849 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1850 suggestAlternative: "line_management=transpose"; 1851 fixAdd: "line_management=transpose"; 1852 fixRemove: "tower:type"; 1853 set power_tower_type_warning; 1854 group: tr("deprecated tagging"); 1855 } 1856 *[tower:type=crossing] { 1857 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1858 suggestAlternative: "height=* + design=*"; 1859 set power_tower_type_warning; 1860 group: tr("deprecated tagging"); 1861 } 1862 *[tower:type][power][power=~/^(tower|pole|insulator|portal|terminal)$/]!.power_tower_type_warning { 1863 throwWarning: tr("{0} is deprecated for {1}", "{0.key}", "{1.tag}"); 1864 suggestAlternative: "design"; 1865 suggestAlternative: "structure"; 1866 suggestAlternative: "line_management"; 1867 suggestAlternative: "line_attachment"; 1868 set generic_power_tower_type_warning; 1808 1869 group: tr("deprecated tagging"); 1809 1870 } … … 1813 1874 suggestAlternative: concat("line_attachment=", "{0.value}"); 1814 1875 fixChangeKey: "pole:type => line_attachment"; 1876 set power_pole_type_warning; 1877 group: tr("deprecated tagging"); 1878 } 1879 node[pole:type=branch][branch:type=split], 1880 node[pole:type=branch][branch:type=loop] { 1881 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1882 suggestAlternative: "line_management=split"; 1883 fixAdd: "line_management=split"; 1884 fixRemove: "pole:type"; 1885 fixRemove: "branch:type"; 1886 set power_pole_type_warning; 1887 group: tr("deprecated tagging"); 1888 } 1889 node[pole:type=branch][!branch:type], 1890 node[pole:type=branch][branch:type=tap] { 1891 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1892 suggestAlternative: "line_management=branch"; 1893 fixAdd: "line_management=branch"; 1894 fixRemove: "pole:type"; 1895 fixRemove: "branch:type"; 1896 set power_pole_type_warning; 1897 group: tr("deprecated tagging"); 1898 } 1899 node[pole:type=branch][branch:type=cross] { 1900 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1901 suggestAlternative: "line_management=cross"; 1902 fixAdd: "line_management=cross"; 1903 fixRemove: "pole:type"; 1904 fixRemove: "branch:type"; 1905 set power_pole_type_warning; 1906 group: tr("deprecated tagging"); 1907 } 1908 node[pole:type=termination] { 1909 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1910 suggestAlternative: "line_management=termination"; 1911 fixAdd: "line_management=termination"; 1912 fixRemove: "pole:type"; 1913 set power_pole_type_warning; 1914 group: tr("deprecated tagging"); 1915 } 1916 *[pole:type][power][power=~/^(tower|pole|insulator|portal|terminal)$/]!.power_pole_type_warning!.generic_power_tower_type_warning { 1917 throwWarning: tr("{0} is deprecated for {1}", "{0.key}", "{1.tag}"); 1918 suggestAlternative: "line_management"; 1919 suggestAlternative: "line_attachment"; 1815 1920 group: tr("deprecated tagging"); 1816 1921 } -
trunk/resources/data/validator/geometry.mapcss
r17249 r17263 97 97 /* {0} on a way, should be a node */ 98 98 way[line_attachment], 99 way[line_management], 99 100 way[emergency=fire_hydrant], 100 101 way[emergency=defibrillator], -
trunk/resources/data/validator/ignoretags.cfg
r17262 r17263 665 665 E:recycling:metal 666 666 K:shop=dog_grooming 667 K:tower:type=anchor668 K:tower:type=suspension669 K:pole:type=anchor670 K:pole:type=suspension671 667 K:man_made=pipeline_marker 672 668 K:pipeline=marker … … 706 702 K:cuisine=bbq 707 703 K:cuisine=BBQ 704 E:pole:type 708 705 ; 709 706 ; Tags not yet decided (to remove from this section when added or moved up when deprecated)
Note:
See TracChangeset
for help on using the changeset viewer.