logo separator

[mkgmap-dev] [PATCH] make gps report correct exit when routing through roundabouts

From Mark Burton markb at ordern.com on Wed Feb 11 15:17:22 GMT 2009

Hi Paul,

Thanks for the report - sorry it failed.

Robert (or anyone else that knows), is this exception caused by points being
too close together? The code in BitWriter.java that's barfing is:

	public void putn(int bval, int nb) {
		int val = bval & ((1<<nb) - 1);
		int n = nb;

		// We need to be able to deal with more than 24 bits, but now we can't yet
		if (n >= 24)
			throw new IllegalArgumentException();


If so, what's the minimum distance between points?

If not, can you say why it needs 24 bits or more?

Cheers,

Mark



More information about the mkgmap-dev mailing list