Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1914 closed enhancement (fixed)

[raster] ST_Contains() in raster and vector space

Reported by: Bborie Park Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.1.0
Component: raster Version: master
Keywords: history Cc:

Description

This would be implemented using the underlying C function rt_raster_surface().

Change History (4)

comment:1 by Bborie Park, 12 years ago

Owner: changed from pracine to Bborie Park

comment:2 by Bborie Park, 12 years ago

Status: newassigned

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.

comment:3 by Bborie Park, 12 years ago

Resolution: fixed
Status: assignedclosed

Added in r10089

comment:4 by Bborie Park, 12 years ago

Keywords: history added
Note: See TracTickets for help on using tickets.