Re: [Qgis-developer] Gdal Tools: extract projection
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 17/10/2013 11:09, Alexander Bruy ha scritto: 2013/10/17 Paolo Cavallini cavall...@faunalia.it: * no feedback is given upon completion (World file written) Agreed, feedback about process completion will be good. http://hub.qgis.org/issues/8916 * name is misleading (it is extracting a world file, not a projection) Hmm, it also extract projection into .prj file (optionally). Maybe both files (wld and prj) should be created by default? * the prj is (optionally) created according to the project settings, so it is empty for layers not loaded; the user should be warned, and the prj not created in this case. Hmm, works for me. Maybe your layers don't contain projection information? unclear to me how to check this: the raster appears on the right place, however. BTW, I think it is better to improve this tool inside Processing as in future IMO it should replace GDALTools. agreed - however, I think having the (editable) plain gdal command line at the bottom is a major advantage of gdal tools for power users. all the best. - -- 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/ iEYEARECAAYFAlJiLDMACgkQ/NedwLUzIr5twwCgoIMpvm1O6a+DjwIuqOWRy85p SicAn0GzE0kd6fH8OMU/t08ehaHHRtto =leOp -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Gdal Tools: extract projection
2013/10/19 Paolo Cavallini cavall...@faunalia.it: 2013/10/17 Paolo Cavallini cavall...@faunalia.it: * no feedback is given upon completion (World file written) Agreed, feedback about process completion will be good. http://hub.qgis.org/issues/8916 Fixed * the prj is (optionally) created according to the project settings, so it is empty for layers not loaded; the user should be warned, and the prj not created in this case. Hmm, works for me. Maybe your layers don't contain projection information? unclear to me how to check this: the raster appears on the right place, however. Try with gdalinfo tool, if raster has projection, this tool will show it. Also raster can be displayed in correct place even it doesn't have assigned projection, but has correct wld file. Maybe this is your case. BTW, I think it is better to improve this tool inside Processing as in future IMO it should replace GDALTools. agreed - however, I think having the (editable) plain gdal command line at the bottom is a major advantage of gdal tools for power users. 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. Also it is possible to add text field for additional command line arguments in Processing. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Gdal Tools: extract projection
-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.500,-0.500) 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- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Gdal Tools: extract projection
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. I think the beahviour of this tool should be improved: * no feedback is given upon completion (World file written) * name is misleading (it is extracting a world file, not a projection) * the prj is (optionally) created according to the project settings, so it is empty for layers not loaded; the user should be warned, and the prj not created in this case. Agreed? All the best. - -- 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/ iEYEARECAAYFAlJfmFAACgkQ/NedwLUzIr4J/ACgnKZqGEMrOMgI31kgl0Z4W5GU aw0An3jbUMGwkzKkIBQQw/9idilOY9tl =fP2L -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Gdal Tools: extract projection
Hi Paolo, just tested latest master 2013/10/17 Paolo Cavallini cavall...@faunalia.it: * no feedback is given upon completion (World file written) Agreed, feedback about process completion will be good. * name is misleading (it is extracting a world file, not a projection) Hmm, it also extract projection into .prj file (optionally). Maybe both files (wld and prj) should be created by default? * the prj is (optionally) created according to the project settings, so it is empty for layers not loaded; the user should be warned, and the prj not created in this case. Hmm, works for me. Maybe your layers don't contain projection information? BTW, I think it is better to improve this tool inside Processing as in future IMO it should replace GDALTools. Alex ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer