Re: [gdal-dev] How to convert GDAL Vector dataset to memory stream

2020-06-20 Thread MRRAJESH
Hi Tamas, Thanks for your suggestions. Will it work for MVT memory dataset? We have an MVT memory dataset with us. How to convert this to memory stream. *Example: * . var vsibuf = string.Format(@"/vsimem/mvt"); var newDs = Gdal.wrapper_GDALVectorTranslateDestName(vsibuf, ds1, gdalOptions, nu

Re: [gdal-dev] How to convert GDAL Vector dataset to memory stream

2020-06-20 Thread Tamas Szekeres
Hi, You could use a pre-allocated array to fill data from a GDAL dataset/bands. The following examples could be used as a reference: 1. Read raster bands into separate byte arrays: https://github.com/OSGeo/gdal/blob/master/gdal/swig/csharp/apps/GDALRead.cs#L139 2. Read raster bands into bitma