Changeset 10095 in josm for trunk/data


Ignore:
Timestamp:
2016-04-01T20:08:24+02:00 (3 years ago)
Author:
Klumbumbus
Message:

fix #8978 - deprecate amenity=public_building, add building=public

Location:
trunk/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r10094 r10095  
    45284528    </group> <!-- Place of Worship -->
    45294529    <group name="Public Building" icon="presets/townhall.png">
    4530         <item name="Public Building" icon="styles/standard/service.png" type="node,closedway,multipolygon" preset_name_label="true">
    4531             <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=public_building"
    4532                   es.href="http://wiki.openstreetmap.org/wiki/ES:Tag:amenity=public_building"
    4533                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:amenity=public_building"
    4534                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:amenity=public_building"
    4535                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:amenity=public_building" />
    4536             <space />
    4537             <key key="amenity" value="public_building" />
    4538             <reference ref="name_oh_wheelchair" />
    4539             <reference ref="link_contact_address" />
    4540         </item> <!-- Public Building -->
    45414530        <item name="Town Hall" icon="presets/townhall.png" type="node,closedway,multipolygon" preset_name_label="true">
    45424531            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=townhall"
     
    59855974                  uk.href="http://wiki.openstreetmap.org/wiki/Uk:Key:building" />
    59865975            <space />
    5987             <combo key="building" text="Building" values="yes,roof,garage,garages,industrial,school,hangar,commercial,service,train_station,barn,stable,cabin,farm_auxiliary,transportation,greenhouse,office,university,hospital,kindergarten,manufacture,warehouse,retail,shed,storage_tank,supermarket,gasometer,silo,cowshed,construction,basilica,cathedral,chapel,church,temple,mosque,synagogue,transformer_tower" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />
     5976            <combo key="building" text="Building" values="yes,roof,garage,garages,industrial,school,hangar,commercial,service,train_station,barn,stable,cabin,farm_auxiliary,transportation,greenhouse,office,university,hospital,kindergarten,manufacture,warehouse,retail,shed,storage_tank,supermarket,gasometer,silo,cowshed,construction,basilica,cathedral,chapel,church,temple,mosque,synagogue,transformer_tower,public" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />
    59885977            <text key="name" text="Name" />
    59895978            <combo key="building:levels" text="Levels" values="1,2,3,4,5,6,7,8,9,10,11" text_context="building" />
  • trunk/data/validator/deprecated.mapcss

    r10027 r10095  
    814814  suggestAlternative: "wall=noise_barrier";
    815815}
     816
     817/* #8978, 12588 */
     818*[amenity=public_building] {
     819  throwWarning: tr("{0} is deprecated", "{0.tag}");
     820  suggestAlternative: "amenity=townhall";
     821  suggestAlternative: "amenity=community_centre";
     822  suggestAlternative: "amenity=hospital";
     823  suggestAlternative: "leisure=sports_centre";
     824  suggestAlternative: "office=government";
     825  suggestAlternative: "building=hospital";
     826  suggestAlternative: "building=public";
     827  suggestAlternative: "...";
     828}
  • trunk/data/validator/ignoretags.cfg

    r10027 r10095  
    138138K:place=allotments
    139139K:building=civic
    140 K:building=public
    141140K:building=houseboat
    142141K:building=static_caravan
Note: See TracChangeset for help on using the changeset viewer.