fixing-polygons-in-osm icon indicating copy to clipboard operation
fixing-polygons-in-osm copied to clipboard

Touching outer rings

Open wolfbert opened this issue 7 years ago • 2 comments

While touching inner rings are permitted in osm, how about touching outer rings?

JOSM sees this as an error, and it also cannot be handled by OGC conforming functions. These rings are sometimes used in an attempt to group neighbouring buildings (which can usually be expressed in some other way) and sometimes just plain unnecessary,

wolfbert avatar Apr 06 '17 17:04 wolfbert

Rules here are the same as for OGC/simple features. Outer rings are never allowed to touch in a line, in that case, just remove that line. Outer rings are allowed to touch in points (think of the figure 8), but the rules are more complex there.

joto avatar Apr 07 '17 07:04 joto

It might be helpful to put this in the Wiki examples as well.

wolfbert avatar Apr 08 '17 05:04 wolfbert