logo separator

[mkgmap-dev] [PATCH v1] - Route centre tweaks

From Marko Mäkelä marko.makela at iki.fi on Wed Sep 23 12:27:39 BST 2009

On Tue, Sep 22, 2009 at 01:00:24PM +0100, Mark Burton wrote:
> Thanks to those who have tried yesterday's table A patch. Seems like it
> hasn't caused any problems (so far).
> Today's offering includes the table A tweak but it also increases one
> of the limits that determine when a route centre needs to be
> sub-divided. As far as I can tell, the limit was somewhat smaller than
> it should have been. So with this patch, fewer routing centres should
> be required (obviously depends on the map data). 

I generated the same map with the only difference being this patch.  The
file was a little smaller:

-rw-r--r-- 1 marko marko 36888576 22.9. 09:01 gmapsuppa.img
-rw-r--r-- 1 marko marko 36510720 23.9. 14:06 gmapsupp.img

> So please test this patch (it replaces the previous patch) and let me
> know if their are any issues.

Routing seems to be unaffected.  I tested the same route, both bicycle
(253 km) and car (204 km).

> You must enable assertions, otherwise if the data structures overflow
> you won't know until mapsource/gps barfs.

There are a few differences between the generated gmapsupp.img if I enable
assertions.  The files are of the same size, though.  Come to think of it,
the differences could be attributed to --max-jobs.  But the diff of hexdump
is only 64 lines, or 16 differing 16-byte blocks.


More information about the mkgmap-dev mailing list