mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 09:02:37 +00:00
d432dc28e5
Associated ticket is #928 git-svn-id: http://svn.osgeo.org/postgis/trunk@7779 b70326c6-7e19-0410-871a-916f4a2858ee
25 lines
940 B
SQL
25 lines
940 B
SQL
-----------------------------------------------------------------------
|
|
-- $Id$
|
|
--
|
|
-- Copyright (c) 2011 David Zwarg <dzwarg@azavea.com>
|
|
--
|
|
-- This is free software; you can redistribute and/or modify it under
|
|
-- the terms of the GNU General Public Licence. See the COPYING file.
|
|
-----------------------------------------------------------------------
|
|
|
|
-----------------------------------------------------------------------
|
|
-- st_pixelwidth
|
|
-----------------------------------------------------------------------
|
|
|
|
SELECT id, name, scalex, skewy
|
|
FROM rt_properties_test
|
|
WHERE NOT sqrt(scalex*scalex + skewy*skewy) = st_pixelwidth(rast);
|
|
|
|
-----------------------------------------------------------------------
|
|
-- st_pixelheight
|
|
-----------------------------------------------------------------------
|
|
|
|
SELECT id, name, scaley, skewx
|
|
FROM rt_properties_test
|
|
WHERE NOT sqrt(scaley*scaley + skewx*skewx) = st_pixelheight(rast);
|