Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.54 KB

openBoundaryCheck.md

File metadata and controls

31 lines (23 loc) · 1.54 KB

OpenBoundaryCheck

Description

This check attempts to check for Admin Boundary Relations that should be closed polygons but are not closed.

Configurables

Live Examples

Yakintas neighborhood is not a vclosed boundary but should be.

  1. The relation id:8284136 is not a closed boundary.

Seattle is a false positive since it is a closed boundary.

  1. The relation id:237385 is a closed boundary and would not be flagged.

Code Review

This check evaluates Relations , finding admin boundaries that are not closed.

Validating the Object

We first validate that the incoming object is:

  • Is a Relation
  • Is of type Boundary
  • Has admin_level tags
Flagging the Relation

Catch the OpenPolygonException while using the RelationOrAreaToMultiPolygonConverter to inform that the polygon is not closed.

Miscellaneous

To learn more about the code, please look at the comments in the source code for the check.
OpenBoundaryCheck.java