[postgis-devel] ST_DimensionRange() ?

Sandro Santilli strk at keybit.net
Wed May 27 09:51:48 PDT 2015


Or ST_RangeLine() ...

On Wed, May 27, 2015 at 06:49:02PM +0200, Sandro Santilli wrote:
> 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:
> > https://lists.osgeo.org/pipermail/postgis-devel/2015-February/024780.html
> > 
> > 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;



More information about the postgis-devel mailing list