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

Overlapping areas

Open wolfbert opened this issue 7 years ago • 4 comments

Another thing to fix in/with mps: overlapping landuses/naturals Often, mappers will overlay areas (rather than use distinct polygons or mps), which works for the map (due to rendering z-order), but not for database queries.

Examples:

  • lakes within a forest (to be excluded from forest multi/polygon)
  • different areas of wetland (to be marked with wetland=*; e.g. wetland with trees is wetland=swamp, not wetland on top of a regular forest)
  • farmyards/residential areas/meadow embedded in farmland/forest
  • industrial area embedded in residential area

Some examples can be seen nicely on the map, given that symbols are drawn after colored areas. This causes e.g. tree symbols on top of incorrectly overlaid water areas.

But: sometimes overlaps actually make sense Examples:

  • a quarry (for gravel) will often contain an artificial lake which is part of the mining operation and should therefore not be excluded from the quarry area
  • a park area containing patches of grass and forest
  • ornamental grass in residential areas (if too small for park)

So, as usual, judgement (and guidelines) will be required. In the above examples, the lake may or may not be part of the underlying area. That said, it's another huge area to be worked on.

wolfbert avatar Mar 16 '17 11:03 wolfbert

@wolfbert Yes, that is something we should eventually work on. But, as you noted, it very much depends on the tags. This needs somebody who want's to look at existing tagging practice and figure out tag combinations that are good/bad.

joto avatar Mar 16 '17 11:03 joto

One approach to the above is the discussion on the "landcover" tag, which might mean that there is a single layer of adjacent polygons describing the surface of the earth and another sparse one ("landuse") on top to describe human usage of that surface. Intersecting the two would give both an "is-distinct-from" and "is-part-of" relationship. No concensus has been reached however, and the tags are neither rendered nor in widespread use (19.000 at the moment). Also, the transition required would be substantial.

It seems that for the time beeing we'll have to work with what there is, and I'm happy to collect my thoughts in a document for discussion when the time comes.

wolfbert avatar Mar 17 '17 07:03 wolfbert

Just to add to the cases with forest that openstreetmap-carto made the intentional decision to move to a rendering where the tree overlay covers the inner areas so that these are more visible and eventually get fixed.

nebulon42 avatar Mar 19 '17 12:03 nebulon42

As I see Mapbox is analyzing this type of problems.

ImreSamu avatar May 03 '17 18:05 ImreSamu