[postgis-devel] [PostGIS] #582: [wktraster] Correct pixel size calculations
PostGIS
trac at osgeo.org
Fri Sep 10 07:34:40 PDT 2010
#582: [wktraster] Correct pixel size calculations
-----------------------+----------------------------------------------------
Reporter: dzwarg | Owner: dzwarg
Type: defect | Status: new
Priority: medium | Milestone: WKTRaster 0.1.6
Component: wktraster | Version: 1.5.X
Keywords: |
-----------------------+----------------------------------------------------
Comment(by dzwarg):
Well, skewx and skewy may be unequal for small rotations. The ratio of
skewx / scaly and skewy / scalex remains constant, though.
I do know what you refer to, though -- when a raster is indeed skewed, or
diamond shaped, there are really 2 rotations; one for the amount off the X
axis, and one for the amount off the Y axis.
Would it be acceptable if ST_Rotation returned NaN for conditions when
non-uniform rotations are detected, and was documented as such?
I agree that st_setrotation doesn't have this problem, since you are
setting the skew/scale for both dimensions at the same time.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/582#comment:3>
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