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. ATB, Mark. -- Mark Cave-Ayland Sirius Corporation - The Open Source Experts http://www.siriusit.co.uk T: +44 870 608 0063 _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
