Geo Django GDAL Exception OGR Failure

前端 未结 2 1353
失恋的感觉
失恋的感觉 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)
    
    0 讨论(0)
  • 2021-01-26 09:38

    Unfortunately, I have not been able to resolve this issue for windows. What I did to bypass this issue was install ubuntu on windows using oracle virtualbox.

    https://www.virtualbox.org/wiki/Downloads

    0 讨论(0)
提交回复
热议问题