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 <o...@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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to