[postgis-devel] [PostGIS] #1251: Enhance ST_Rotate by adding offset origin parameters
PostGIS
trac at osgeo.org
Mon Oct 24 05:30:54 PDT 2011
#1251: Enhance ST_Rotate by adding offset origin parameters
-------------------------+--------------------------------------------------
Reporter: mwtoews | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Provide ST_Rotate functions that allow offset origin parameters. The
current/default rotation behaviour, rotates geometries from the origin
POINT(0 0), which has limitations with geographic or UTM coordinates. This
enhancement is to allow the reference origin point to be specified as
either a POINT geometry or a set of X and Y coordinate values:
{{{
ST_Rotate(geometry geomA, float8 rotRadians, float8 x0, float8 y0);
ST_Rotate(geometry geomA, float8 rotRadians, geometry pointOrigin);
}}}
Functions, such as ST_MinimumBoundingCircle can be updated to use the new
functionality, as it currently uses a more complicate method with multiple
subcalls to ST_Affine.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1251>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list