On Jul 10, 2009, at 19:01, Christian Gawron wrote:
Clinton Gladstone schrieb:
I was able to successfully compile a small area using ASTER tiles.
The
resulting map looked correct.
Hi Christian,
I did more testing using the complete ASTER tile ASTGTM_N49E008_dem.tif.
I received a lot of index out of bounds exceptions in methods markEdge
and traceByStepping. In all cases iy and p.iy were -1. Since I didn't
understand the context of the complete source code, I just added
checks to ensure that array "visited" was not accessed for these
values. This allowed the contour lines to be compiled.
Do these errors result from bad ASTER data? You may wish to consider
updating your patch to handle this condition.
Cheers.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev