Hi Frank,

> there is no predefined size for HGT's.

I mean this code in HGTReader.cs:

if (!dummydataonerror)
  ...
else {
  Minimum = Maximum = NOVALUE;
  data = new Int16[1201 * 1201];
  for (int i = 0; i < data.Length; i++)
  data[i] = NOVALUE;
  NotValid = data.Length;
}

This is the part, that I have modified, so the size of "data" depends on input option.

--
Best regards,
Andrzej
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to