[postgis-devel] [PostGIS] #1536: [raster] There should be an option for setting the nodata value in certain variants of ST_Intersection(raster, raster)

PostGIS trac at osgeo.org
Tue Feb 7 11:03:57 PST 2012


#1536: [raster] There should be an option for setting the nodata value in certain
variants of ST_Intersection(raster, raster)
---------------------+------------------------------------------------------
 Reporter:  pracine  |       Owner:  pracine      
     Type:  defect   |      Status:  new          
 Priority:  low      |   Milestone:  PostGIS 2.0.0
Component:  raster   |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by dustymugs):

 So for various returnband:

 FIRST
 {{{
 ST_MapAlgebraExpr(rast1, band1, rast2, band2, '[rast1.val]',
 ST_BandPixelType(rast1, band1), extenttype, nodata2, nodata1, nodata1);
 }}}

 SECOND
 {{{
 ST_MapAlgebraExpr(rast1, band1, rast2, band2, '[rast2.val]',
 ST_BandPixelType(rast2, band2), extenttype, nodata2, nodata1, nodata2);
 }}}

 BOTH is FIRST and then SECOND

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