Ticket #21396: 21396.patch
File 21396.patch, 21.6 KB (added by , 3 years ago) |
---|
-
resources/data/validator/deprecated.mapcss
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/data/validator/deprecated.mapcss b/resources/data/validator/deprecated.mapcss
a b 2390 2390 group: tr("deprecated tagging"); 2391 2391 } 2392 2392 2393 /* Replaced by type=connectivity */ 2394 *[type="turnlanes:turns"] { 2395 throwWarning: tr("{0} is deprecated", "{0.tag}"); 2396 suggestAlternative: "type=connectivity"; 2397 group: tr("deprecated tagging"); 2398 } 2399 2393 2400 /* When tags are deprecated they should be added to ignoretags.cfg too. */ -
resources/data/validator/highway.mapcss
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/data/validator/highway.mapcss b/resources/data/validator/highway.mapcss
a b 207 207 assertNoMatch: "way highway=service area=yes"; 208 208 assertNoMatch: "way highway=trunk"; 209 209 } 210 211 /* #21396 comment 39 */ 212 *[surface=~/^paving_stones:(\d+)$/] { 213 throwWarning: tr("{0} with trailing number", "paving_stones"); 214 group: tr("questionable value (ending with a number)"); 215 suggestAlternative: "paving_stones:length"; 216 suggestAlternative: "paving_stones:width"; 217 } 218 No newline at end of file -
resources/data/validator/ignoretags.cfg
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/data/validator/ignoretags.cfg b/resources/data/validator/ignoretags.cfg
a b 103 103 E:duration 104 104 E:interval 105 105 E:maxspeed 106 E:maxspeed:type 106 107 E:maxstay 107 108 E:maxweight:signed 108 109 E:opening_hours:signed … … 730 731 K:school=entrance 731 732 E:voltage-high 732 733 E:voltage-low 734 K:type=turnlanes:turns 735 K:service=driveway2 736 K:surface=paving_stones:30 733 737 ; 734 738 ; Tags not yet decided (to remove from this section when added or moved up when deprecated) 735 ; see josm tickets: 17770 15309 15774 16315 16658 16793 19982 739 ; see josm tickets: 17770 15309 15774 16315 16658 16793 19982 21396 736 740 ; 737 K:service=irrigation 738 K:man_made=tunnel 741 K:advertising=board 739 742 K:amenity=childcare 740 K:landuse=logging 741 K:indoor=wall 742 K:indoor=room 743 K:indoor=corridor 744 K:highway=corridor 743 K:amenity=loading_dock 744 K:amenity=parcel_locker 745 K:amenity=payment_terminal 746 K:barrier=sliding_gate 747 K:boundary=forest_compartment 748 K:craft=grinding_mill 745 749 K:crossing=zebra 750 K:emergency=access_point 751 K:golf=cartpath 752 K:healthcare:speciality=general 746 753 K:healthcare=alternative 754 K:healthcare=centre 755 K:healthcare=clinic 747 756 K:healthcare=dentist 748 757 K:healthcare=doctor 749 758 K:healthcare=hospital 750 759 K:healthcare=pharmacy 751 K:healthcare=clinic752 K:healthcare=centre753 760 K:healthcare=physiotherapist 754 761 K:healthcare=yes 755 K:golf=cartpath 762 K:hedge=hedge_bank 763 K:highway=corridor 764 K:historic=bomb_crater 765 K:indoor=area 766 K:indoor=corridor 767 K:indoor=room 768 K:indoor=wall 769 K:landuse=logging 770 ; See #21964/#21907 for WIP patch for leisure=sports_hall 771 K:leisure=sports_hall 772 K:man_made=courtyard 773 K:man_made=gantry 774 K:man_made=tunnel 756 775 K:man_made=water_tap 776 K:military=trench 777 K:natural=crevasse 778 K:path=crossing 779 K:railway=proposed 757 780 K:railway=tram_crossing 758 781 K:railway=tram_level_crossing 782 K:road_marking=solid_stop_line 783 K:service=irrigation 784 785 ; These tags should probably have better software support, but maybe they can be in the appropriate section in this file. 786 ; Examples: oneway:moped and cycleway:right:oneway. 787 F::oneway 788 S:oneway: -
resources/data/validator/words.cfg
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/data/validator/words.cfg b/resources/data/validator/words.cfg
a b 208 208 -descripion 209 209 -desription 210 210 -decription 211 +driveway 212 -driveway2 211 213 +freight 212 214 -frieght 213 215 +full_name:fa -
resources/data/defaultpresets.xml
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/resources/data/defaultpresets.xml b/resources/data/defaultpresets.xml
a b 6 6 7 7 <!-- Item chunks --> 8 8 <chunk id="surface"> 9 <combo key="surface" text="Surface" values="paved,unpaved,asphalt,concrete,concrete:plates,concrete:lanes,paving_stones,sett,cobblestone,unhewn_cobblestone,grass_paver,compacted,fine_gravel,gravel,pebblestone,ground,mud, sand,grass,wood,metal" />9 <combo key="surface" text="Surface" values="paved,unpaved,asphalt,concrete,concrete:plates,concrete:lanes,paving_stones,sett,cobblestone,unhewn_cobblestone,grass_paver,compacted,fine_gravel,gravel,pebblestone,ground,mud,rock,sand,grass,wood,metal" /> 10 10 </chunk> 11 11 <chunk id="surface_smoothness"> 12 12 <reference ref="surface" /> … … 51 51 <chunk id="highway_yesno_incline"> 52 52 <reference ref="highway_yesno" /> 53 53 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 54 </chunk> 55 <chunk id="lit_common_no_times"> 56 <combo key="lit" text="Lit" values="yes,no,24/7,automatic,limited,disused"/> 54 57 </chunk> 55 58 <chunk id="highway_yesno_incline_oneway_lit_width"> 56 59 <checkgroup columns="4"> … … 59 62 <check key="embankment" text="Embankment" disable_off="true" /> 60 63 <check key="cutting" text="Cutting" disable_off="true" /> 61 64 <check key="oneway" text="Oneway" /> 62 <check key="lit" text="Lit" />63 65 </checkgroup> 66 <reference ref="lit_common_no_times"/> 64 67 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 65 68 <text key="width" text="Width (meters)" /> 66 69 </chunk> … … 131 134 <text key="height" text="Height (meters)" length="7" /> 132 135 <combo key="animated" text="Animated" values="yes,winding_posters,screen,trivision_blades,revolving,digital_messages,digital_prices,no" values_sort="false" /> 133 136 <check key="luminous" text="Luminous" /> 134 < check key="lit" text="Lit"/>137 <reference ref="lit_common_no_times"/> 135 138 </chunk> 136 139 <chunk id="min_age"> 137 140 <text key="min_age" text="Minimum age" /> … … 346 349 <combo key="denomination" text="Denomination" values="catholic,greek_catholic,old_catholic,orthodox,roman_catholic" default="catholic" values_searchable="true" /> 347 350 </chunk> 348 351 <chunk id="other_religions"> <!-- religions which don't have an own preset --> 349 <combo key="religion" text="Religion" values="bahai,caodaism,confucian,jain, sikh,spiritualist,taoist,tenrikyo,unitarian_universalist,zoroastrian" match="keyvalue!" values_searchable="true" />352 <combo key="religion" text="Religion" values="bahai,caodaism,confucian,jain,none,sikh,spiritualist,taoist,tenrikyo,unitarian_universalist,zoroastrian" match="keyvalue!" values_searchable="true" /> 350 353 </chunk> 351 354 <chunk id="christian_denominations"> <!-- christian denominations --> 352 355 <combo key="denomination" text="Denomination" values="anglican,baptist,catholic,church_of_scotland,evangelical,greek_catholic,greek_orthodox,iglesia_ni_cristo,jehovahs_witness,lutheran,methodist,mormon,new_apostolic,nondenominational,old_catholic,orthodox,pentecostal,presbyterian,protestant,quaker,reformed,roman_catholic,romanian_orthodox,russian_orthodox,serbian_orthodox,seventh_day_adventist,spiritist,united,united_methodist" values_searchable="true" /> … … 675 678 <reference ref="highway_yesno" /> 676 679 <checkgroup columns="4"> 677 680 <check key="oneway" text="Oneway" default="on" /> 678 <check key="lit" text="Lit" />679 681 <check key="toll" text="Toll" /> 680 682 </checkgroup> 683 <reference ref="lit_common_no_times"/> 681 684 <reference ref="placement_shoulder" /> 682 685 </optional> 683 686 <reference ref="link_road_access_restrictions" /> … … 697 700 <reference ref="highway_yesno" /> 698 701 <checkgroup columns="4"> 699 702 <check key="oneway" text="Oneway" default="on" /> 700 <check key="lit" text="Lit" />701 703 <check key="toll" text="Toll" /> 702 704 </checkgroup> 705 <reference ref="lit_common_no_times"/> 703 706 <reference ref="placement_shoulder" /> 704 707 </optional> 705 708 <reference ref="link_road_access_restrictions" /> … … 721 724 <reference ref="highway_yesno" /> 722 725 <checkgroup columns="4"> 723 726 <check key="oneway" text="Oneway" default="on" /> 724 <check key="lit" text="Lit" />725 727 <check key="toll" text="Toll" /> 726 728 <check key="motorroad" text="Motorroad" default="on" /> 727 729 </checkgroup> 730 <reference ref="lit_common_no_times"/> 728 731 <reference ref="placement_shoulder" /> 729 732 </optional> 730 733 <reference ref="link_road_access_restrictions" /> … … 745 748 <reference ref="highway_yesno" /> 746 749 <checkgroup columns="4"> 747 750 <check key="oneway" text="Oneway" default="on" /> 748 <check key="lit" text="Lit" />749 751 <check key="toll" text="Toll" /> 750 752 <check key="motorroad" text="Motorroad" default="on" /> 751 753 </checkgroup> 754 <reference ref="lit_common_no_times"/> 752 755 <reference ref="placement_shoulder" /> 753 756 </optional> 754 757 <reference ref="link_road_access_restrictions" /> … … 885 888 <checkgroup columns="4"> 886 889 <check key="oneway" text="Oneway" /> 887 890 <check key="oneway:bicycle" text="Oneway for bicycle" /> 888 <check key="lit" text="Lit" />889 891 </checkgroup> 892 <reference ref="lit_common_no_times"/> 890 893 <text key="width" text="Width (meters)" /> 891 894 <combo key="bus_bay" text="Bus bay" values="both,left,right" /> 892 895 <combo key="sidewalk" text="Sidewalk" values="both,left,right,no,separate" values_context="sidewalk" /> … … 915 918 <checkgroup columns="4"> 916 919 <check key="oneway" text="Oneway" /> 917 920 <check key="oneway:bicycle" text="Oneway for bicycle" /> 918 <check key="lit" text="Lit" />919 921 </checkgroup> 922 <reference ref="lit_common_no_times"/> 920 923 <text key="width" text="Width (meters)" /> 921 924 <combo key="bus_bay" text="Bus bay" values="both,left,right" /> 922 925 <combo key="sidewalk" text="Sidewalk" values="both,left,right,no,separate" values_context="sidewalk" /> … … 952 955 <reference ref="surface_smoothness" /> 953 956 <check key="area" text="Area" /> 954 957 <reference ref="highway_yesno_incline" /> 955 < check key="lit" text="Lit"/>958 <reference ref="lit_common_no_times"/> 956 959 <text key="width" text="Width (meters)" /> 957 960 </optional> 958 961 <reference ref="link_road_access_restrictions" /> … … 978 981 <optional> 979 982 <reference ref="surface_smoothness" /> 980 983 <check key="oneway" text="Oneway" /> 981 < check key="lit" text="Lit"/>984 <reference ref="lit_common_no_times"/> 982 985 </optional> 983 986 <reference ref="link_road_access_restrictions" /> 984 987 </item> <!-- Parking Aisle --> … … 990 993 <optional> 991 994 <reference ref="surface" /> 992 995 <text key="width" text="Width (meters)" /> 993 < check key="lit" text="Lit"/>996 <reference ref="lit_common_no_times"/> 994 997 </optional> 995 998 </item> <!-- Escape --> 996 999 <item name="Raceway" icon="presets/sport/raceway.svg" type="way,closedway" preset_name_label="true"> … … 1837 1840 <reference ref="highway_access_vehicle" /> 1838 1841 <reference ref="check_access_nomotor" /> 1839 1842 <reference ref="check_access_motor" /> 1843 <check key="locked" text="Usually locked"/> 1840 1844 <preset_link preset_name="Access Restrictions" /> 1841 1845 </item> <!-- Gate --> 1842 1846 <item name="Lift Gate" icon="presets/barrier/lift_gate.svg" type="node" preset_name_label="true"> … … 1850 1854 <reference ref="highway_access_vehicle" /> 1851 1855 <reference ref="check_access_nomotor" /> 1852 1856 <reference ref="check_access_motor" /> 1857 <check key="locked" text="Usually locked"/> 1853 1858 <preset_link preset_name="Access Restrictions" /> 1854 1859 </item> <!-- Lift Gate --> 1855 1860 <item name="Swing Gate" icon="presets/barrier/swing_gate.svg" type="node" preset_name_label="true"> … … 1863 1868 <reference ref="highway_access_vehicle" /> 1864 1869 <reference ref="check_access_nomotor" /> 1865 1870 <reference ref="check_access_motor" /> 1871 <check key="locked" text="Usually locked"/> 1866 1872 <preset_link preset_name="Access Restrictions" /> 1867 1873 </item> <!-- Swing Gate --> 1868 1874 <item name="Hampshire Gate" type="node" preset_name_label="true"> … … 1875 1881 <reference ref="highway_access_vehicle" /> 1876 1882 <reference ref="check_access_nomotor" /> 1877 1883 <reference ref="check_access_motor" /> 1884 <check key="locked" text="Usually locked"/> 1878 1885 <preset_link preset_name="Access Restrictions" /> 1879 1886 </item> <!-- Hampshire Gate --> 1880 1887 <item name="Bump Gate" type="node" preset_name_label="true"> … … 1887 1894 <reference ref="highway_access_vehicle" /> 1888 1895 <reference ref="check_access_nomotor" /> 1889 1896 <reference ref="check_access_motor" /> 1897 <check key="locked" text="Usually locked"/> 1890 1898 <preset_link preset_name="Access Restrictions" /> 1891 1899 </item> <!-- Bump Gate --> 1892 1900 <item name="Kissing Gate" icon="presets/barrier/kissing_gate.svg" type="node" preset_name_label="true"> … … 1899 1907 <space /> 1900 1908 <reference ref="highway_access_vehicle" /> 1901 1909 <reference ref="check_access_nomotor" /> 1910 <check key="locked" text="Usually locked"/> 1902 1911 <preset_link preset_name="Access Restrictions" /> 1903 1912 </item> <!-- Kissing Gate --> 1904 1913 <item name="Height Restrictor" icon="presets/barrier/height_restrictor.svg" type="node" preset_name_label="true"> … … 1921 1930 <reference ref="highway_access_vehicle" /> 1922 1931 <reference ref="check_access_nomotor" /> 1923 1932 <reference ref="check_access_motor" /> 1933 <check key="locked" text="Usually locked"/> 1924 1934 <preset_link preset_name="Access Restrictions" /> 1925 1935 </item> <!-- Chain --> 1926 1936 <item name="Stile" icon="presets/barrier/stile.svg" type="node" preset_name_label="true"> … … 3943 3953 <space /> 3944 3954 <key key="leisure" value="dog_park" /> 3945 3955 <reference ref="name_oh_wheelchair" /> 3946 < check key="lit" text="Lit"/>3956 <reference ref="lit_common_no_times"/> 3947 3957 </item> <!-- Dog Park --> 3948 3958 <item name="Amusement/Theme Park" icon="presets/leisure/theme_park.svg" type="node,closedway,multipolygon" preset_name_label="true"> 3949 3959 <link wiki="Tag:tourism=theme_park" /> … … 5665 5675 <item name="Building" icon="presets/landmark/building.svg" type="node,closedway,multipolygon" preset_name_label="true"> 5666 5676 <link wiki="Key:building" /> 5667 5677 <space /> 5668 <combo key="building" text="Building" values="allotment_house,bakehouse,barn,basilica,boathouse,bunker,cabin,carport,cathedral,chapel,church,college,commercial,construction,cowshed,digester,farm_auxiliary,fire_station,garage,garages,gasometer,gatehouse,grandstand,greenhouse,hangar,hospital,industrial,kindergarten,kiosk,manufacture,monastery,mosque,office,pa rking,public,retail,roof,ruins,school,service,shed,silo,stable,storage_tank,sty,supermarket,synagogue,temple,tent,toilets,train_station,transformer_tower,transportation,university,warehouse,yes" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />5678 <combo key="building" text="Building" values="allotment_house,bakehouse,barn,basilica,boathouse,bunker,cabin,carport,cathedral,chapel,church,college,commercial,construction,cowshed,digester,farm_auxiliary,fire_station,garage,garages,gasometer,gatehouse,grandstand,greenhouse,hangar,hospital,industrial,kindergarten,kiosk,manufacture,monastery,mosque,office,pavilion,parking,public,retail,roof,ruins,school,service,shed,silo,stable,storage_tank,sty,supermarket,synagogue,temple,tent,toilets,train_station,transformer_tower,transportation,university,warehouse,yes" values_context="building" default="yes" match="keyvalue!" values_searchable="true" /> 5669 5679 <optional> 5670 5680 <reference ref="name_operator" /> 5671 5681 <combo key="building:levels" text="Levels above ground" values="1,2,3,4,5,6,7,8,9,10,11" text_context="building" /> … … 5700 5710 <link wiki="Tag:building=construction" /> 5701 5711 <space /> 5702 5712 <key key="building" value="construction" /> 5703 <combo key="construction" text="Building type" values="allotment_house,apartments,bakehouse,barn,basilica,boathouse,bungalow,bunker,cabin,carport,cathedral,chapel,church,college,commercial,cowshed,detached,digester,dormitory,farm,farm_auxiliary,fire_station,garage,garages,gasometer,gatehouse,ger,grandstand,greenhouse,hangar,hospital,hotel,house,hut,industrial,kindergarten,kiosk,manufacture,monastery,mosque,office,parking,p ublic,residential,retail,roof,ruins,school,service,shed,silo,stable,stilt_house,storage_tank,sty,supermarket,synagogue,temple,tent,terrace,toilets,train_station,transformer_tower,transportation,university,warehouse,wayside_shrine" values_context="building" />5713 <combo key="construction" text="Building type" values="allotment_house,apartments,bakehouse,barn,basilica,boathouse,bungalow,bunker,cabin,carport,cathedral,chapel,church,college,commercial,cowshed,detached,digester,dormitory,farm,farm_auxiliary,fire_station,garage,garages,gasometer,gatehouse,ger,grandstand,greenhouse,hangar,hospital,hotel,house,hut,industrial,kindergarten,kiosk,manufacture,monastery,mosque,office,parking,pavilion,public,residential,retail,roof,ruins,school,service,shed,silo,stable,stilt_house,storage_tank,sty,supermarket,synagogue,temple,tent,terrace,toilets,train_station,transformer_tower,transportation,university,warehouse,wayside_shrine" values_context="building" /> 5704 5714 <optional> 5705 5715 <reference ref="name_operator" /> 5706 5716 <combo key="building:levels" text="Levels above ground" values="1,2,3,4,5,6,7,8,9,10,11" text_context="building" /> … … 5716 5726 <list_entry value="yes" icon="presets/misc/entrance_yes.svg" /> 5717 5727 <list_entry value="main" icon="presets/misc/entrance_main.svg" /> 5718 5728 <list_entry value="service" icon="presets/misc/entrance_service.svg" /> 5729 <list_entry value="shop" icon="presets/misc/entrance_yes.svg" /> 5719 5730 <list_entry value="exit" icon="presets/misc/entrance_exit.svg" /> 5720 5731 <list_entry value="emergency" icon="presets/misc/entrance_emergency.svg" /> 5721 5732 <list_entry value="staircase" icon="presets/misc/entrance_yes.svg" /> … … 5752 5763 <space /> 5753 5764 <key key="man_made" value="works" /> 5754 5765 <text key="name" text="Name" /> 5766 <optional> 5767 <combo key="product" text="Product" values="bakery_products,beer,bricks,dairy,electronics,food,furniture,machinery,meat,oil,packaging,rice,steel,sugar"/> 5768 </optional> 5755 5769 </item> <!-- Works --> 5756 5770 <item name="Chimney" icon="presets/landmark/chimney.svg" type="node,closedway" preset_name_label="true"> 5757 5771 <link wiki="Tag:man_made=chimney" /> … … 7977 7991 <link wiki="Tag:amenity=vending_machine" /> 7978 7992 <space /> 7979 7993 <key key="amenity" value="vending_machine" /> 7980 <multiselect key="vending" text="Vending products" values="admission_tickets;animal_feed;bicycle_tube;cigarettes;coffee;condoms;drinks;elongated_coin;excrement_bags;food; milk;newspapers;parking_tickets;parcel_pickup;parcel_mail_in;public_transport_tickets;SIM_cards;stamps;sweets;telephone_vouchers;toys;water" values_searchable="true" />7994 <multiselect key="vending" text="Vending products" values="admission_tickets;animal_feed;bicycle_tube;cigarettes;coffee;condoms;drinks;elongated_coin;excrement_bags;food;fuel;milk;newspapers;parking_tickets;parcel_pickup;parcel_mail_in;public_transport_tickets;SIM_cards;stamps;sweets;telephone_vouchers;toys;water" values_searchable="true" /> 7981 7995 <text key="operator" text="Operator" /> 7982 7996 <text key="ref" text="Reference number" /> 7983 7997 <preset_link preset_name="Payment Methods" />