Geo Django GDAL Exception OGR Failure

前端 未结 2 1354
失恋的感觉
失恋的感觉 2021-01-26 08:48

I\'m using geo django and running on windows. I do have GDAL and OSGEOS configured in the settings.

Here is my settings.py code for gdal.



        
2条回答
  •  被撕碎了的回忆
    2021-01-26 09:35

    Try adding this to settings file

    os.environ['GDAL_DATA'] = "C:\\OSGeo4W64\\share\\epsg_csv" <- (path to gcs.csv file)
    

提交回复
热议问题