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

taibc taibc_coltech at yahoo.com
Mon Jul 23 21:20:58 PDT 2012


Thanks Chaitanya,

I haven't set LD_LIBRARY_PATH and GDAL_DATA yet.

Do you know how to set them on Visual C++ 2010 ?

Kind regards,
Tai



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

Tai,

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.


On Tue, Jul 24, 2012 at 7:37 AM, taibc <[hidden email]> wrote:

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] <[hidden email]>
>To: taibc <[hidden email]> 
>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: Re: How to identify a point is belong to a polygon ?
>
>Sent from the GDAL - Dev mailing list archive at Nabble.com.
>
>_______________________________________________
>gdal-dev mailing list
>[hidden email]
>http://lists.osgeo.org/mailman/listinfo/gdal-dev
>


-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E

_______________________________________________ 
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-tp4989501p4990248.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-tp4989501p4990251.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/5986c104/attachment-0001.html>


More information about the gdal-dev mailing list