Re: [gdal-dev] Slow speed in remote reading

2020-11-02 Thread Alexander Verbitsky
I have checked. Yes, in using S2 COG with images in tiff format gdal makes 5 requests for getting 100x100px images and speed significantly higher in comparison with jp2. Unfortunately the size of tiff-file in this case is twice higher than corresponding jp2. On Mon, Nov 2, 2020 at 6:28 PM Patrick

Re: [gdal-dev] Slow speed in remote reading

2020-11-02 Thread Patrick Young
You can check how a S2 COG compares at https://registry.opendata.aws/sentinel-2-l2a-cogs/ You should hopefully see a lot less network requests when accessing a sub block directly. P On Mon, Nov 2, 2020 at 7:58 AM Alexander Verbitsky wrote: > Hi All, I am trying to implement remote reading sm

[gdal-dev] Slow speed in remote reading

2020-11-02 Thread Alexander Verbitsky
Hi All, I am trying to implement remote reading small blocks of images, but find slow performance. For example i am trying to read 100x100 block from `sentinel-2` image, with using following code: filename = ( '/vsigs/gcp-public-data-sentinel-2/tiles/31/U/FS/' 'S2A_MSIL1C_20201024T104121_