[postgis-users] Create a rotate() function?

Markus Schaber schabi at logix-tt.com
Sat Feb 11 01:24:58 PST 2006


Hi, Paul,

Paul Ramsey wrote:

> You just have... if you want to ensure your request is not lost, you 
> should file it in the bug tracker, and describe more precisely what  you
> mean.  Function signature is presumably rotate(geometry,float).   But,
> rotate about what?  Maybe it should be rotate (geometry,geometry,float)
> where the second geometry is a point of  rotation?

Maybe it is a good idea to refactor the existing translate / scale /
transscale function into a unique lineartransform function that uses a
transformation matrix. All of translate / scale / rotate can then be
expressed via such a matrix, and we can provide the matrix function in
public.


HTH,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



More information about the postgis-users mailing list