[gdal-dev] clip raster to one cell at coordinates

2023-01-26 Thread karsten
Hi All, in an application I have a user click on a map and I need to programmatically clip a raster layer to the one raster cell for those coordinates at the click location. I was looking e.g. at https://gdal.org/programs/gdal_rasterize.html to run as a command line tool, but so far could not

[gdal-dev] Bad GDB performance

2023-01-26 Thread Simon Gröchenig
Hi all, I am struggling with a bad performance at reading FileGeodatabases in QGIS. I hope, this is the place where I can find someone to help me find the bottleneck. I have uploaded a sample dataset here: https://mega.nz/file/nnxVULyC#QcuGJEHedayIC7b1i14J0X8OBExVfhcb55DnnVtGzuc Loading a QGIS

Re: [gdal-dev] GDAL Overestimating Physical Memory

2023-01-26 Thread Angus Dickey
Even, I pulled the updated PR and it is working well in a Linux container: $ ./get_gdal_memory GDAL version is 3.7.0dev GDAL thinks it has 2097152000 bytes of physical memory GDAL thinks it has 2097152000 bytes of usable physical memory sysinfo() thinks it has 811526475776 bytes of physical mem

Re: [gdal-dev] Announcing SOZip: Seek-Optimized profile for the .zip format

2023-01-26 Thread Even Rouault
Hi, The implementation has just been merged into GDAL master You can for example test it with gdal-master and QGIS Conda packages: conda create --name sozip_test conda activate sozip_test conda install -c gdal-master gdal conda install -c conda-forge qgis And for example with a large GeoPackage

Re: [gdal-dev] GDAL Overestimating Physical Memory

2023-01-26 Thread Laurențiu Nicola via gdal-dev
On Thu, Jan 26, 2023, at 16:52, Even Rouault wrote: > Laurențiu, > > are you 100% positive you've tested the updated version of the pull request? > I've just given a try to running gdallimits under Docker from a Ubuntu 22.04 > host and it successfully takes into account the /sys/fs/cgroup/memo

Re: [gdal-dev] GDAL Overestimating Physical Memory

2023-01-26 Thread Even Rouault
Angus, I've just edited the pull request to take into account MemTotal of /proc/meminfo. Only tested on my host Linux, but hopefully that should work also for your setup given the elements you've mentionned. Laurențiu, are you 100% positive you've tested the updated version of the pull requ