logo separator

[mkgmap-dev] [PATCH] Again NullPointerException

From GerdP gpetermann_muenchen at hotmail.com on Fri Feb 10 07:33:16 GMT 2012

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

--
View this message in context: http://gis.19327.n5.nabble.com/PATCH-Again-NullPointerException-tp5471749p5471749.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.



More information about the mkgmap-dev mailing list