]> granicus.if.org Git - postgis/commitdiff
-Fix for #651. Replace "scale" parameter for "pixelsize".
authorPierre Racine <Pierre.Racine@sbf.ulaval.ca>
Fri, 15 Apr 2011 18:06:59 +0000 (18:06 +0000)
committerPierre Racine <Pierre.Racine@sbf.ulaval.ca>
Fri, 15 Apr 2011 18:06:59 +0000 (18:06 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7040 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpostgis.sql.in.c

index 8c94349819705a6840a3621506e0bc50b08bd5e8..109f6762da0e6fb204d40ea7dd7b6acb89fb2fa5 100644 (file)
@@ -165,7 +165,7 @@ CREATE OR REPLACE FUNCTION st_makeemptyraster(width int, height int, upperleftx
     AS 'MODULE_PATHNAME', 'RASTER_makeEmpty'
     LANGUAGE 'C' IMMUTABLE STRICT;
 
-CREATE OR REPLACE FUNCTION st_makeemptyraster(width int, height int, upperleftx float8, upperlefty float8, scale float8)
+CREATE OR REPLACE FUNCTION st_makeemptyraster(width int, height int, upperleftx float8, upperlefty float8, pixelsize float8)
     RETURNS raster
     AS 'select st_makeemptyraster($1, $2, $3, $4, $5, $5, 0, 0, -1)'
     LANGUAGE 'SQL' IMMUTABLE STRICT;