Changeset 7926 in josm for trunk/data


Ignore:
Timestamp:
2015-01-05T15:10:53+01:00 (5 years ago)
Author:
Klumbumbus
Message:

see #10414 - add preset for construction=*; extend wrong highway tags on node validator test

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r7917 r7926  
    701701                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:construction" />
    702702            <key key="highway" value="construction" />
     703            <combo key="construction" text="Highway type" values="motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,secondary_link,tertiary,tertiary_link,unclassified,residential,service,bus_guideway,bridleway,living_street,pedestrian,track,path,footway,cycleway,steps" values_context="Highway" />
    703704            <optional>
    704705                <text key="name" text="Name" />
     
    770771            <space />
    771772            <key key="junction" value="roundabout" />
    772             <combo key="highway" text="Type" values="motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,tertiary,unclassified,residential,living_street,service,bus_guideway,construction" />
     773            <combo key="highway" text="Type" values="motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,tertiary,unclassified,residential,living_street,service,bus_guideway,construction" values_context="Highway" />
    773774            <optional>
    774775                <reference ref="name_layer" />
     
    895896            <space />
    896897            <optional text="Edit Highway Attributes:">
    897                 <combo key="highway" text="Highway" values="motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,tertiary,unclassified,residential,living_street,service,bus_guideway,construction" />
     898                <combo key="highway" text="Highway" values="motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,tertiary,unclassified,residential,living_street,service,bus_guideway,construction" values_context="Highway" />
    898899                <check key="oneway" text="Oneway" />
    899900            </optional>
  • trunk/data/validator/highway.mapcss

    r7827 r7926  
    1717}
    1818
    19 node[highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway/][highway!=motorway_junction][highway!=services] {
     19node[highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway|cycleway|bus_guideway|bridleway/][highway!=motorway_junction][highway!=services] {
    2020  throwWarning: tr("wrong highway tag on a node");
    2121  assertMatch: "node highway=primary";
Note: See TracChangeset for help on using the changeset viewer.