-
Notifications
You must be signed in to change notification settings - Fork 5
Inline Validation Paint Style Information
Mappers can use this style in JOSM by copying the link below and adding it to the list of paint styles in the JOSM preferences window.
Style Name | Description | Link |
---|---|---|
Inline_Validation.mapcss | Validate map data while editing. | https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip |
To add the paint style to JOSM, click on the Windows menu and go to Map Paint Styles… which will open this menu:
Then click the paint style settings button at lower right.
Click the plus sign at upper right to add a new one.
Type a name like Inline Validation or whatever you'd like, and put https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip
in the URL field, and the paint style will appear in your Map Paint Styles window.
If you're already using this paint style in JOSM, it was updated Dec. 18, 2018. You may need to clear JOSM's cache for the new checks to appear. To do that, go to Preferences in JOSM, scroll to the bottom, click the Expert mode
box and then scroll to the very bottom and select "Advanced Preferences." Then change mirror.maxtime
to 10 and the paint style will update. Once it updates, change mirror.maxtime
back to the original value (usually 24000.)
This paint style uses MapCSS to flag a variety of data situations for review. Proactively flagging for incorrect tag combinations, missing tags, or suspicious data can help identify errors much faster than reviewing each feature.
This style is not a replacement for JOSM Validation Checks and is intended to suppliment the JOSM Validation Checks.
- Roundabout-Link Check
- Missing Roundabout Tag Check
- Suspicious Roundabout Direction
- Missing One Way on Motorway
- Missing Layer Check
- Building-Road Connection Check
- BuildingSnapped2Building Style
- Building Inside Building Check
- Large Building Check
- Waterway Connected To Bridge
- Continuous Roads Check
- Building Crossing Building
- Floating Roads
- Dead-End Oneways
This check will flag highway_link features that have the junction=roundabout tag; per the OSM wiki, this is not correct roundabout attribution. Flags on motorway_link, trunk_link, primary_link, secondary_link, and tertiary_link.
This check will flag features that should most likely have the junction=roundabout tag but do not. Flags closedways for motorway, trunk, primary, secondary, and tertiary.
This check will flag features that have roundabout direction set in the opposite direction of the National direction of travel.
This check will flag motorway and motorway_link features that do not have a one way tag set. Per the OSM wiki, it is best practice to set oneway=yes on motorways even though it is implied. Oneway=yes is not implied on motorway_link, however.
This check looks for missing or incorrectly set layer values on bridges/tunnels:
- Missing layer on feature with [bridge=yes] or [tunnel=yes]
- Incorrect layer tag set on bridge/tunnel (ex. layer=-1 on a bridge or layer=1 on a tunnel)
Missing layer=1 on bridge=yes:
Missing layer=-1 on tunnel=yes:
This check will render a red triangle when a road is connected to a building. Pedestrian/cycle ways are excluded from this check.
This check will render nodes as triangles instead of default node shapes when two buildings share a single node. This is especially useful when verifying that two buildings which share a wall are correctly snapped together.
This check will flag buildings that are digitized inside larger buildings - multipolygon buildings are not flagged.
This check will flag buildings that are oversized and most likely incorrectly tagged - the largest building in the world does not flag under this check.
This check will flag waterway and bridge junctions as a small triangle.
This setting styles highways in a specific way to look for 'run-on' roads. For example, a single way used to draw in an entire city will be easily identifiable using this setting. The setting must be enabled in "Style settings" to become active.
With the setting active, it is possible to identify the continuous road:
This check will flag buildings which cross other building features, displaying a text warning in the center of each building and highlighting the outline red.
This check will flag highways which don't share a connection to any other highway. These highways have to be within your downloaded area and already exist as features (not something you have just drawn).
This check will flag oneway roads which do not connect to any other road on either end of the highway. Roads which are either impossible to get in, or out of.
For more information please contact our community project lead Andrew Wiseman.