<html><head></head><body style="zoom: 0%;"><div dir="auto">I tried to use st_segmentize but found that the m coordinate gets corrupted.<br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Get <!-- tmjah_g_1299e --><a href="http://www.bluemail.me/r?b=15774"><!-- tmjah_g_1299s -->BlueMail for Android<!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s --> <!-- tmjah_g_1299e --></div>
<div class="gmail_quote" >On Feb 15, 2020, at 12:50 PM, Phil Bartie <<a href="mailto:philbartie@gmail.com" target="_blank">philbartie@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div dir="auto">Would ST_Segmentize() do what you are after?</div><div dir="auto"> Run it after the simplify. </div></div><div dir="auto"><br></div><div dir="auto"><div><a href="https://postgis.net/docs/ST_Segmentize">https://postgis.net/docs/ST_Segmentize</a></div></div><div dir="auto"><br></div><div dir="auto">Might need to use in conjunction with ST_Union()</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 15 Feb 2020 at 18:44, Alexander Gataric <<a href="mailto:gataric@usa.net">gataric@usa.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="zoom:0%"><div dir="auto">I mean if a line is one mile long and is simplified into five 1000 foot segments, I want the longest segment to be 500 feet instead of 1000 feet.<br><br></div>
<div dir="auto">Get <a href="http://www.bluemail.me/r?b=15774" target="_blank">BlueMail for Android</a> </div></div><div style="zoom:0%">
<div class="gmail_quote">On Feb 15, 2020, at 11:47 AM, Martin Davis <<a href="mailto:mtnclimb@gmail.com" target="_blank">mtnclimb@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">You mean you want to keep simplifying until there are no segments of length greater than the maximum? (Presumably excluding input segments already longer?)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 14, 2020, 1:57 PM Alexander Gataric <<a href="mailto:gataric@usa.net" target="_blank">gataric@usa.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple" style="zoom:0%"><div dir="auto">Is there a way to modify st_simplify to have a maximum segment length? I want to be able to limit it to 500 feet.<br><br></div>
<div dir="auto">Get <a href="http://www.bluemail.me/r?b=15774" rel="noreferrer" target="_blank">BlueMail for Android</a> </div>
<div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote></div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" rel="noreferrer" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div>
<pre><hr><br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></pre></blockquote></div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div></div>
<pre class="blue"><hr><br>postgis-users mailing list<br>postgis-users@lists.osgeo.org<br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></pre></blockquote></div></body></html>