[gdal-dev] GDAL error - ImportFromEPSG
christopher.beddow at gmail.com
Mon May 16 17:57:50 PDT 2016
I'm running Python 2.7.8 [MSC v.1500 32 bit (Intel)] on win32. It is the
package that comes with ArcGIS 10.3. I have the correct GDAL core and
Python bindings installed to match.
I'm having an issue testing ImportFromEPSG() with GDAL.
I'm currently getting an error when testing ImportFromEPSG() on my GDAL.
testSR = osr.SpatialReference()
#this returns value of 6
#this returns blank/empty string
I have done:
'GDAL_DATA' in os.evirons
I also set
os.environs['GDAL_DATA'] = r'C:\Program Files (x86)\GDAL\gdal-data'
which is where gcs.csv is located.
Any suggestions for fixing this? Could ArcGIS be causing the problems?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev