Tai,<br><br>If your rebuild was successful with geos, the only reason for you to get the error is that the application is accessing the wrong libraries somewhere in your system. Do a clean rebuild and make sure the LD_LIBRARY_PATH and GDAL_DATA are set correctly.<br>
<br><div class="gmail_quote">On Tue, Jul 24, 2012 at 7:37 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">
<div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>Thanks Mateusz,</span></div><div><br><span></span></div><div><span>I edited the nmake.opt by adding below lines:</span></div><div><br>
<span></span></div><div><span>GEOS_DIR = C:/geos-3.3.5<br>GEOS_LIB = $(GEOS_DIR)/src/geos_c_i.lib<br>GEOS_CFLAGS = -I$(GEOS_DIR)/capi -I$(GEOS_DIR)/include/geos -DHAVE_GEOS<br></span></div><div><br><span></span></div><div>
<span>Then, I rebuilt GDAL, but still got the error: "GEOS support not enable".</span></div><div><br><span></span></div><div><span>Kind regards,</span></div><div><br><span></span></div><div><span>Tai</span></div>
<div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Mateusz Loskot [via OSGeo.org] <<a href="http://user/SendEmail.jtp?type=node&node=4990235&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>><br>
 <b><span style="font-weight:bold">To:</span></b> taibc <<a href="http://user/SendEmail.jtp?type=node&node=4990235&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Monday, July 23, 2012 5:56 PM<br>
 <b><span style="font-weight:bold">Subject:</span></b> Re: How to identify a point is belong to a polygon ?<br> </font> </div> <br>
<div><div class="im">

        On 23 July 2012 11:52, taibc <<a rel="nofollow" link="external">[hidden email]</a>> wrote:
<br>> I installed GEOS succesfful, and copy file geos.dll into my project. But I
<br>> still got the error: "GEOS support not enable" when using the method
<br>> "Within"
<br>>
<br>> Are there something wrongs ?
<br><br>You need to edit nmake.opt and rebuild GDAL.
<br>Check this thread:
<br><a href="http://lists.osgeo.org/pipermail/gdal-dev/2010-March/023829.html" target="_blank">http://lists.osgeo.org/pipermail/gdal-dev/2010-March/023829.html</a><br><br>Best regards,
<br>-- 
<br>Mateusz Loskot, <a href="http://mateusz.loskot.net" target="_blank">http://mateusz.loskot.net</a><br>_______________________________________________
<br>gdal-dev mailing list
<br></div><a rel="nofollow" link="external">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <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.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990029.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990029.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from How to identify a point is belong to a polygon ?, <a rel="nofollow" link="external">click here</a>.<br>
                <a rel="nofollow" href="http://osgeo-org.1560.n6.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" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div><br><br> </div> </div>  </div>

        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990235.html" target="_blank">Re: How to identify a point is belong to a polygon ?</a><div class="HOEnZb">
<div class="h5"><br>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/GDAL-Dev-f3742093.html" target="_blank">GDAL - Dev mailing list archive</a> at Nabble.com.<br></div></div><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>