[gdal-dev] Open option for vectors in the cloud

Even Rouault even.rouault at spatialys.com
Mon Nov 11 05:02:17 PST 2019


On lundi 11 novembre 2019 04:49:49 CET jratike80 wrote:
> rns lots of features but perhaps you could do even better by combining
> ranges when possible. 

I suspect those requests come from sequential reading of features. /vsicurl/ 
reads by chunks of 16 KB, and when it detects a sequential reading pattern it 
multiplies the chunk size by 2 until a limit of 1.6 MB.
The 3 ranges you mention are respectively 16, 32 and 64 KB and show that x2 
pattern. There is probably not much more that can be done because the driver 
cannot know how many features are going to be read in advance. Or that would 
imply a more aggressive exponential strategy in /vsicurl/, but that could have 
undesirable effects in other scenarios.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list