logo separator

[mkgmap-dev] Poor man's line draw order - mkgmap dropping extended type lines ?

From Mark Burton markb at ordern.com on Wed Oct 14 20:57:27 BST 2009

Hi Ivan,

It took me a little longer than expected (as I decided to revamp what
was there) but I have a patch for you to try (attached).

This limits the size of the extended type elements to 32KB for each of
the points/lines/shapes. I have no idea if that is a sensible limit but
you can alter it by changing these lines in MapSplitter.java:

	// maximum allowed amounts of points/lines/shapes with extended types
	private static final int MAX_XT_POINTS_SIZE = 0x8000;
	private static final int MAX_XT_LINES_SIZE  = 0x8000;
	private static final int MAX_XT_SHAPES_SIZE = 0x8000;

I hope it solves the problem.

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-limit-xt-size-in-subdiv-v1.patch
Type: text/x-patch
Size: 8933 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091014/268bf926/attachment.bin 


More information about the mkgmap-dev mailing list