Tamas, I just went through the gdal 1.7 release notes, and read that a function 'FileFromMemBuffer' was added to the csharp bindings. Since I'm getting image blobs from an sqlite database (png), is it a suitable way to use that function?
Thanks 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: [email protected]<mailto:[email protected]> 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 Von: Tamas Szekeres [mailto:[email protected]] Gesendet: Donnerstag, 20. Mai 2010 23:03 An: Felix Obermaier Cc: [email protected] Betreff: Re: [gdal-dev] Create gdaldataset from in-memory Image/Bitmap/byte[]/MemoryStream 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 <[email protected]<mailto:[email protected]>> 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<http://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 [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
