postgis/raster/test/regress/rt_scale.sql
Jorge Arévalo 8f14e6c7ed Renamed accessors and editors of 'PixelSize' to 'Scale', including tests.
Related ticket #654.


git-svn-id: http://svn.osgeo.org/postgis/trunk@6552 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-03 10:46:41 +00:00

25 lines
852 B
SQL

-----------------------------------------------------------------------
-- $Id$
--
-- Copyright (c) 2009 Mateusz Loskot <mateusz@loskot.net>
--
-- 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_scalex
-----------------------------------------------------------------------
SELECT id, name, scalex
FROM rt_properties_test
WHERE st_scalex(rast) != scalex;
-----------------------------------------------------------------------
-- st_scalex
-----------------------------------------------------------------------
SELECT id, name, scaley
FROM rt_properties_test
WHERE st_scaley(rast) != scaley;