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

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Jul 24 01:04:55 PDT 2012


Tai,

Geos code is not enabled in GDAL without the third line you omitted.
Check the compilation messages to identify the problem.
Perform a 'clean' before you build until this problem is resolved.

On Tue, Jul 24, 2012 at 12:48 PM, taibc <taibc_coltech at yahoo.com> wrote:

> 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] <[hidden email]<http://user/SendEmail.jtp?type=node&node=4990291&i=0>
> >
> *To:* taibc <[hidden email]<http://user/SendEmail.jtp?type=node&node=4990291&i=1>>
>
> *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: Re: How to identify a point is belong to a
> polygon ?<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<http://osgeo-org.1560.n6.nabble.com/GDAL-Dev-f3742093.html>at Nabble.com.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120724/d9d38da5/attachment.html>


More information about the gdal-dev mailing list