[postgis-users] ST_SimplifyPreserveTopology and ST_Simplify does not preserve measures

Sandro Santilli strk at keybit.net
Thu Feb 7 08:37:14 PST 2013


On Fri, Feb 08, 2013 at 01:52:22AM +1000, Egil Möller wrote:
> POSTGIS="1.4.0" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1, 23 September
> 2009" USE_STATS
> 
> So yes, this is an older system. If it works fine in a newer version I
> guess I should consider the issue closed :)

It's actually always preserved M. It's ST_AsText that dropped it
in 1.4 because at that time OGC specs did not have M, and ST_AsText
was an OGC-following function. Try AsEWKT.

--strk;

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 



More information about the postgis-users mailing list