Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3139 closed enhancement (fixed)

ST_BoundingDiagonal(geom geometry, fits boolean default false) return linestring geometry

Reported by: strk Owned by: strk
Priority: high Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: history Cc:

Description

A function returning a 2-points LINESTRING representing the minimum and maximum values of all dimensions (first point holding minimum values, last point holding maximum values).

The second parameter specifies if the range should be precise or an approximation is allowed. Approximated range would be still guaranteed to fully cover the input geometry.

For rationale, see here: https://lists.osgeo.org/pipermail/postgis-devel/2015-May/024906.html

Change History (5)

comment:1 Changed 4 years ago by strk

Summary: ST_BoundingRange(geom geometry, fitting boolean default false) return linestring geometryST_BoundingDiagonal(geom geometry, fitting boolean default false) return linestring geometry

comment:2 Changed 4 years ago by strk

Summary: ST_BoundingDiagonal(geom geometry, fitting boolean default false) return linestring geometryST_BoundingDiagonal(geom geometry, fits boolean default false) return linestring geometry

comment:3 Changed 4 years ago by robe

Don't like this name or anything with fix.

ST_Nagonal is my preferred at the moment:

comment:4 Changed 4 years ago by strk

Keywords: history added
Resolution: fixed
Status: newclosed

r13599. Sorry Regina, it's ST_BoundingDiagonal.

comment:5 Changed 4 years ago by robe

Well first thing I'm gonna do is deprecate that name :)

Note: See TracTickets for help on using tickets.