Changeset 17468 in josm
- Timestamp:
- 2021-01-18T14:54:18+01:00 (4 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/defaultpresets.xml
r17466 r17468 4099 4099 <preset_link preset_name="Building" /> 4100 4100 </item> <!-- Community Centre --> 4101 <item name="Embassy" icon="presets/service/embassy.svg" type="node,closedway,multipolygon" preset_name_label="true">4102 <link wiki="Tag:amenity=embassy" />4103 <space />4104 <key key="amenity" value="embassy" />4105 <reference ref="name_oh_wheelchair" />4106 <reference ref="link_contact_address" />4107 </item> <!-- Embassy -->4108 4101 <item name="Courthouse" icon="presets/service/courthouse.svg" type="node,closedway,multipolygon" preset_name_label="true"> 4109 4102 <link wiki="Tag:amenity=courthouse" /> … … 7473 7466 <reference ref="link_contact_address" /> 7474 7467 </item> <!-- Private company --> 7468 <item name="Diplomatic" icon="presets/office/diplomatic.svg" name_context="office" type="node,closedway,multipolygon" preset_name_label="true"> 7469 <link wiki="Tag:office=diplomatic" /> 7470 <space /> 7471 <key key="office" value="diplomatic" /> 7472 <text key="name" text="Name" /> 7473 <combo key="diplomatic" text="Type" values="consulate,embassy,liaison" /> 7474 <reference ref="oh_wheelchair" /> 7475 <reference ref="link_contact_address" /> 7476 </item> <!-- Diplomatic --> 7475 7477 <item name="Educational institution" icon="presets/office/educational_institution.svg" name_context="office" type="node,closedway,multipolygon" preset_name_label="true"> 7476 7478 <link wiki="Tag:office=educational_institution" /> -
trunk/resources/data/validator/deprecated.mapcss
r17466 r17468 2246 2246 } 2247 2247 2248 /* #20338 */ 2249 *[amenity=embassy] { 2250 throwWarning: tr("{0} is deprecated", "{0.tag}"); 2251 suggestAlternative: "office=diplomatic + diplomatic=embassy"; 2252 group: tr("deprecated tagging"); 2253 fixAdd: "office=diplomatic"; 2254 fixChangeKey: "amenity => diplomatic"; 2255 } 2256 2248 2257 /* When tags are deprecated they should be added to ignoretags.cfg too. */ -
trunk/resources/data/validator/ignoretags.cfg
r17467 r17468 702 702 E:kp 703 703 E:pk 704 K:amenity=embassy 704 705 ; 705 706 ; Tags not yet decided (to remove from this section when added or moved up when deprecated) -
trunk/resources/styles/standard/elemstyles.mapcss
r17258 r17468 1736 1736 area[office=association], 1737 1737 area[office=company], 1738 area[office=diplomatic], 1738 1739 area[office=educational_institution], 1739 1740 area[office=employment_agency], … … 1772 1773 node[office=company] { 1773 1774 icon-image: "presets/office/private_company.svg"; 1775 set icon_z17; 1776 } 1777 node[office=diplomatic] { 1778 icon-image: "presets/office/diplomatic.svg"; 1774 1779 set icon_z17; 1775 1780 } … … 2986 2991 } 2987 2992 area[amenity=townhall], 2988 area[amenity=embassy],2989 2993 area[amenity=community_centre] { 2990 2994 fill-color: amenity_light#f7efb7; … … 2992 2996 node[amenity=townhall] { 2993 2997 icon-image: "presets/service/townhall.svg"; 2994 set icon_z17;2995 }2996 node[amenity=embassy] {2997 icon-image: "presets/service/embassy.svg";2998 2998 set icon_z17; 2999 2999 }
Note:
See TracChangeset
for help on using the changeset viewer.