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

taibc taibc_coltech at yahoo.com
Tue Jul 24 00:18:31 PDT 2012


Thanks Chaitanya,

I modified as your suggestion. But, still got the error (GEOS support not enable) when executing the program.
About building GEOS, if I only add two first lines, the process will be sucessful:

1. GEOS_DIR = C:/geos-3.3.5
2. GEOS_LIB = $(GEOS_DIR)/src/geos_c_i.lib

if I add third line, the building process will get errors

3. GEOS_CFLAGS = -I$(GEOS_DIR)/capi -I$(GEOS_DIR)/include/geos -DHAVE_GEOS 


Errors:

LINK : fatal error LNK1181: cannot open input file 'ogr\ogrsf_frmts\ogrsf_frmts.
lib'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\lib.EXE"' : return code '0x49d'
Stop.

Thanks and regards,

Tai

________________________________
 From: chaitanya_ch [via OSGeo.org] <ml-node+s1560n4990261h10 at n6.nabble.com>
To: taibc <taibc_coltech at yahoo.com> 
Sent: Tuesday, July 24, 2012 12:48 PM
Subject: Re: How to identify a point is belong to a polygon ?
 

Tai,

The environment variables can be set at the command prompt temporarily using 

SET LD_LIBRARY_PATH=C:\path\to\gdal\libraries
SET GDAL_DATA=C:\path\to\gdal\libraries\data You can set them in the project settings in VC++. I don't know how.
You can also set them system wide at MyComputer->Settings.



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990291.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/20120724/9f98d64d/attachment.html>


More information about the gdal-dev mailing list