GeoNode / geonode-docker

Django base images for GeoNode
Other
9 stars 33 forks source link

Python GDAL bindings upgrade to GDAL 2.x #17

Closed giohappy closed 5 years ago

giohappy commented 5 years ago

PR #16 pull GDAL 2.1.2, so GDAL bidings currently don't build. I've solved in our forked geonode-docker repo changing this line to:

RUN gdal-config --version | cut -c 1-5 | xargs -I % pip install 'pygdal>=%.0,<=%.999'

I'm not aware of issues with GN master and GDAL 2.1.2. This command will automate the Python GDAL binsings retrieval and uses PyGDAL wheels, thus removing the need to build the bindings.