From: Pierre Racine Date: Fri, 15 Apr 2011 18:06:59 +0000 (+0000) Subject: -Fix for #651. Replace "scale" parameter for "pixelsize". X-Git-Tag: 2.0.0alpha1~1762 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29a2c7a778995bffb9059680f9a928f281ff0947;p=postgis -Fix for #651. Replace "scale" parameter for "pixelsize". git-svn-id: http://svn.osgeo.org/postgis/trunk@7040 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/rtpostgis.sql.in.c b/raster/rt_pg/rtpostgis.sql.in.c index 8c9434981..109f6762d 100644 --- a/raster/rt_pg/rtpostgis.sql.in.c +++ b/raster/rt_pg/rtpostgis.sql.in.c @@ -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;