Changeset 18552 in josm for trunk/resources
- Timestamp:
- 2022-09-08T15:27:14+02:00 (2 years ago)
- Location:
- trunk/resources/data
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/defaultpresets.xml
r18548 r18552 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"> … … 53 53 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 54 54 </chunk> 55 <chunk id="lit_common_no_times"> 56 <combo key="lit" text="Lit" values="yes,no,24/7,automatic,limited,disused"/> 57 </chunk> 55 58 <chunk id="highway_yesno_incline_oneway_lit_width"> 56 59 <checkgroup columns="4"> … … 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)" /> … … 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"> … … 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 --> … … 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> … … 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> … … 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> … … 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> … … 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" /> … … 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" /> … … 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> … … 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" /> … … 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 --> … … 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 --> … … 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 --> … … 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 --> … … 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 --> … … 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 --> … … 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 --> … … 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 --> … … 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"> … … 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" /> … … 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" /> … … 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" /> … … 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"> … … 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" /> -
trunk/resources/data/validator/deprecated.mapcss
r18545 r18552 2400 2400 } 2401 2401 2402 /* Replaced by type=connectivity */ 2403 *[type="turnlanes:turns"] { 2404 throwWarning: tr("{0} is deprecated", "{0.tag}"); 2405 suggestAlternative: "type=connectivity"; 2406 group: tr("deprecated tagging"); 2407 } 2408 2402 2409 /* When tags are deprecated they should be added to ignoretags.cfg too. */ -
trunk/resources/data/validator/highway.mapcss
r18523 r18552 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 } -
trunk/resources/data/validator/ignoretags.cfg
r18545 r18552 104 104 E:interval 105 105 E:maxspeed 106 E:maxspeed:type 106 107 E:maxstay 107 108 E:maxweight:signed … … 732 733 E:voltage-low 733 734 E:toilet 735 K:type=turnlanes:turns 736 K:surface=paving_stones:30 734 737 ; 735 738 ; Tags not yet decided (to remove from this section when added or moved up when deprecated) 736 ; see josm tickets: 17770 15309 15774 16315 16658 16793 19982 737 ; 738 K:service=irrigation 739 K:man_made=tunnel 739 ; see josm tickets: 17770 15309 15774 16315 16658 16793 19982 21396 740 ; 741 K:advertising=board 740 742 K:amenity=childcare 741 K:landuse=logging 742 K:indoor=wall 743 K:indoor=room 744 K:indoor=corridor 745 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 746 749 K:crossing=zebra 750 K:emergency=access_point 751 K:golf=cartpath 752 K:healthcare:speciality=general 747 753 K:healthcare=alternative 754 K:healthcare=centre 755 K:healthcare=clinic 748 756 K:healthcare=dentist 749 757 K:healthcare=doctor 750 758 K:healthcare=hospital 751 759 K:healthcare=pharmacy 752 K:healthcare=clinic753 K:healthcare=centre754 760 K:healthcare=physiotherapist 755 761 K:healthcare=yes 756 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 757 775 K:man_made=water_tap 776 K:military=trench 777 K:natural=crevasse 778 K:path=crossing 779 K:railway=proposed 758 780 K:railway=tram_crossing 759 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:
Note:
See TracChangeset
for help on using the changeset viewer.