Developers,

We are using VRT file as input to GDALVectorTranslate in C++. Till 18 or 19
level, we are getting tiles. When we request for multiple 20th level tiles,
CPU reaching to 100% and w3wp.exe suspended (crashed). Here we are using vsi
memory buffer to store the tiles for each thread separately using UUID...
How to overcome this issue?

        vsibufPath = string("/vsimem/mvt-") + GetUUID();
        vsibuf = vsibufPath.c_str();

         const char *pszFilename = "C:\\Test\\MVT.vrt";
         hSrcDS = (GDALDatasetH *)GDALOpenEx(pszFilename, GDAL_OF_READONLY,
NULL,NULL, NULL);

         dst = (GDALDataset *)GDALVectorTranslate(vsibuf, NULL, 1, &hSrcDS,
opt,NULL);

Regards,
Rajesh



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to