Tai,<br><br>You can use OGR_G_Within()<br>OGR_G_WIthin(point,polygon) will return true if the point is within the polygon.<br><br>You can access various other geometry functions from the OGRGeometry class.<br><br><a href="http://www.gdal.org/ogr/ogr__api_8h.html#a80ba9e516ccae381ae7240cc9684eb72">http://www.gdal.org/ogr/ogr__api_8h.html#a80ba9e516ccae381ae7240cc9684eb72</a><br>
<br><div class="gmail_quote">On Fri, Jul 20, 2012 at 7:04 AM, taibc <span dir="ltr"><<a href="mailto:taibc_coltech@yahoo.com" target="_blank">taibc_coltech@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone,<br>
<br>
Do you know how to identify whether a point (OGRPoint) is belong to a<br>
polygon (OGRPolygon) ? (the polygon covers the point)<br>
<br>
Thanks and regards,<br>
<br>
Tai<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501.html</a><br>
Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>