]> granicus.if.org Git - postgis/commitdiff
Replaced AsBinary with ST_AsBinary in the test section
authorPierre Racine <Pierre.Racine@sbf.ulaval.ca>
Thu, 1 Dec 2011 15:11:15 +0000 (15:11 +0000)
committerPierre Racine <Pierre.Racine@sbf.ulaval.ca>
Thu, 1 Dec 2011 15:11:15 +0000 (15:11 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8281 b70326c6-7e19-0410-871a-916f4a2858ee

raster/scripts/plpgsql/st_union.sql

index 9d72b3ee14eb7f6a219bd19d19e60c4bf6d29fa9..ed2c46ccf0052bd8d4df36276b98c4675b09426a 100644 (file)
@@ -1,4 +1,4 @@
-----------------------------------------------------------------------
+----------------------------------------------------------------------
 --
 -- $Id$
 --
@@ -279,14 +279,14 @@ FROM (SELECT ST_PixelAsPolygons(ST_Union(rast, 'SUM'::text,
             ) foi) foo
 
 
-SELECT AsBinary((rast).geom), (rast).val 
+SELECT ST_AsBinary((rast).geom), (rast).val 
 FROM (SELECT ST_PixelAsPolygons(ST_Union(rast), 1) AS rast 
       FROM (SELECT ST_TestRaster(0, 0, 1) AS rast UNION ALL SELECT ST_TestRaster(2, 0, 2)
            ) foi
      ) foo
 
 
-SELECT AsBinary((rast).geom), (rast).val 
+SELECT ST_AsBinary((rast).geom), (rast).val 
 FROM (SELECT ST_PixelAsPolygons(ST_Union(rast, 'mean'), 1) AS rast 
       FROM (SELECT ST_TestRaster(0, 0, 1) AS rast UNION ALL SELECT ST_TestRaster(1, 0, 2) UNION ALL SELECT ST_TestRaster(0, 1, 6)
            ) foi