[postgis-users] ST_SimplifyPreserveTopology and ST_Simplify does not preserve measures
Egil Möller
egil at skytruth.org
Mon Feb 11 07:16:12 PST 2013
Some upgrades later...
POSTGIS="2.0.0 r9605" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.8.0, 6 March
2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8"
LIBJSON="UNKNOWN" TOPOLOGY RASTER
iuufishing=> select st_astext(st_SimplifyPreserveTopology('LINESTRINGM(0
0 0, 1 1 1, 10 10 10)'::geometry, 1));
st_astext
-----------------------
LINESTRING(0 0,10 10)
(1 row)
iuufishing=> select st_astext(st_simplify('LINESTRINGM(0 0 0, 1 1 1, 10
10 10)'::geometry, 1));
st_astext
-------------------------------
LINESTRING M (0 0 0,10 10 10)
(1 row)
So SimplifyPreserveTopology never got fixed?
/Egil
On 02/08/2013 01:37 AM, Nicolas Ribot wrote:
> select st_astext(st_simplify('LINESTRINGM(0 0 0, 1 1 1, 10 10
> 10)'::geometry, 1));
More information about the postgis-users
mailing list