logo separator

[mkgmap-dev] [PATCH] Again NullPointerException

From GerdP gpetermann_muenchen at hotmail.com on Sun Feb 12 17:50:38 GMT 2012

Hi Thorsten,

well, I think that difference is okay. The patch itself doesn't change the
number of bytes that are written, but it changes the meaning. The data is
read again by the BoundaryPreparer.workoutBoundaryRelations()
method which interprets the data.
A boundary that is counterclockwise is considered to be a hole in an outer
Since the patch corrects a few missinterpretations, the
workoutBoundaryRelations() will probably produce different results when it
tries to find areas that lie within other areas.


Thorsten Kukuk wrote
> Hi Gerd,
> On Sat, Feb 11, Gerd Petermann wrote:
>> Hi Thorsten,
>> okay, so you have to wait until someone with a big machine tries it. I
>> may be able to download planet data, but I cannot run mkgmap on a file
>> containing planet boundaries. 
>> My machine  has max. ~3GB java heap available, that was just enough for
>> europe boundary data.
> I tried it now with my DACH extract. The differences are
> only small (two files) and this time the unpatched version
> is bigger than the one with your patch:
> -bounds_2200000_400000.bnd      2294004
> +bounds_2200000_400000.bnd      2293956
> -bounds_2350000_600000.bnd      1817189
> +bounds_2350000_600000.bnd      1816893
> All other 82 files have the same size.
>   Thorsten
> -- 
> Thorsten Kukuk, Project Manager/Release Manager SLES
> SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at .org
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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

More information about the mkgmap-dev mailing list