simonpoole/mapsplit

incomplete ways

Closed this issue · 2 comments

Some tiles contain ways without referenced nodes. This seems to be the case when they are part of a multipolygon relation, but do not have nodes inside the tile themselves.

The "completeRelations" parameter is not set (defaults to false), so I would expect the relations to be incomplete, not the ways. And I read the Wiki description this way too.

An example is tile 4308_2856. It contains the incomplete ways 29433456, 29433458 (inners of 62921) and 77004276 (inner of 1174277).

158a607 should fix this,. The issue was in general relation members being added to tiles even if completeRelations was not set (the members -do- need to be iterated over to determine the geometry/tiles affected for the relation itself). Any consumer of OSM data needs to be able to deal with incomplete relations to start with so this change should not cause any further issues.

No further feedback