Hi Chaitanya,
Actually, what I need is writing GML (using GML driver) to string, not a file. Current managed wrapper looks like: Public Function CreateDataSource(utf8_path As String, options() As String) As OSGeo.OGR.DataSource ...while I need something like: Public Function CreateDataSource(myStream As Stream, options() As String) As OSGeo.OGR.DataSource Regards, Maksim Sestic _____ From: Chaitanya kumar CH [mailto:[email protected]] Sent: Sunday, July 31, 2011 18:06 To: Maksim Sestic Cc: [email protected] Subject: Re: [gdal-dev] .NET and OGR writing to stream Maksim, You can use the Memory driver. http://www.gdal.org/ogr/drv_memory.html http://www.gdal.org/ogr/ogr_formats.html On Sun, Jul 31, 2011 at 8:45 PM, Maksim Sestic <[email protected]> wrote: 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 -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
