mirror of
https://github.com/rasterio/rasterio.git
synced 2025-12-08 17:36:12 +00:00
Use GDAL gdal-2.1.0RC4
This commit is contained in:
parent
7f5f614db4
commit
36c26eef2f
@ -16,7 +16,8 @@ cdef extern from "cpl_conv.h":
|
||||
|
||||
|
||||
cdef extern from "cpl_error.h":
|
||||
void CPLSetErrorHandler (void *handler)
|
||||
void CPLSetErrorHandler(void *handler)
|
||||
void CPLSetCurrentErrorHandlerCatchDebug(int bCatchDebug)
|
||||
|
||||
|
||||
cdef extern from "gdal.h":
|
||||
@ -159,6 +160,7 @@ cdef class GDALEnv(ConfigEnv):
|
||||
GDALAllRegister()
|
||||
OGRRegisterAll()
|
||||
CPLSetErrorHandler(<void *>errorHandler)
|
||||
CPLSetCurrentErrorHandlerCatchDebug(1)
|
||||
if driver_count() == 0:
|
||||
raise ValueError("Drivers not registered")
|
||||
|
||||
|
||||
@ -91,8 +91,8 @@ fi
|
||||
|
||||
if [ ! -d $GDALINST/gdal-2.1.0 ]; then
|
||||
cd $GDALBUILD
|
||||
wget http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0RC3.tar.gz
|
||||
tar -xzf gdal-2.1.0RC3.tar.gz
|
||||
wget http://download.osgeo.org/gdal/2.1.0/gdal-2.1.0RC4.tar.gz
|
||||
tar -xzf gdal-2.1.0RC4.tar.gz
|
||||
cd gdal-2.1.0
|
||||
./configure --prefix=$GDALINST/gdal-2.1.0 $GDALOPTS
|
||||
make -s -j 2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user