
Hi WanMil, you are right, they are obsolete. Gerd WanMil wrote
Gerd,
one more question about the patch: Are the min/max lat/lon variables used? I think they can be removed but I fear that I have overseen something important again.... ;-)?
WanMil
Hi,
as a result of previous discussions here is th new patch.
http://gis.19327.n5.nabble.com/file/n5471749/verify_boundary_v3.patch
verify_boundary_v3.patch
Changes: Verify if rounding errors change the direction of a way (clockwise/counterclockwise order), if that happens, change the order so that Way.clockwise() returns the wanted result.
The patch introduces a new method
Java2DConverter.verifiedAreaToShapes()
instead of changing the existing
Java2DConverter.areaToShapes(area)
I did this because Java2DConverter.areaToShapes(area) is called in other places and I wanted to avoid side effects. Maybe someone who knows the sources in PolygonSplitterBase.java and PolygonClipper.java can look at this and see if they benefit also from the verified routine?
Gerd
mkgmap-dev mailing list mkgmap-dev@.org http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- View this message in context: http://gis.19327.n5.nabble.com/PATCH-Again-NullPointerException-tp5471749p54... Sent from the Mkgmap Development mailing list archive at Nabble.com.