[Qgis-user] Saving layer CRS in GML file

Alex Mandel tech_dev at wildintellect.com
Thu Mar 15 16:16:57 PDT 2012


On 02/28/2012 12:34 AM, Luís de Sousa wrote:
> Dear all,
>
> I'd like to save the CRS of a layer in its GML file. So far I've been
> trying with the menu Layer>  Set CRS of Layer(s); but this way no
> changes are saved to the GML, not even if I save it as a new file. How
> can this be done?
>
> I'm using version 1.7.4, btw. Thank you and regards,
>
> Luís

The menu item you're referring to only sets the CRS for the current 
session. In the Vector menu under data management there is a Define 
Projection tool but I think that might only save .prj files for use with 
shapefiles, no idea if it works with GML. If you can try it and report 
back that would be useful, as it might be a feature we should consider 
adding.

If you try right click on layer-> Save as, then in the dialog pick the 
input and output CRS you want and save a new file I believe the new GML 
file will contain the CRS.

Thanks,
Alex
PS: Bumping an email thread with no new information is a good way to 
annoy subscribers, I suggest refraining from the practice in the future.




More information about the Qgis-user mailing list