openpoiservice icon indicating copy to clipboard operation
openpoiservice copied to clipboard

Osmium not able parse polygons with inner rings

Open TimMcCauley opened this issue 5 years ago • 0 comments

See here https://github.com/osmcode/libosmium/issues/225.

Whilst importing osm files osmium will raise a RuntimeError when a polygon has inner rings.

How to solve: before parsing to wkbFactory.create_multipolygon(o) make sure that only the outer ring of the polygon is used.

TimMcCauley avatar Apr 04 '20 19:04 TimMcCauley