[postgis-devel] Updates to GEOS & POSTGIS

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Mon Jan 21 10:46:18 PST 2008


On Fri, 2008-01-18 at 09:26 -0800, Ben Jubb wrote:
 
> Mark,
> thanks for the comments,
> 
> - I'll change the comment style.. 
> 
> - added the initGEOS() calls, oops..
> 
> - the size calculation: ill try your suggestion for getting
> arg1_length.


Hi Ben,

I've just done a checkout of latest SVN, and unfortunately it seems
broken against the GEOS 3.0.0 branch :(

I managed to get around the compilation failures by removing the line
"#define PREPARED_GEOM 0", but regression tests fail because
lwpostgis.sql.in still references these functions, and hence it fails to
load into PostgreSQL.

So in order to support both newer and older versions of GEOS, there
needs to be some GEOS versioning directives around the new code in both
lwpostgis.sql.in and lwgeom_geos_c.c (rather than having to alter both
of these by hand).


ATB,

Mark.

-- 
ILande - Open Source Consultancy
http://www.ilande.co.uk





More information about the postgis-devel mailing list