[postgis-devel] Updates to GEOS & POSTGIS

Ben Jubb benjubb at refractions.net
Mon Jan 21 11:45:40 PST 2008


My changes won't build against the GEOS 3.0.0 branch.  use the trunk 
instead.

I'm open to suggestions as to how to get the GEOS version information 
into lwpostgis.sql.in.

cheers
b

Mark Cave-Ayland wrote:
> 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.
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20080121/74b27a09/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benjubb.vcf
Type: text/x-vcard
Size: 255 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20080121/74b27a09/attachment.vcf>


More information about the postgis-devel mailing list