Opened 9 years ago

Closed 9 years ago

Last modified 9 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 by strk, 9 years ago

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

comment:2 by strk, 9 years ago

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

comment:3 by robe, 9 years ago

Don't like this name or anything with fix.

ST_Nagonal is my preferred at the moment:

comment:4 by strk, 9 years ago

Keywords: history added
Resolution: fixed
Status: newclosed

r13599. Sorry Regina, it's ST_BoundingDiagonal.

comment:5 by robe, 9 years ago

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

Note: See TracTickets for help on using tickets.