[gdal-dev] Multiple processing options related to Cloud Masking in one VRT

2023-07-19 Thread Marcin Niemyjski via gdal-dev
Hello, What I am trying to do is to generate a VRT file suitable for composing an RGB satellite image along with a cloud mask for that composition. I would like to include the following information in one VRT file : 1. Information about the path to the RGB image file 2. Information about

[gdal-dev] How to store files in GDAL cache?

2023-02-23 Thread Marcin Niemyjski via gdal-dev
Hello, how to set up folder for VSI cached files? I'm using this command: GDAL_CACHEMAX=500 CPL_TMPDIR=/tmp/cache VSI_CACHE=TRUE VSI_CACHE_SIZE=5 CPL_VSIL_CURL_CACHE_SIZE=5 gdalinfo -checksum /vsicurl/https://s3.waw3-1.cloudferro.com/swift/v1/Cyprus-Test/cog_512.tif but unfor

[gdal-dev] optimal way of storing COG within the S3 bucket connected to CEPH backend?

2023-02-09 Thread Marcin Niemyjski via gdal-dev
Hello, curently I'm investigating the optimal way of storing COG within the S3 bucket connected to CEPH backend. I came up with solution below: VSIS3_CHUNK_SIZE=19 CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE=YES gdal_translate -of COG -a_nodata 0 -co OVERVIEW_COUNT=6 -co BLOCKSIZE=1024 -co BIGTIFF=

[gdal-dev] get data from one s3 bucket, process and upload to another bucket as docker container

2022-11-29 Thread Marcin Niemyjski via gdal-dev
Hello, First of all, thank you for providing awesome open-source tools, my work would not be possible without it ^^ I'm looking for an effective way/workflow to get data from s3 bucket, then generate COG and VRT from it into another S3 bucket. Everything should be working as containerized pyth