<html style="direction: ltr;">
<head>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="preferred-charset"
bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Amira:<br>
I'd be glad to try to help.<br>
<br>
First, note that you can also post on the qgis-users maillist.
You might get better responses there. You can signup to join that
maillist here: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
I am cc-ing your question to the list also.<br>
<br>
Now as to spatial join. I would tend to believe that the the error
message is correct - the layers are probably not really in the
same coordinate system. Do you have the option "On the fly
reprojection" enabled? If you disable "On the fly reprojection" do
the layers still overlap correctly? If not, then they are indeed
in different CRS. In this case, you should reproject one of the
layers to a new shapefile, and specify to save in the CRS of the
other. For example, save the interview locations to a new layer,
using the CRS of the boundaries.<br>
<br>
Obviously you must know what the actual CRS of each layer is to
begin with. This information usually comes in the form of a *.prj
file together with the rest of the shapefile components. If there
is no *.prj file, then you might have to contact the supplier of
the data to understand what CRS the data are located in.<br>
<br>
Now, save the interview layer to a new shapefile, reprojected to
the CRS of the boundaries. You do this with a right-click on the
layer, and choose "Save As...". In the save dialog, choose the CRS
of the boundaries layer. So you will now have a new copy of the
interview locations, but reprojected to the CRS of the boundaries.
Now try the spatial join between the new interview locations and
the boundaries.<br>
<br>
HTH,<br>
Micha <br>
<br>
<br>
<br>
<br>
On 29/05/2014 10:25, Amira El-Shal wrote:<br>
</div>
<blockquote
cite="mid:CAJ=5x6k2Y+PLd3EAp7hLFdqv_hab=UNj5gTnwBwLU=XkkBZivQ@mail.gmail.com"
type="cite">
<div dir="ltr"><span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">Dear
Ms. Micha,</span>
<div><br>
</div>
<div>I hope that this message finds you safe and sound.<br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">I
am doing my PhD in Health Economics. Meanwhile, I am trying
to spatially join point layers of some 12,000 women
interviewed in Egypt to Egypt's polygon layers
(administrative districts boundaries) using QGIS 2.2 and
need some advice. Who can I ask? I am a QGIS self-learner.</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">I
have read many QGIS manuals, but I cannot complete the
spatial join successfully. I have added the vector layers of
both Egypt's women's GPS points and Egypt's polygons
(district boundaries). I used the UTF-8 encoding. Whenever I
attempt to join attributes by location, the following
message appears "Input layers have non-matching CRS".
However, when I check the CRS of both layers, I found it the
same (EPSG:4326 - WGS 84).</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">I
would like to thank you in advance for your kind
cooperation.</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">Sincerely,</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:13px;line-height:17px">Amira
El-Shal</span></div>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
GIS Consulting
052-3665918
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a>
</pre>
</body>
</html>