<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
    text="#000000">
    On 27/09/2011 12:52, giannis Nj wrote:
    <blockquote cite="mid:DUB106-W113C9CBE11E0ABF513049BAFF00@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        Hello,<br>
        <br>
        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?<br>
        <br>
      </div>
    </blockquote>
    <br>
    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.<br>
    <br>
    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.<br>
    <br>
    HTH,<br>
    Micha<br>
    <br>
    <blockquote cite="mid:DUB106-W113C9CBE11E0ABF513049BAFF00@phx.gbl"
      type="cite">
      <div dir="ltr">Thank you.<br>
      </div>
      <br>
      <br>
      This mail was received via Mail-SeCure System.<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

This mail was received via Mail-SeCure System.


</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>