logo separator

[mkgmap-dev] [Patch] Overflow in splitter node counters

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Apr 2 15:36:23 BST 2012


Hi Thorsten,

> Date: Mon, 2 Apr 2012 16:13:52 +0200
> From: kukuk at suse.de
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] [Patch] Overflow in splitter node counters
> 
> 
> Hi Gerd,
> 
> On Mon, Apr 02, GerdP wrote:
> 
> > Hi Thorsten,
> > 
> > attached is a patch for the problem reported here:
> > 
> > http://gis.19327.n5.nabble.com/Bug-in-splitter-tp5610856p5610856.html
> > 
> > I don't have the data nor the machine to test it, so I tried to find all
> > places were nodes are counted and changed the variables to long.
> 
> Thanks, at least for me it's working now.

Fine. Good to hear.

> 
> > I did not find a good explanation for the small difference in the numbers:
> > osmconvert reported 2518069911 nodes, which is
> >  ~ 2.518.069.911 -(2^31 - 1) = 370.586.264
> > - 2^31 + 370.586.264 =* -1.776.897.384*
> > but splitter r200 reported * -1.776.905.107* nodes
> > The formatting routine is not the reason. Any ideas?
> 
> The SRTM data has some duplicate nodes (duplicate as of same
> lat/lon, but different ID). Does one of the tools ignore them?
> At least mkgmap warns about them.
> Else no, I have no idea.

What is the value that the patched splitter reports for the coords occupancy?
Here is what I see for a small file:
...
***********************************************************
Final statistics
***********************************************************
Needed dictionary entries: 25 of 65535
coords occupancy
MAP occupancy: 7.544.535
...

Ciao,
Gerd

> 
>   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 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/20120402/37f366d6/attachment.html 


More information about the mkgmap-dev mailing list