Commit f17f3b3c authored by Bborie Park's avatar Bborie Park

All functions in core API now support a band's isnodata value.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10513 b70326c6-7e19-0410-871a-916f4a2858ee
parent 781902e9
This diff is collapsed.
......@@ -12,9 +12,6 @@ CREATE OR REPLACE FUNCTION raster_plus_twenty(pixel FLOAT, VARIADIC args TEXT[])
RETURNS FLOAT AS
$$
BEGIN
IF pixel IS NULL THEN
RAISE NOTICE 'Pixel value is null.';
END IF;
RETURN pixel + 20;
END;
$$
......
......@@ -12,106 +12,6 @@ NOTICE: Raster does not have the required band. Returning a raster without a ba
t
|19
|19
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
NOTICE: Pixel value is null.
|
|19
100|15
......
NOTICE: Band's isnodata flag is TRUE. Returning NODATA value
NOTICE: Band's isnodata flag is TRUE. Returning NODATA value
NOTICE: Attempting to get pixel value with out of range raster coordinates: (-2, -2)
NOTICE: Attempting to get pixel value with out of range raster coordinates: (-2, -2)
NOTICE: Attempting to get pixel value with out of range raster coordinates: (-2, -2)
NOTICE: Attempting to get pixel value with out of range raster coordinates: (-2, -2)
NOTICE: Band's isnodata flag is TRUE. Returning NODATA value
NOTICE: Raster do not have a nodata value defined. Set band nodata value first. Nodata value not set. Returning original raster
NOTICE: Raster do not have a nodata value defined. Set band nodata value first. Nodata value not set. Returning original raster
NOTICE: Setting isnodata to FALSE as band no longer has NODATA
NOTICE: Raster do not have a nodata value defined. Set band nodata value first. Nodata value not set. Returning original raster
NOTICE: Raster do not have a nodata value defined. Set band nodata value first. Nodata value not set. Returning original raster
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment