Select to view content in your preferred language

possibility to use any GDAL version - even the newest

661
3
07-17-2023 10:04 PM
Status: Open
Labels (1)
nadja_swiss_parks
Occasional Contributor III

as the title suggests, I'd like the possibility to use any GDAL version, even the newest (currently 3.7), without having to set up a separate conda environment.  

original question: https://community.esri.com/t5/arcgis-pro-questions/gdal-version-can-i-choose-the-used-version-if-yes...

Tags (2)
3 Comments
DanPatterson

A version is already available,,,

from osgeo import gdal
gdal.__version__
'3.4.0e'
nadja_swiss_parks

@DanPatterson thank you for your comment. I'm aware that I can use the 3.4 version, but that's not the newest version. I need an option which is currently only available in GDAL 3.7 and building a separate conda environment is no option. 

Brian_Wilson

I think a reasonable compromise would be to add a "Conda" variable to the environment for Python based tools.

You would not be able to run for example ArcPy and GDAL 3.7 in the same script, but you'd be able to break out the work into separate steps. That would be acceptable to me.

(Hmmm I am pretty sure I could code some approximation of this up in Python...)

The default would be to use the Conda environment selected in Pro.