[postgis-users] Create a rotate() function?
Bruce Rindahl
rindahl at lrcwe.com
Sat Feb 11 08:50: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.
This would be the cleanest solution. The same approach is available in
PostScript, SVG, etc.
Bruce Rindahl
More information about the postgis-users
mailing list