[gdal-dev] Using ogr2ogr with limited memory

2023-09-26 Thread Scott via gdal-dev
Any tips for using ogr2ogr to use only a specified amount of RAM? I'm not having any luck. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDAL version in pip requirements file

2023-09-26 Thread Peter Schmitt via gdal-dev
I know you mention requirements.txt, but I write my setup.py with a function that uses gdal-config to get Python bindings for the version of GDAL I have installed. It looks something like this: from setuptools import setup, find_packages from subprocess import check_output class GdalNotFoundErro

Re: [gdal-dev] GDAL version in pip requirements file

2023-09-26 Thread Stefan Blumentrath via gdal-dev
Hi Luca,You could parse the gdal config version output into an environment variable and then specify the version in requirements.txt like this:GDAL==${GDAL_VERSION}Cheers,StefanOn 26/09/2023, 08:55 Luca Delucchi via gdal-dev wrote: Hi everyone, I would like to know if it is possible