[postgis-devel] [PostGIS] #730: Raster is broken -- no casts
PostGIS
trac at osgeo.org
Thu Dec 23 10:51:04 PST 2010
#730: Raster is broken -- no casts
----------------------------+-----------------------------------------------
Reporter: robe | Owner: pracine
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
This si the first of 2 raster breaks I am noting. Short answer -- Paul,
raster is pretty much unusable with your new changes.
-- I suspect a cast is missing, though its questionable if we should have
an auto cast in place or just define functions and operators directly for
raster
{{{
SELECT ST_Box2D(rast1.rast) FROM (
( SELECT ST_SetSRID(ST_SetValue(
ST_AddBand(
ST_MakeEmptyRaster( 100, 100, (i-1)*100,
(i-1)*100, 0.0005, -0.0005, 0*i, 0*i), '32BF'),
i, (i+1),-4294),4326)
As rast
FROM generate_series(1,10) As i) ) As rast1
LIMIT 3;
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/730>
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