[Qgis-user] Extract Projection Hangs
Andre Joost
andre+joost at nurfuerspam.de
Thu Jun 19 10:36:04 PDT 2014
Am 19.06.2014 18:55, schrieb Rebecca Bennett:
> Thanks for the suggestion. I wasn't able to get gdalsrsinfo to give
> output using the command gdalsrsinfo "filepath\filename" did I miss
> something? I also tried and example from the webpage gdalsrsinfo
> "ESPG:3426" led to the following ERROR - failed to load SRS
> definition from ESPG:3426
That should work, but written correctly EPSG:
D:\Karten\gdal\gdal-1-11>gdalsrsinfo epsg:4326
PROJ.4 : '+proj=longlat +datum=WGS84 +no_defs '
OGC WKT :
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]]
Filepath and filename should be without quotation marks.
It might well be that the files do not have CRS information stored.
You could apply it using gdal_translate or gdal_edit.py, then test if
gdalsrsinfo works for you.
HTH,
André Joost
More information about the Qgis-user
mailing list