I need to export not only the height values from a DEM file but also the latitudes and longitudes. I can easily do this for the height values, simply exporting the file as ASCII. I have yet to find a way to export the latitudes and longitudes as separte arrays. That is - I need a latitude for each pixel and a longitued for each pixel. A 3 dimensional array would work fine but I'd be happy with 3 ASCII files with the same number of rows and colums as the original DEM file. We are looking into writing a program to do this, if this info is accessible. But I thought I'd ask in case anyone can gives some tips.
Thanks,
Marie
|