<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Here's how I would do it: You have Two
polygon layers and you need to count the number of polygons in
layer 1 that are contained in the polygons in layer 2 <br>
<br>
1. Convert the polygons in 1 to points: Vector -> geometry
-> polygon centroids <br>
2. then use -> vector -> analysis tools -> points in
polygon. Count the number of points contained by polygons in layer
2. <br>
<br>
Hope that helps or at least creates an idea. <br>
Randy<br>
<pre class="moz-signature" cols="72">-----------------
Randal Hale, GISP
North River Geographic Systems, Inc
<a class="moz-txt-link-freetext" href="http://www.northrivergeographic.com">http://www.northrivergeographic.com</a>
423.653.3611 <a class="moz-txt-link-abbreviated" href="mailto:rjhale@northrivergeographic.com">rjhale@northrivergeographic.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:rjhale@northrivergeographic.com"><mailto:rjhale@northrivergeographic.com></a>
twitter:rjhale
<a class="moz-txt-link-freetext" href="http://about.me/rjhale">http://about.me/rjhale</a>
</pre>
On 08/08/2013 07:36 AM, Jonathan Moules wrote:<br>
</div>
<blockquote
cite="mid:CAA-xNcXETvne3+yReUBSpbpfEu2PFqwjjf=o2y7tm_eFsD1usw@mail.gmail.com"
type="cite">Hi List,
<div> I have two layers of polygons. I want to do some analysis
between them, basically doing a spatial join, counting how many
of one polygon layer there are intersecting with each polygon in
the other layer.
</div>
<div>ArcGIS does this easily with the "Spatial Join" tool
(ArcToolbox version). How can I do this in QGIS?</div>
<div><br>
</div>
<div>I know there is Vector -> Data Manage Tools -> Join
attributes by location, but that only acts as a basic join and
doesn't allow for counting of the number of joins.</div>
<div><br>
</div>
<div>Sextante has a large collection of tools, but none of them
seem to have any help so I don't know what any of them do. (And
none of them seem applicable anyway).</div>
<div><br>
</div>
<div>Suggestions welcome, Cheers,</div>
<div>Jonathan</div>
<br>
<span
style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This
transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to
RESTRICTED and should be handled accordingly. Unless you are the
named addressee (or authorised to receive it for the addressee)
you may not copy or use it, or disclose it to anyone else. If
you have received this transmission in error please notify the
sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to
recording and/or monitoring in accordance with relevant
legislation.</span>
<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>
</pre>
</blockquote>
<br>
</body>
</html>