Opened 9 years ago

Last modified 3 years ago

#1554 new defect

[raster] ST_SetRotation does not preserve the angle between basis vectors

Reported by: dzwarg Owned by: dzwarg
Priority: high Milestone: PostGIS Fund Me
Component: raster Version: master
Keywords: Cc:


SetRotation does not preserve the angle between the basis vectors. (The angle between ib and jb is different after St_SetRotation is called. Both axes should be rotated the same.)

I remedied this in my working git repo with an implementation of DevWikiRealParameters and DevWikiAffineParameters, upon which st_rotation and st_setrotation now depend (in that repo). We can either pluck out the bits and pieces relevant to this issue or wait for the gen2 iterator...or you can reimplement the algorithms from scratch. Plucking out bits and pieces may be a bit sticky, since the new code is tested with CUnit tests, and the postgis repo lacks this infrastructure.

The commit which fixes this in bnordgren's repo is:

To browse source:

Change History (3)

comment:1 Changed 9 years ago by dzwarg

Owner: changed from pracine to dzwarg

comment:2 Changed 9 years ago by pracine

Milestone: PostGIS Raster FuturePostGIS Future

comment:3 Changed 3 years ago by robe

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.