[postgis-devel] [PostGIS] #1752: [raster] ST_Neighborhood

PostGIS trac at osgeo.org
Tue Apr 3 13:12:38 PDT 2012

#1752: [raster] ST_Neighborhood
 Reporter:  dustymugs    |       Owner:  dustymugs     
     Type:  enhancement  |      Status:  assigned      
 Priority:  medium       |   Milestone:  PostGIS Future
Component:  raster       |     Version:  trunk         
 Keywords:               |  

Comment(by dustymugs):

 Would the following work?

 SELECT ST_Max4Ma((ST_Neighborhood(rast, 1, 3.14)).val)

 The format of returning a set of (x, y, val) is so that someone could go
 nuts with the results, such as weighted averages based upon distance.

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