[postgis-devel] [PostGIS] #597: [raster] ST_Clip
PostGIS
trac at osgeo.org
Fri Dec 16 11:37:34 PST 2011
#597: [raster] ST_Clip
----------------------------+-----------------------------------------------
Reporter: pracine | Owner: dustymugs
Type: task | Status: assigned
Priority: blocker | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Changes (by dustymugs):
* status: new => assigned
Comment:
From the looks of it, Pierre's ST_Clip has the following signatures.
{{{
1. ST_Clip(
rast raster, band int,
geom geometry,
nodata float8 DEFAULT null,
trimraster boolean DEFAULT false
)
}}}
{{{
2. ST_Clip(
rast raster,
geom geometry,
nodata float8 DEFAULT null,
trimraster boolean DEFAULT false
)
}}}
{{{
3. ST_Clip(
rast raster, band int,
geom geometry,
trimraster boolean
)
}}}
{{{
4. ST_Clip(
rast raster,
geom geometry,
trimraster boolean
)
}}}
I'm wondering if the "nodata" parameter could be dropped as I would
consider ST_Clip a pure extent constraining function with no data
manipulation. Also, I'd like to see trimraster default to TRUE as the
primary purpose of ST_Clip is to cut up the raster to only the area(s) of
interest. Will need to ask postgis-devel as there are one or two users of
ST_Clip.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/597#comment:6>
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