Re: [gdal-dev] Performance Issue with VRT Pixel Function and Large Number of Source Rasters

2025-04-18 Thread Abdul Raheem Siddiqui via gdal-dev
Pull request here: https://github.com/OSGeo/gdal/pull/12178 There is potentially more subelements that can go in this top level section but I was not sure if they would work across all types of pixel functions. P.S: Is there a reason why SkipNonContributingSources is False by default? Wouldn't it

Re: [gdal-dev] Performance Issue with VRT Pixel Function and Large Number of Source Rasters

2025-04-16 Thread Abdul Raheem Siddiqui via gdal-dev
ps://github.com/OSGeo/gdal/commit/3dbc60b334ee022f2993dca476b08d5fed01698c > , "gdal_translate -of GTiff merged.vrt OUTPUT.tif" completes in a few > minutesCf > https://gdal.org/en/stable/drivers/raster/vrt.html#using-derived-bands-with-pixel-functions-in-python > for the do

Re: [gdal-dev] Performance Issue with VRT Pixel Function and Large Number of Source Rasters

2025-04-14 Thread Abdul Raheem Siddiqui via gdal-dev
internally into four would probably not make > much difference anyway. > > Processing time and memory usage seems to grow linearly when the number of > files in the VRT is increasing. Maybe this is good news. > > -Jukka Rahkonen- > > ____________ >

[gdal-dev] Performance Issue with VRT Pixel Function and Large Number of Source Rasters

2025-04-13 Thread Abdul Raheem Siddiqui via gdal-dev
Dear GDAL Community, I am encountering a performance issue when using a VRT consisting of a large number of source rasters and built-in C++ pixel function ("max"). I would appreciate any guidance on whether some GDAL config option can improve this, or I am doing something wrong, or this is a poten

Re: [gdal-dev] gdalbuildvrt Max Value / Pixel Function

2025-02-13 Thread Abdul Raheem Siddiqui via gdal-dev
t; > Dan > > On Thu, Feb 13, 2025 at 3:12 PM Abdul Raheem Siddiqui via gdal-dev < > gdal-dev@lists.osgeo.org> wrote: > >> Hello, >> >> I am looking for functionality to create a VRT of multiple rasters where >> the VRT pixel value is the maximum of

[gdal-dev] gdalbuildvrt Max Value / Pixel Function

2025-02-13 Thread Abdul Raheem Siddiqui via gdal-dev
Hello, I am looking for functionality to create a VRT of multiple rasters where the VRT pixel value is the maximum of underlying rasters pixel values. I found out that we have pixel functions https://lists.osgeo.org/pipermail/gdal-dev/2016-September/045134.html that we can add to VRTs to get this

Re: [gdal-dev] Install GDAL with gdal_ls available in PATH

2024-12-13 Thread Abdul Raheem Siddiqui via gdal-dev
> I don't know much about the distribution story of go bindings, so don't ask > me more about that part. I see that lukeroth/gdal has VSIReadDirRecursive() > which is essentially what you need: > https://github.com/search?q=repo%3Alukeroth%2Fgdal%20VSIReadDir&type=code > >

[gdal-dev] Install GDAL with gdal_ls available in PATH

2024-12-12 Thread Abdul Raheem Siddiqui via gdal-dev
Hello, I am developing a compiled program in Golang that calls GDAL through subprocess calls. In one of the program's features that I am developing, I want to call *gdal_ls*. However, I see that gdal_ls is not available in PATH by default and hence can't be called directly in a terminal without sp