Hi Gerd,

> Bicubic expects grid [-1,0,1,2] X [-1,0,1,2]
> fillArray  uses [0,1,2,3]X[0,1,2,3]

That's the reason for "-1" in following code:

h = rdr.ele(xLeft + x - 1, yBottom + y - 1);
eleArray[x][y] = h;

I have corrected some errors, will post a new patch soon.

--
Best regards,
Andrzej
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to