[postgis-devel] [PostGIS] #1569: [raster] ST_Clip variants defaulting to band 1 should default to NULL (all bands)
PostGIS
trac at osgeo.org
Fri Feb 10 14:27:04 PST 2012
#1569: [raster] ST_Clip variants defaulting to band 1 should default to NULL (all
bands)
---------------------+------------------------------------------------------
Reporter: pracine | Owner: pracine
Type: defect | Status: assigned
Priority: medium | Milestone: PostGIS 2.0.0
Component: raster | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by pracine):
The following test should return 2 not 1:
{{{
SELECT ST_NumBands(ST_Clip(ST_AddBand(ST_AddBand(ST_MakeEmptyRaster(4, 4,
0, 0, 1, -1, 0, 0, 0), 1, '8BUI', 10, 0), '8BUI'::text, 2, 0),
ST_Buffer(ST_SetSRID(ST_MakePoint(1.5, -1.5), 0), 0.2)));
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1569#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list