[postgis-devel] [PostGIS] #759: [raster] annoying WARNING: Getting NODATA value for a band without NODATA value

PostGIS trac at osgeo.org
Sat Jan 8 22:10:59 PST 2011


#759: [raster] annoying WARNING: Getting NODATA value for a band without NODATA
value
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Jorge,

 I think this is similar to the notice you fixed earlier .  Would be nice
 if you changed this one to a debug only notice too.

 When I use gdalwarp like this:
 gdalwarp -s_srs "EPSG:4326" -t_srs "EPSG:2163" PG:"host='localhost'
 port='5440' dbname='test_postgis20' user='postgres' password='whatever'
 schema='ch13' table='usdem'
 where='ST_Intersects(rast,ST_MakeEnvelope(-115.60,32.54, -112.96,
 26.03,4326))' mode='2'" usdem_sub.tif


 It outputs fine but gives me a notice for each tile:

 {{{
 WARNING:  Getting NODATA value for a band without NODATA values. Using 0
 CONTEXT:  SQL function "st_bandmetadata" statement 1
 WARNING:  Getting NODATA value for a band without NODATA values. Using 0

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/759>
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