Re: [gdal-dev] Question how to use GDALDatasetH

2010-04-15 Thread Chaitanya kumar CH
Alexander, You can use the GDALRasterIO() function to write an array's value to a dataset. Since it doesn't support multi-dimensional buffers, you have to use this function for every array in the two-dimensional array. Refer to http://www.gdal.org/gdal_tutorial.html for some examples. On Thu, Apr

[gdal-dev] Question how to use GDALDatasetH

2010-04-15 Thread Alexander Plum
Dear ladies and gentlemen, I want to load a two dimensional array with elevation values into a GDALDatasetH. But I do not know how to do so. I would be grateful for any help. Later on it is my destination using the GDALContour function to construct highlines based on my elevation values. Wit