[postgis-tickets] [PostGIS] #2238: [raster]: Clarify meaning of neighborhood width/height (distance in 2.1)

PostGIS trac at osgeo.org
Mon Mar 18 10:09:35 PDT 2013


#2238: [raster]: Clarify meaning of neighborhood width/height (distance in 2.1)
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.0.4
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by dustymugs):

 The convention is the number of pixels from the reference cell.

 So, specifying ngbwidth = 1 and ngbheight = 2 of ST_MapAlgebraFctNgb()
 would mean a 3 x 5 neighborhood.

 {{{
 1 1 1
 1 1 1
 1 0 1
 1 1 1
 1 1 1
 }}}

 Is this for 2.1 or 2.0?  The title seems to indicate 2.1 while the
 milestone is set for 2.0.4

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2238#comment:1>
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-tickets mailing list