logo separator

[mkgmap-dev] [PATCH] Again NullPointerException

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Feb 13 06:35:52 GMT 2012

Hi Thorsten,

If I got that right, you should have the files either in subdir removed, the program considers the
2nd dir in the parameter list to be the newer one:

java -cp mkgmap.jar uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryDiff <dir1> <dir2>

The four gpx files describe the areas that are covered (I prefer JOSM to look at them, but 
many orher tools are available), the _o at the end of the file name means that the area is an outer
area (_i would mean a hole within an other area)

Does that help?

Gerd

> Date: Sun, 12 Feb 2012 23:26:36 +0100
> From: kukuk at suse.de
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] [PATCH] Again NullPointerException
> 
> 
> Hi,
> 
> On Sun, Feb 12, WanMil wrote:
> 
> > Thorsten,
> > 
> > can you check the differences between patched and unpatched version?
> > 
> > There is a tool which compares two boundary directories and saves the 
> > differences as GPX files.
> > 
> > It is called:
> > java -cp mkgmap.jar 
> > uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryDiff <dir1> <dir2>
> > 
> > It creates a subdirectory named gpx with the differences. That should 
> > give a quick answer what happened.
> 
> Ok, I did that, but don't know how to interpret them.
> I have directories with files 0_o.gpx up to 3_o.gpx, which all
> contains a trkseg with 4 trkpt.
> 
> > Thanks!
> > WanMil
> > 
> > >
> > > 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
> > 
> > _______________________________________________
> > mkgmap-dev mailing list
> > mkgmap-dev at lists.mkgmap.org.uk
> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> -- 
> 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 lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120213/1da838cd/attachment.html 


More information about the mkgmap-dev mailing list