[postgis-devel] [PostGIS] #1914: [raster] ST_Contains() in raster and vector space

PostGIS trac at osgeo.org
Thu Jul 19 13:17:44 PDT 2012


#1914: [raster] ST_Contains() in raster and vector space
-------------------------+--------------------------------------------------
 Reporter:  dustymugs    |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  assigned     
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  raster       |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by dustymugs):

  * status:  new => assigned


Comment:

 Like the geometry ST_Contains, the raster ST_Contains will use a spatial
 index (&& operator) if available.

 !Raster/Raster variants

 {{{
 1. st_contains(
         rast1 raster, nband1 integer,
         rast2 raster, nband2 integer
 ) -> boolean

 2. st_contains(
         rast1 raster,
         rast2 raster
 ) -> boolean
 }}}

 !Raster/Geometry variants in raster-space

 {{{
 3. st_contains(
         rast raster,
         geom geomtry,
         nband integer DEFAULT NULL
 ) -> boolean

 4. st_contains(
         rast raster,
         nband integer,
         geom geometry
 ) -> boolean
 }}}

 !Geometry/Raster variant in vector-space

 {{{
 5. st_contains(
         geom geometry,
         rast raster,
         nband integer DEFAULT NULL
 ) -> boolean
 }}}

 Yeah.  There's a pattern here amongst all the spatial relationship
 functions.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1914#comment:2>
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