[postgis-devel] ST_DimensionRange() ?
remi.cura at gmail.com
Wed May 27 09:51:44 PDT 2015
To find max of M :
FROM ST_DumpPoints(geom) AS dmp
For the linestring, I don't understand it .
2015-05-27 18:49 GMT+02:00 Sandro Santilli <strk at keybit.net>:
> No comments on this ?
> While filing a new enhancement ticket for it I found myself
> writing "ST_BoundingLine", would you prefer that as a name ?
> On Tue, May 26, 2015 at 05:24:54PM +0200, Sandro Santilli wrote:
> > I was looking for the minimum and maximum M values in a geometry and
> > to my surprise found NO FUNCTION to do that :'(
> > So I'm back deep into my BOX nightmare:
> > we don't have a BOX containing the M value !
> > My current most useful proposal about this is to use a LINESTRING
> > as a general mean to represent dimensional ranges:
> > Could it be time, for 2.2.0, to give that vision a body and provide
> > an ST_DimensionRange(geometry) function returning such a linestring ?
> > The returned linestring will have the same dimensions as the input
> > geometry and either 0 (for empty input) or 2 points representing minimum
> > (ST_StartPoint) and maximum (ST_EndPoint) dimension values.
> > Do you like the idea ?
> > Would you like to suggest a better name ?
> > --strk;
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-devel