Changeset 8147 in josm


Ignore:
Timestamp:
2015-03-20T22:48:51+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #11241 - add man_made=cutline (preset, mappaint, validator); syntax fix (missing comma)

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8146 r8147  
    73727372            <reference ref="leaf" />
    73737373        </item> <!-- Forest -->
     7374        <item name="Cutline" icon="styles/standard/misc/landmark/cutline.svg" type="way" preset_name_label="true">
     7375            <link href="http://wiki.openstreetmap.org/wiki/Tag:man_made=cutline" />
     7376            <space />
     7377            <key key="man_made" value="cutline" />
     7378            <combo key="cutline" text="Type" values="border,firebreak,hunting,loggingmachine,pipeline,piste,section" values_context="cutline" />
     7379        </item> <!-- Cutline -->
    73747380        <item name="Grassland" icon="styles/standard/misc/landuse/meadow.svg" type="closedway,relation" preset_name_label="true">
    73757381            <link href="http://wiki.openstreetmap.org/wiki/Tag:natural=grassland"
  • trunk/data/validator/combinations.mapcss

    r8121 r8147  
    105105*[reservoir_type               ][landuse!=reservoir][water!=reservoir],
    106106*[bridge:movable               ][bridge!=movable],
    107 *[parking                      ][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking)$/]
     107*[parking                      ][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking)$/],
     108*[cutline                      ][man_made!=cutline],
    108109*[bunker_type                  ][military!=bunker] {
    109110  throwWarning: tr("{0} without {1}", "{0.key}", "{1.tag}");
  • trunk/data/validator/geometry.mapcss

    r8139 r8147  
    66node[man_made=embankment],
    77node[man_made=groyne],
     8node[man_made=cutline],
     9node[cutline],
    810node[aerialway=cable_car],
    911node[aerialway=gondola],
  • trunk/styles/standard/elemstyles.mapcss

    r8143 r8147  
    14421442node[man_made=water_works] {
    14431443    icon-image: "misc/landmark/water_works.png";
     1444    set icon_z17;
     1445    text: auto;
     1446}
     1447way[man_made=cutline] {
     1448    width: 2;
     1449    color: cutline#99ff55;
     1450}
     1451node[man_made=cutline] {
     1452    icon-image: "misc/deprecated.png";
    14441453    set icon_z17;
    14451454    text: auto;
Note: See TracChangeset for help on using the changeset viewer.