[gdal-dev] Create gdaldataset from in-memory Image/Bitmap/byte[]/MemoryStream

Tamas Szekeres szekerest at gmail.com
Thu May 20 17:02:36 EDT 2010


Felix,

You can find examples in the gdal source tree about creating a dataset and
write data by using the WriteRaster method:

http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALWrite.cs
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALDatasetWrite.cs

For more information about the raster IO operations in C# see:
http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpRaster

Best regards,

Tamas




2010/5/20 Felix Obermaier <obe at ivv-aachen.de>

> Hello list,
>
> I'm using GDAL via swig C# bindings. Is there a way to create a gdal
> dataset object from an in-memory Image/Bitmap/byte[]/MemoryStream, and if
> so, how  can I achive this.
>
> Thanks in advance
>
> Felix Obermaier
>
> ------------------------------------------
>  Ingenieurgruppe IVV GmbH & Co. KG
>  Dipl.-Ing. Felix Obermaier
>  Oppenhoffallee 171
>  52066 Aachen
>
>  Telefon: +49 (241) 94691-39
>  Telefax: +49 (241) 531622
>  eMail: obe_at_ivv-aachen.de
>  Internet: http://www.ivv-aachen.de
>
>  Sitz der Gesellschaft: Aachen
>  Amtsgericht Aachen HRA 6212
>  GF: Bauassessor Dr.-Ing. Dieter Hölsken
>  IVV-Management GmbH
>  Amtsgericht Aachen HRB 12543
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100520/382e1b3a/attachment.html


More information about the gdal-dev mailing list