<meta http-equiv="content-type" content="text/html; charset=utf-8"><div></div><div>Hi,</div><div><br></div><div>There are many options. I sometimes use the point sampling tool (with a rater having class data) and then export to excel or libreoffice and do a cross tabulation. Some option are available directly in qgis. Be aware that most plugins that deal with zonal statistics may will not work if you have multi polygons.</div><div><br></div><div>Nicolas</div><div><br></div><div><a href="http://www.qgistutorials.com/fr/docs/sampling_raster_data.html" target="_top" rel="nofollow" link="external">http://www.qgistutorials.com/fr/docs/sampling_raster_data.html</a></div><div><br></div><div><a href="https://conservationecology.wordpress.com/tag/zonal-statistics/" target="_top" rel="nofollow" link="external">https://conservationecology.wordpress.com/tag/zonal-statistics/</a></div><div><a href="https://docs.qgis.org/2.2/en/docs/user_manual/plugins/plugins_zonal_statistics.html" target="_top" rel="nofollow" link="external">https://docs.qgis.org/2.2/en/docs/user_manual/plugins/plugins_zonal_statistics.html</a></div><div><a href="https://anitagraser.com/2013/02/02/group-stats-tutorial/" target="_top" rel="nofollow" link="external">https://anitagraser.com/2013/02/02/group-stats-tutorial/</a></div><div><br>Le 28 nov. 2016 à 21:38, K Imran M [via <a href="http://OSGeo.org" target="_top" rel="nofollow" link="external">OSGeo.org</a>] <<a href="/user/SendEmail.jtp?type=node&node=5297769&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<br><br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div>
<div dir="ltr"><span style="color:rgb(42,46,46);font-family:"helvetica neue",arial,sans-serif;font-size:15px">Dear all,</span><div><span style="color:rgb(42,46,46);font-family:"helvetica neue",arial,sans-serif;font-size:15px"><br></span></div><div><span style="color:rgb(42,46,46);font-family:"helvetica neue",arial,sans-serif;font-size:15px">I apologize if this has been asnwered before. My question is:</span></div><div><span style="color:rgb(42,46,46);font-family:"helvetica neue",arial,sans-serif;font-size:15px"><br></span></div><div><div><span style="color:rgb(42,46,46);font-family:"helvetica neue",arial,sans-serif;font-size:15px">if I have 2 layers- one is a vector (points in shapefile format) layer and the other one is a raster layer (flood area). And I would like to count the number of points inside the flood area. How can I do that? Should I convert the raster to vector first? Can anyone kindly refer me to any resource if you know any?</span><div><span style="color:rgb(42,46,46);font-family:"helvetica neue",arial,sans-serif;font-size:15px"><br></span></div><div><span style="color:rgb(42,46,46);font-family:"helvetica neue",arial,sans-serif;font-size:15px">Best regards.</span><br clear="all"><div><br></div><div>Kamarul</div><div><br></div><div>---------------------------------------------------------------------</div><div><br></div><div>Kamarul Imran Musa (MD MCommunityMed)<br></div><div class="gmail_signature">Associate Professor (Epidemiology and Biostatistics) & <br>Public Health Physician,<br><br><br></div>
</div></div></div></div>
<br>_______________________________________________
<br>Qgis-user mailing list
<br><a href="/user/SendEmail.jtp?type=node&node=5297767&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
<br>
<hr noshade="noshade" size="1" color="#cccccc">
<div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://osgeo-org.1560.x6.nabble.com/Count-points-overlaying-a-raster-layer-tp5297767.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Count-points-overlaying-a-raster-layer-tp5297767.html</a>
</div>
<div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To start a new topic under Quantum GIS - User, email <a href="/user/SendEmail.jtp?type=node&node=5297769&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
To unsubscribe from Quantum GIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
</div></div></blockquote>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Count-points-overlaying-a-raster-layer-tp5297767p5297769.html">Re: Count points overlaying a raster layer</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>