Opened 13 years ago
Closed 13 years ago
#1921 closed enhancement (fixed)
[raster] ST_Touches in raster and vector space
Reported by: | dustymugs | Owned by: | dustymugs |
---|---|---|---|
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 , 13 years ago
comment:2 by , 13 years ago
rt_raster_surface creates a multipolygon of the actual area of a raster's band (excludes NODATA pixels).
Functions in rt_pg/* are in camel case while those functions in rt_core/* are not. I've been following the pattern that was in use when I showed up.
comment:3 by , 13 years ago
Status: | new → assigned |
---|
Like the geometry ST_Touches, the raster ST_Touches will use a spatial index (&& operator) if available.
Raster/Raster variants
1. st_touches( rast1 raster, nband1 integer, rast2 raster, nband2 integer ) -> boolean 2. st_touches( rast1 raster, rast2 raster ) -> boolean
Raster/Geometry variants in raster-space
3. st_touches( rast raster, geom geomtry, nband integer DEFAULT NULL ) -> boolean 4. st_touches( rast raster, nband integer, geom geometry ) -> boolean
Geometry/Raster variant in vector-space
5. st_touches( geom geometry, rast raster, nband integer DEFAULT NULL ) -> boolean
comment:4 by , 13 years ago
Keywords: | history added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Added in r10078
Note:
See TracTickets
for help on using tickets.
And WTF is rt_raster_surface (and note our love of CamelCase over under_scores).