[postgis-tickets] [PostGIS] #2454: [raster] ST_PixelAsPolygons does not obey exclude_nodata_value=TRUE

PostGIS trac at osgeo.org
Fri Aug 30 06:59:30 PDT 2013


#2454: [raster] ST_PixelAsPolygons does not obey exclude_nodata_value=TRUE
--------------------+-------------------------------------------------------
 Reporter:  alfred  |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.1
Component:  raster  |     Version:  2.1.x        
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by dustymugs):

 Looking at how the behavior changed between 2.0 and 2.1 (the
 '''exclude_nodata_value''' parameter was added in 2.1),
 ST_PixelAsPolygons() has always returned NULL value for a pixel set to the
 NODATA value. This behavior is present before 2.0.

 The '''exclude_nodata_value''' parameter was added in 2.1 so that ALL
 pixel values would be returned regardless of a pixel being NODATA or not.

 If people think that the behavior should be changed so that when
 '''exclude_nodata_value''' = true NODATA pixels are not returned, that
 change can be made for 2.2.

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