Changeset 8136 in josm
- Timestamp:
- 2015-03-13T21:27:19+01:00 (10 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r8135 r8136 5062 5062 <combo key="building" text="Building" values="yes,roof,garage,garages,industrial,school,hangar,commercial,barn,farm_auxiliary,transportation,greenhouse,office,university,hospital,warehouse,retail,shed,cowshed,construction" values_context="building" default="yes" match="keyvalue!" values_searchable="true" /> 5063 5063 <text key="name" text="Name" /> 5064 <combo key="building:levels" text="Levels" values="1,2,3,4,5,6,7,8,9,10,11" text_context="building" /> 5065 <text key="height" text="Height (meters)" /> 5064 5066 </item> <!-- Building --> 5065 5067 <item name="Residential Building" icon="styles/standard/misc/landmark/building.png" type="node,closedway,relation" preset_name_label="true"> … … 5080 5082 <combo key="building" text="Building" values="residential,apartments,house,hut,dormitory,terrace,detached,farm,roof" default="residential" match="keyvalue!" values_context="building" values_searchable="true" /> 5081 5083 <text key="name" text="Name" /> 5084 <combo key="building:levels" text="Levels" values="1,2,3,4,5,6,7,8,9,10,11" text_context="building" /> 5085 <text key="height" text="Height (meters)" /> 5082 5086 </item> <!-- Residential Building --> 5087 <item name="Building part" icon="styles/standard/misc/landmark/building.png" type="closedway,relation" preset_name_label="true"> 5088 <link href="http://wiki.openstreetmap.org/wiki/Key:building:part" /> 5089 <space /> 5090 <key key="building:part" value="yes" /> 5091 <text key="name" text="Name" /> 5092 <combo key="building:levels" text="Levels" values="1,2,3,4,5,6,7,8,9,10,11" text_context="building" /> 5093 <combo key="building:min_level" text="Skipped Levels" values="1,2,3,4,5,6,7,8,9,10" text_context="building" /> 5094 <text key="height" text="Height (meters)" /> 5095 <text key="min_height" text="Skipped height (meters)" /> 5096 </item> <!-- Building part --> 5083 5097 <item name="Entrance" icon="styles/standard/misc/entrance-yes.png" type="node" preset_name_label="true"> 5084 5098 <link href="http://wiki.openstreetmap.org/wiki/Key:entrance" -
trunk/data/validator/geometry.mapcss
r8135 r8136 64 64 node[aeroway=apron], 65 65 node[power=plant], 66 node[building:part=yes], 66 67 node[source:outline] { 67 68 throwWarning: tr("{0} on a node. Should be drawn as an area.", "{0.tag}"); -
trunk/styles/standard/elemstyles.mapcss
r8135 r8136 291 291 fill-color: building#cb9999; 292 292 } 293 area[building:part=yes] { 294 fill-color: building#dcbbbb; 295 } 293 296 node[building][!building?!] { 294 297 icon-image: "misc/landmark/building.png"; … … 331 334 text: auto; 332 335 } 333 node[building=entrance] { 336 node[building=entrance], 337 node[building:part] { 334 338 icon-image: "misc/deprecated.png"; 335 339 set icon_z17;
Note:
See TracChangeset
for help on using the changeset viewer.