<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">POSTGIS="1.4.0" GEOS="3.3.3-CAPI-1.7.4"
PROJ="Rel. 4.7.1, 23 September 2009" USE_STATS<br>
<br>
So yes, this is an older system. If it works fine in a newer
version I guess I should consider the issue closed :)<br>
<br>
On 02/08/2013 01:37 AM, Nicolas Ribot wrote:<br>
</div>
<blockquote
cite="mid:CAGAwT=2iR_w1jbg0qyhxdS1DnU_-SpkfcnEOW3=61Z7u__P9+Q@mail.gmail.com"
type="cite">
<div dir="ltr">By the way, wich Pgis version ?
<div><br>
</div>
<div style="">On POSTGIS="2.0.2 r10789" , it gives correct
result:</div>
<div style=""><br>
</div>
<div style="">
<div>select st_astext(st_simplify('LINESTRINGM(0 0 0, 1 1 1,
10 10 10)'::geometry, 1));</div>
<div> st_astext </div>
<div>-------------------------------</div>
<div> LINESTRING M (0 0 0,10 10 10)</div>
<div>(1 row)</div>
<div><br>
</div>
<div style="">Nicolas</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 7 February 2013 16:33, Nicolas Ribot
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:nicolas.ribot@gmail.com" target="_blank">nicolas.ribot@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Sorry, answered to fast... ;)
<div>Don't know with it drops M dimension.</div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 7 February 2013 16:28,
Nicolas Ribot <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:nicolas.ribot@gmail.com"
target="_blank">nicolas.ribot@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>You are simplifying data with a 1000
degrees tolerance !</div>
<div>Project your data into a planar system,
then simplify it.</div>
<span><font color="#888888">
<div><br>
</div>
<div>Nicolas</div>
</font></span></div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 7 February 2013
15:59, Egil Möller <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:egil@skytruth.org"
target="_blank">egil@skytruth.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
It seems like
ST_SimplifyPreserveTopology and
ST_Simplify does not<br>
preserve measure coordinates and mangles
my linestringm to an ordinary<br>
linestring. Why is that? It seems like a
rather random limitation!<br>
<br>
mydb=> select ST_AsEWKT(line) from
ais_path limit 1;<br>
SRID=4326;LINESTRINGM(102.647916667
5.63022166667<br>
1357100014,102.647916667 5.63022166667
1357446366)<br>
<br>
mydb=> select
ST_AsEWKT(ST_SimplifyPreserveTopology(line,
1000)) from<br>
ais_path limit 1;<br>
SRID=4326;LINESTRING(102.647916667
5.63022166667,102.647916667<br>
5.63022166667)<br>
<br>
Best regards,<br>
Egil<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:postgis-users@lists.osgeo.org"
target="_blank">postgis-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users"
target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
<br>
</body>
</html>