Hi WanMil, sorry, my example was wrong. The problem occurs if the last (outer) polygon has 4 points and coords.size() is 3.
Gerd GerdP wrote > > even with the patch the assertion problem still occurs in the following > situation: > An area with 2 polygons, first polygon has 4 points but two of them are > "equal" using the integer values. > Thus, coords.size() is 3 and the first polygon is not added to outputs. If > the next polygon is an inner one and is > aded to outputs. Result: we hit this assertion: > -- View this message in context: http://gis.19327.n5.nabble.com/PATCH-Again-NullPointerException-tp5471749p5489897.html Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
