[gdal-dev] How to identify a point is belong to a polygon ?

taibc taibc_coltech at yahoo.com
Mon Jul 23 19:07:42 PDT 2012

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,


 From: Mateusz Loskot [via OSGeo.org] <ml-node+s1560n4990029h18 at n6.nabble.com>
To: taibc <taibc_coltech at yahoo.com> 
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: 

Best regards, 
Mateusz Loskot, http://mateusz.loskot.net
gdal-dev mailing list 
[hidden email] 

If you reply to this email, your message will be added to the discussion below:
To unsubscribe from How to identify a point is belong to a polygon ?, click here.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120723/742c99a6/attachment.html>

More information about the gdal-dev mailing list