[postgis-users] Adding a new GEOS call to PostGIS

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Tue Feb 12 08:05:41 PST 2008

On Tuesday 12 February 2008 15:07:20 Paul Ramsey wrote:
> OK, it was a bit harder than you interpreted (takes more than a SQL
> cut'n'paste) and not as straightforward as I thought it might be (the
> simplify function that was already there was a native implementation,
> not a GEOS call, so cutting and pasting it would do no good).
> Anyhow, I have applied my incredible text editing skills and now there
> is a ST_SimplifyPreserveTopology(geometry, float) in the -svn drop.
> Paul

Fantastic use of cut and paste! ;) My only concern would be that it needs some 
#if .. #endif magic if the GEOSTopologyPreserveSimplify is not available in 
the GEOS 2.2.x series.



Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
T: +44 870 608 0063

More information about the postgis-users mailing list