[gdal-dev] Question how to use GDALDatasetH

Chaitanya kumar CH chaitanya.ch at gmail.com
Thu Apr 15 09:25:34 EDT 2010


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 15, 2010 at 6:29 PM, Alexander Plum <Alexander.Plum at cae.de>wrote:

> 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.
>
> With kind regards,
> Alexander Plum
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9848167848
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100415/5b14d99a/attachment-0001.html


More information about the gdal-dev mailing list