Permalink
2 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix gdaltools getRasterSRS() and use gdalsrsinfo with gdal >= 1.9
- Loading branch information
Showing
with
5 additions
and 2 deletions.
This comment has been minimized.
Just an outsider point of view : why using GDAL utilties and risky output parsing to get the SRS and not just plain Python GDAL API...
ds = gdal.Open(the_raster)
ds.GetProjectionRef()
This comment has been minimized.
I agree - GdalTools uses the commandline tools instead of the python API in many places.
I made a quick fix, probably should have gone your way.