[gdal-dev] VRT performance Improvement

MRRAJESH rajeshreddy82 at gmail.com
Mon Aug 10 05:04:01 PDT 2020


 Rahkonen and develoeprs,

We have used GeoPackage format, it is performing well. We have one more
issue, can you suggest us

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,
we have big area features,
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? How to handle crash?

        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


More information about the gdal-dev mailing list