[Gdal-dev] Re: OGR with Geos in Windows?

Frank Warmerdam warmerdam at pobox.com
Wed Nov 24 13:54:05 EST 2004


Rodrigo Aceves wrote:
> The problem is OGR with GEOS support.  I have compiled GDAL 1.2.4 wiht VC
> .NET and it went perfect, no problem at all. The problem is when I try to
> use OGRGeomtry::Within().
> 
> This function only works (according to OGR help) when GEOS support is
> enabled.
> 
> So I tried to compile OGR with GEOS but that is the problem.
> 
> I have succesfully compiled GEOS 1.0.0 alone. Is this version enough for
> OGR?

Rodrigo,

You need geos 2.x or later,

> I was looking all over the code where to define the HAVE_GEOS flag, and
> since I didn't find any comments about it I put it in the ogr_geos.h file,
> is that correct?

That should be fine.

> I am going to try your advise.



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list