Changeset 15648 in josm
- Timestamp:
- 2020-01-06T22:13:13+01:00 (5 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r15647 r15648 1115 1115 <combo key="crossing" text="Pedestrian crossing type" values="uncontrolled,traffic_signals,unmarked,no" /> 1116 1116 <combo key="crossing_ref" text="Crossing type name (UK)" values="zebra,pelican,toucan,puffin,pegasus,tiger" /> 1117 <combo key="kerb" text="Kerb" values="flush,lowered,no,raised,rolled,yes" values_context="kerb" /> 1117 1118 <check key="crossing:island" text="With island" /> 1118 1119 <check key="button_operated" text="Button operated" /> … … 1160 1161 </combo> 1161 1162 <combo key="crossing_ref" text="Crossing type name (UK)" values="zebra,pelican,toucan,puffin,pegasus,tiger" values_searchable="true" /> 1163 <combo key="kerb" text="Kerb" values="flush,lowered,no,raised,rolled,yes" values_context="kerb" /> 1162 1164 <combo key="supervised" text="Crossing attendant" delimiter="|" values="yes|no|06:00-20:00|Mo-Fr 09:00-18:00,Sa 08:00-14:00|May-Sep 09:30-12:30,14:15-19:30" /> 1163 1165 <combo key="tactile_paving" text="Tactile Paving" values="yes,no,incorrect" /> … … 1993 1995 </item> <!-- Bus Guideway --> 1994 1996 <separator/> 1997 <item name="Railway construction" icon="presets/transport/railway/railway_construction.svg" type="way" preset_name_label="true"> 1998 <link wiki="Key:construction" /> 1999 <key key="railway" value="construction" /> 2000 <combo key="construction" text="Railway type" values="rail,narrow_gauge,monorail,preserved,light_rail,subway,tram,funicular" /> 2001 <optional> 2002 <combo key="usage" text="Usage" values="main,branch,industrial,military,tourism,freight" /> 2003 <reference ref="railway_service_gauge_electrified_yesno" /> 2004 </optional> 2005 </item> <!-- Railway construction --> 1995 2006 <item name="Disused Rail" icon="presets/transport/railway/disused_rail.svg" type="way" preset_name_label="true"> 1996 2007 <link wiki="Tag:railway=disused" /> … … 4073 4084 <key key="recycling_type" value="container" /> 4074 4085 <text key="operator" text="Operator" /> 4075 <reference ref="oh_wheelchair" /> 4086 <combo key="opening_hours" text="Throw in times" delimiter="|" values="24/7|Mo-Fr 06:30-12:30,15:30-20:00; Sa 08:00-12:00; PH off" values_no_i18n="true" /> 4087 <combo key="wheelchair" text="Wheelchairs" values="yes,limited,no" /> 4076 4088 <space /> 4077 4089 <checkgroup columns="4"> … … 4751 4763 <link wiki="Key:building" /> 4752 4764 <space /> 4753 <combo key="building" text="Building" values="allotment_house,bakehouse,barn,basilica,cabin,carport,cathedral,chapel,church,college,commercial,construction,cowshed,farm_auxiliary,garage,garages,gasometer,g er,greenhouse,hangar,hospital,industrial,kindergarten,manufacture,mosque,office,public,retail,roof,ruins,school,service,shed,silo,stable,storage_tank,supermarket,synagogue,temple,toilets,train_station,transformer_tower,transportation,university,warehouse,yes" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />4765 <combo key="building" text="Building" values="allotment_house,bakehouse,barn,basilica,cabin,carport,cathedral,chapel,church,college,commercial,construction,cowshed,farm_auxiliary,garage,garages,gasometer,greenhouse,hangar,hospital,industrial,kindergarten,manufacture,mosque,office,public,retail,roof,ruins,school,service,shed,silo,stable,storage_tank,supermarket,synagogue,temple,toilets,train_station,transformer_tower,transportation,university,warehouse,yes" values_context="building" default="yes" match="keyvalue!" values_searchable="true" /> 4754 4766 <optional> 4755 4767 <text key="name" text="Name" /> … … 4762 4774 <link wiki="Key:building" /> 4763 4775 <space /> 4764 <combo key="building" text="Building" values="yes,residential,apartments, house,hotel,hut,bungalow,dormitory,terrace,detached,farm" default="residential" match="keyvalue!" values_context="building" values_searchable="true" />4776 <combo key="building" text="Building" values="yes,residential,apartments,ger,house,hotel,hut,bungalow,dormitory,terrace,detached,farm" default="residential" match="keyvalue!" values_context="building" values_searchable="true" /> 4765 4777 <optional> 4766 4778 <text key="name" text="Name" /> … … 6677 6689 </item> <!-- Caterer --> 6678 6690 <separator/> <!-- food group --> 6679 <item name="Upholsterer" type="node,closedway,multipolygon" preset_name_label="true">6691 <item name="Upholsterer" icon="presets/craft/upholsterer.svg" type="node,closedway,multipolygon" preset_name_label="true"> 6680 6692 <link wiki="Tag:craft=upholsterer" /> 6681 6693 <space /> … … 6776 6788 <reference ref="link_contact_address" /> 6777 6789 </item> <!-- Pottery --> 6778 <item name="Gardener" type="node,closedway,multipolygon" preset_name_label="true">6790 <item name="Gardener" icon="presets/craft/gardener.svg" type="node,closedway,multipolygon" preset_name_label="true"> 6779 6791 <link wiki="Tag:craft=gardener" /> 6780 6792 <space /> … … 6783 6795 <reference ref="link_contact_address" /> 6784 6796 </item> <!-- Gardener --> 6785 <item name="Shoemaker" type="node,closedway,multipolygon" preset_name_label="true">6797 <item name="Shoemaker" icon="presets/craft/shoemaker.svg" type="node,closedway,multipolygon" preset_name_label="true"> 6786 6798 <link wiki="Tag:craft=shoemaker" /> 6787 6799 <space /> -
trunk/data/validator/combinations.mapcss
r15635 r15648 270 270 } 271 271 272 /* {0.tag} together with {1.tag}, see #17950, #17330, #17623, #17592, #17594, #17542, #16861, #16147, #10186 */ 272 /* {0.tag} together with {1.tag}, see #18411, #17950, #17330, #17623, #17592, #17594, #17542, #16861, #16147, #10186 */ 273 *[barrier=kerb][kerb=no], 274 way[highway=construction][construction=yes], 275 way[railway=construction][construction=yes], 273 276 *[man_made=bridge][bridge=yes], 274 277 *[man_made=tunnel][tunnel=yes], … … 649 652 group: tr("suspicious tag combination"); 650 653 } 654 655 /* #18374 */ 656 *[amenity=recycling][collection_times="24/7"][!opening_hours], 657 *[amenity=recycling][collection_times ][!opening_hours][collection_times=~/[a-z]-[A-Z].*[0-9]-[0-9]/] { 658 throwWarning: tr("{0} together with {1}. Probably {2} is meant.", "{1.key}", "{0.tag}", "{2.key}"); 659 group: tr("suspicious tag combination"); 660 fixChangeKey: "collection_times => opening_hours"; 661 /* spaces in asserts are not yet supported 662 assertMatch: "node amenity=recycling collection_times=Mo-Fr 06:00-20:00"; 663 assertNoMatch: "node amenity=recycling collection_times=Mo-Fr 15:00"; 664 assertNoMatch: "node amenity=recycling collection_times=Mo 08:00-11:00"; 665 assertNoMatch: "node amenity=recycling collection_times=Sa[2,4] 8:00-11:00"; 666 */ 667 } 668 *[amenity=recycling][collection_times="24/7"][opening_hours], 669 *[amenity=recycling][collection_times ][opening_hours][collection_times=~/[a-z]-[A-Z].*[0-9]-[0-9]/] { 670 throwWarning: tr("{0} together with {1}. Probably {2} is meant.", "{1.key}", "{0.tag}", "{2.key}"); 671 group: tr("suspicious tag combination"); 672 } -
trunk/data/validator/deprecated.mapcss
r15636 r15648 543 543 544 544 /* see #11070 */ 545 *[kerb=unknown], 545 546 *[lock=unknown], 546 547 *[hide=unknown], … … 1069 1070 } 1070 1071 1072 /* #18517 */ 1071 1073 *[office=administrative] { 1072 1074 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1073 group: tr("deprecated tagging");1074 1075 suggestAlternative: "office=government"; 1076 group: tr("deprecated tagging"); 1077 fixAdd: "office=government"; 1075 1078 } 1076 1079 … … 1854 1857 group: tr("deprecated tagging"); 1855 1858 } 1859 1860 *[sloped_curb=yes][!kerb], 1861 *[sloped_curb=both][!kerb] { 1862 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1863 suggestAlternative: "kerb=lowered"; 1864 group: tr("deprecated tagging"); 1865 fixRemove: "sloped_curb"; 1866 fixAdd: "kerb=lowered"; 1867 } 1868 *[sloped_curb=no][!kerb] { 1869 throwWarning: tr("{0} is deprecated", "{0.tag}"); 1870 suggestAlternative: "kerb=yes"; 1871 group: tr("deprecated tagging"); 1872 fixRemove: "sloped_curb"; 1873 fixAdd: "kerb=yes"; 1874 } 1875 *[sloped_curb][sloped_curb !~ /^(yes|both|no)$/][!kerb], 1876 *[sloped_curb][kerb] { 1877 throwWarning: tr("{0} is deprecated", "{0.key}"); 1878 suggestAlternative: "kerb=*"; 1879 group: tr("deprecated tagging"); 1880 } -
trunk/data/validator/highway.mapcss
r15314 r15648 158 158 fixAdd: "railway=level_crossing"; 159 159 } 160 161 node[highway=crossing][barrier=kerb].is_in_major_road { 162 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 163 suggestAlternative: "kerb=*"; 164 group: tr("suspicious tag combination"); 165 } -
trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java
r15618 r15648 881 881 "lexus", // lexus TOYOTA MOTOR CORPORATION 882 882 "lgbt", // lgbt Afilias Limited 883 "liaison", // liaison Liaison Technologies, Incorporated884 883 "lidl", // lidl Schwarz Domains und Services GmbH & Co. KG 885 884 "life", // life Trixy Oaks, LLC -
trunk/styles/standard/elemstyles.mapcss
r15637 r15648 3149 3149 set icon_z17; 3150 3150 } 3151 node[craft=shoemaker] [!is_prop_set(icon-image)]{3152 icon-image: "presets/ misc/no_icon.svg";3151 node[craft=shoemaker] { 3152 icon-image: "presets/craft/shoemaker.svg"; 3153 3153 set icon_z17; 3154 3154 } … … 3176 3176 set icon_z17; 3177 3177 } 3178 node[craft=gardener] [!is_prop_set(icon-image)]{3179 icon-image: "presets/ misc/no_icon.svg";3178 node[craft=gardener] { 3179 icon-image: "presets/craft/gardener.svg"; 3180 3180 set icon_z17; 3181 3181 } … … 3232 3232 set icon_z17; 3233 3233 } 3234 node[craft=upholsterer] [!is_prop_set(icon-image)]{3235 icon-image: "presets/ misc/no_icon.svg";3234 node[craft=upholsterer] { 3235 icon-image: "presets/craft/upholsterer.svg"; 3236 3236 set icon_z17; 3237 3237 }
Note:
See TracChangeset
for help on using the changeset viewer.