logo separator

[mkgmap-dev] Multipolygon-Relation checks in mkgmap

From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed Jan 25 09:05:41 GMT 2017

Hi all,

I'd like to rewrite the code in MultiPolygonRelation so that it tolerates more mp-rels.
For example, the relation  http://www.openstreetmap.org/relation/2199651
produces these warnings:
WARN: uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation  f:\osm\rel2199651.osm: Some polygons are intersecting. This is not allowed in multipolygons.
WARN: uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation  f:\osm\rel2199651.osm: - http://www.openstreetmap.org/way/165084794
WARN: uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation  f:\osm\rel2199651.osm: - http://www.openstreetmap.org/way/165084810
WARN: uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation  f:\osm\rel2199651.osm: Polygon 4611686018427387906(8P)(165084810[8P]) carries role inner but is not inside any other polygon. Potentially it does not belong to this multipolygon.
The inner way touches the outer way in one point. My understanding is that this is correct, mkgmap should not complain about it.

 OK?
Gerd



More information about the mkgmap-dev mailing list