Changeset 5644 in josm


Ignore:
Timestamp:
2012-12-28T22:35:12+01:00 (12 years ago)
Author:
Don-vip
Message:

Validator - New tests for adresses (house numbers in associatedStreet relations):

  • HOUSE_NUMBER_WITHOUT_STREET = 2601;
  • DUPLICATE_HOUSE_NUMBER = 2602;
  • MULTIPLE_STREET_NAMES = 2603;
  • MULTIPLE_STREET_RELATIONS = 2604;
  • HOUSE_NUMBER_TOO_FAR = 2605;
  • HOUSE_NUMBER_ON_NON_BUILDING_AREA = 2606;
Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r5639 r5644  
    59295929            <roles>
    59305930                <role key="street" text="street" requisite="required" type="way,closedway" member_expression="highway" />
    5931                 <role key="house" text="house" requisite="required" type="node,way,closedway,relation" member_expression="&quot;addr:housenumber&quot;" />
     5931                <role key="house" text="house" requisite="required" type="node,closedway,relation" member_expression="&quot;addr:housenumber&quot;" />
    59325932            </roles>
    59335933        </item>
  • trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java

    r5548 r5644  
    2424import org.openstreetmap.josm.Main;
    2525import org.openstreetmap.josm.actions.ValidateAction;
     26import org.openstreetmap.josm.data.validation.tests.Addresses;
    2627import org.openstreetmap.josm.data.validation.tests.BuildingInBuilding;
    2728import org.openstreetmap.josm.data.validation.tests.Coastlines;
     
    107108        NodesDuplicatingWayTags.class, // ID 2401 .. 2499
    108109        PowerLines.class, // ID 2501 .. 2599
     110        Addresses.class, // ID 2601 .. 2699
    109111    };
    110112
Note: See TracChangeset for help on using the changeset viewer.