Changeset 8139 in josm for trunk


Ignore:
Timestamp:
2015-03-15T00:00:47+01:00 (10 years ago)
Author:
Klumbumbus
Message:

see #10837 - improve building:part preset

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8138 r8139  
    50885088            <link href="http://wiki.openstreetmap.org/wiki/Key:building:part" />
    50895089            <space />
    5090             <key key="building:part" value="yes" />
     5090            <combo key="building:part" text="Building part" 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" />
    50915091            <text key="name" text="Name" />
    50925092            <combo key="building:levels" text="Levels" values="1,2,3,4,5,6,7,8,9,10,11" text_context="building" />
  • trunk/data/validator/geometry.mapcss

    r8136 r8139  
    6464node[aeroway=apron],
    6565node[power=plant],
    66 node[building:part=yes],
     66node[building:part],
    6767node[source:outline] {
    6868  throwWarning: tr("{0} on a node. Should be drawn as an area.", "{0.tag}");
  • trunk/styles/standard/elemstyles.mapcss

    r8137 r8139  
    291291    fill-color: building#cb9999;
    292292}
    293 area[building:part=yes] {
    294     fill-color: building#dcbbbb;
     293area[building:part][!building:part?!] {
     294    fill-color: buildingpart#dcbbbb;
    295295}
    296296node[building][!building?!] {
Note: See TracChangeset for help on using the changeset viewer.