Thanks Mateusz,

I edited the nmake.opt by adding below lines:

GEOS_DIR = C:/geos-3.3.5
GEOS_LIB = $(GEOS_DIR)/src/geos_c_i.lib
GEOS_CFLAGS = -I$(GEOS_DIR)/capi -I$(GEOS_DIR)/include/geos -DHAVE_GEOS


Then, I rebuilt GDAL, but still got the error: "GEOS support not enable".

Kind regards,

Tai

________________________________
 From: Mateusz Loskot [via OSGeo.org] <[email protected]>
To: taibc <[email protected]> 
Sent: Monday, July 23, 2012 5:56 PM
Subject: Re: How to identify a point is belong to a polygon ?
 

On 23 July 2012 11:52, taibc <[hidden email]> wrote: 
> I installed GEOS succesfful, and copy file geos.dll into my project. But I 
> still got the error: "GEOS support not enable" when using the method 
> "Within" 
> 
> Are there something wrongs ? 

You need to edit nmake.opt and rebuild GDAL. 
Check this thread: 
http://lists.osgeo.org/pipermail/gdal-dev/2010-March/023829.html

Best regards, 
-- 
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________ 
gdal-dev mailing list 
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/gdal-dev


________________________________
 
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990029.html
 
To unsubscribe from How to identify a point is belong to a polygon ?, click 
here.
NAML 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990235.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to