Felix,<br><br>You can find examples in the gdal source tree about creating a dataset and write data by using the WriteRaster method:<br><br><a href="http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALWrite.cs">http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALWrite.cs</a><br>
<a href="http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALDatasetWrite.cs">http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALDatasetWrite.cs</a><br><br>For more information about the raster IO operations in C# see: <a href="http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpRaster">http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpRaster</a><br>
<br>Best regards,<br><br>Tamas<br><br><br><br><br><div class="gmail_quote">2010/5/20 Felix Obermaier <span dir="ltr"><<a href="mailto:obe@ivv-aachen.de">obe@ivv-aachen.de</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello list,<br>
<br>
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.<br>
<br>
Thanks in advance<br>
<br>
Felix Obermaier<br>
<br>
------------------------------------------<br>
Ingenieurgruppe IVV GmbH & Co. KG<br>
Dipl.-Ing. Felix Obermaier<br>
Oppenhoffallee 171<br>
52066 Aachen<br>
<br>
Telefon: +49 (241) 94691-39<br>
Telefax: +49 (241) 531622<br>
eMail: <a href="http://obe_at_ivv-aachen.de" target="_blank">obe_at_ivv-aachen.de</a><br>
Internet: <a href="http://www.ivv-aachen.de" target="_blank">http://www.ivv-aachen.de</a><br>
<br>
Sitz der Gesellschaft: Aachen<br>
Amtsgericht Aachen HRA 6212<br>
GF: Bauassessor Dr.-Ing. Dieter Hölsken<br>
IVV-Management GmbH<br>
Amtsgericht Aachen HRB 12543<br>
<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br>