logo separator

[mkgmap-dev] Bug in splitter?

From Thorsten Kukuk kukuk at suse.de on Sun Apr 1 20:48:25 BST 2012


I try to split SRTM data with splitter r200, but splitter only
creates one big tile.

Some interesting statistics from osmconvert:
nodes: 2518069911
ways: 27074150
node id min: 1
node id max: 2679465052

Ok, I'm a little bit above a 32bit signed integer, but:
Splitting nodes into areas containing a maximum of 6.000.000 nodes each...
Area (30.8935546875,-125.0244140625) to (50.2294921875,-101.9970703125) contains
 -1.776.905.107 nodes. DONE!

This looks like an overrun somewhere. At first I thought it's 
the 32bit int overflow, but for this the number is far too high.

Any ideas what's going wrong here?


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)

More information about the mkgmap-dev mailing list