<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">To find max of M : <br></div><div class="gmail_default" style="font-family:monospace,monospace">--<br>SELECT max(ST_M(dmp.geom))<br></div><div class="gmail_default" style="font-family:monospace,monospace">FROM ST_DumpPoints(geom) AS dmp<br>--<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">For the linestring, I don't understand it .<br></div><div class="gmail_default" style="font-family:monospace,monospace">Cheers,<br></div><div class="gmail_default" style="font-family:monospace,monospace">RĂ©mi-c<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-27 18:49 GMT+02:00 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No comments on this ?<br>
While filing a new enhancement ticket for it I found myself<br>
writing "ST_BoundingLine", would you prefer that as a name ?<br>
<br>
--strk;<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, May 26, 2015 at 05:24:54PM +0200, Sandro Santilli wrote:<br>
> I was looking for the minimum and maximum M values in a geometry and<br>
> to my surprise found NO FUNCTION to do that :'(<br>
><br>
> So I'm back deep into my BOX nightmare:<br>
> we don't have a BOX containing the M value !<br>
><br>
> My current most useful proposal about this is to use a LINESTRING<br>
> as a general mean to represent dimensional ranges:<br>
> <a href="https://lists.osgeo.org/pipermail/postgis-devel/2015-February/024780.html" target="_blank">https://lists.osgeo.org/pipermail/postgis-devel/2015-February/024780.html</a><br>
><br>
> Could it be time, for 2.2.0, to give that vision a body and provide<br>
> an ST_DimensionRange(geometry) function returning such a linestring ?<br>
> The returned linestring will have the same dimensions as the input<br>
> geometry and either 0 (for empty input) or 2 points representing minimum<br>
> (ST_StartPoint) and maximum (ST_EndPoint) dimension values.<br>
><br>
> Do you like the idea ?<br>
> Would you like to suggest a better name ?<br>
><br>
> --strk;<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br>
</div></div></blockquote></div><br></div>