[Qgis-developer] Gdal Tools: extract projection

Paolo Cavallini cavallini at faunalia.it
Sat Oct 19 03:57:59 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 19/10/2013 12:49, Alexander Bruy ha scritto:

>> http://hub.qgis.org/issues/8916
> 
> Fixed

thanks a lot

> Try with gdalinfo tool, if raster has projection, this tool will show

You are right:

Coordinate System is:
LOCAL_CS["unnamed",
    UNIT["unknown",1]]
Origin = (1606490.380039062583819,4894971.249973144382238)
Pixel Size = (0.500000000000000,-0.500000000000000)

in this case, a .prj should not be written by the command (even better: the user
could be warned about this).

> This is true only for tools, that are command line utilities. Extract
> projection is
> exception, it uses GDAL API and has no independent command line equivalent.

sure

> Also it is possible to add text field for additional command line arguments in
> Processing.

that would be good. however, having the plain gdal command ready at hand (not the
processing wrapper) is very useful to prototype scripts.

All the best, and thanks.
- -- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlJiZbYACgkQ/NedwLUzIr4FUwCeP3DDjFIfmSbwgaGWOLcP7ezh
gAAAn0u/9pM/eRizIKuk4c0yV54YSahM
=b5NV
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list