logo separator

[mkgmap-dev] HGT - getElevation()

From Andrzej Popowski popej at poczta.onet.pl on Sun Jan 21 16:53:01 GMT 2018

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


More information about the mkgmap-dev mailing list