Hi Tamas,
I don't know how to apply the same principle onto OGR drivers (not GDAL). I'm trying to create GML structure in memory using OGR driver, then handle resulting XML string further. Don't want to write dataset to a file, then read the file back to a string. Regards, Maksim Sestic _____ From: Tamas Szekeres [mailto:[email protected]] Sent: Monday, August 01, 2011 13:05 To: Maksim Sestic Cc: [email protected] Subject: Re: [gdal-dev] .NET and OGR writing to stream Maksim, You can refer to the example http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALRead.cs to see how to read data into a byte array and then you can write this array directly to the memory stream. Best regards, Tamas 2011/7/31 Maksim Sestic <[email protected]> Hi all, Is there any example of OGR driver writing to memory stream (instead of file stream), in .NET? Regards, Maksim Sestic __________ Information from ESET NOD32 Antivirus, version of virus signature database 6338 (20110731) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
