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

PostGIS trac at osgeo.org
Fri Aug 30 07:18:57 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 pracine):

 There are three options here:

 1-We don't want NODATA pixels to be returned as polygons

 2-We want them to be returned but set to NULL

 3-We want them to be returned but set as the NODATA value (e.g. 0), not
 NULL

 Option 3 should be possible by deactivating the nodatavalue of the raster
 with ST_SetBandNoDataValue(rast, null).

 Option 1 and 2 should be controled by exclude_nodata_value and this is the
 only thing that exclude_nodata_value should control.

 Is this the current behavior?

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