Changes between Version 33 and Version 34 of GeoDjangoInstall
- Timestamp:
- Feb 11, 2008, 1:49:28 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeoDjangoInstall
v33 v34 153 153 }}} 154 154 155 156 '''Troubleshooting:''' If you receiving the following error message when running the GDAL tests and/or working with `SpatialReference` objects: 157 {{{ 158 ERROR 4: Unable to open EPSG support file gcs.csv. 159 ... 160 OGRException: OGR failure. 161 }}} 162 163 The solution is to set the `GDAL_DATA` environment variable to the location of the GDAL data files (typically `/usr/local/share`; use the `gdal-config --datadir` command to find out for sure) before invoking Python. For example: 164 {{{ 165 $ export GDAL_DATA=`gdal-config --datadir` 166 $ python manage.py shell 167 }}} 168 155 169 '''Note:''' The path to the GDAL library may be manually specified by setting `GDAL_LIBRARY_PATH` in your settings with the full path to the GDAL library (e.g., the `.so` or `.dylib` file). 156 170