On 27/09/2011 12:52, giannis Nj wrote:
Hello,

I have a .tiff file and a .shp one, showing the same area in the map but they come in different coordinates. From the Properties of these files I give them the same projection (4326 - WGS84), same as the project properties, but still they don't match. Actually, the coordinates of the shapefile remain the same (different from the project's), something that I thought would change by changing the CRS. I guess it's not that simple to change the coordinates in a file, so i would like to ask how it is possible to manage this so that the two files will come in the same coordinates. Is something in the settings that i forget to do? Is this able in QGIS or i have to try on another GIS program?


To change the CRS of a shapefile is very simple with versions > 1.6. You right-click on the layer, and choose "Save As...". In the Save As window you can choose the target CRS to export to. However this works only if you have the original *.prj file attached to the original shape so that QGIS "knows" what the source CRS is. If you have changed the meta data by going into the Layer properties and changing the CRS, then the result will be wrong.  So in your case, you'll want to revert back to the correct CRS that the original shapefile is project in, and then use the Save As... option to project to a new CRS.

The option to set CRS in the layer's properties is for only one case, AFAIK: if you have a layer that you *know* is already projected in a certain CRS, but the meta data is absent (i.e. no *.prj in the case of a shapefile) then you can indicate for QGIS the correct CRS for that layer. But this does *NOT reproject* anything. Just sets the CRS for QGIS use.

HTH,
Micha

Thank you.


This mail was received via Mail-SeCure System.


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

This mail was received via Mail-SeCure System.



_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to