Opened 14 years ago

Closed 14 years ago

#759 closed defect (fixed)

[raster] annoying WARNING: Getting NODATA value for a band without NODATA value

Reported by: robe Owned by: jorgearevalo
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

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

Change History (2)

comment:1 by jorgearevalo, 14 years ago

Owner: changed from pracine to jorgearevalo
Status: newassigned

Done on r6584. Please check it.

comment:2 by jorgearevalo, 14 years ago

Resolution: fixed
Status: assignedclosed

I close this ticket. Opened a related one: #769

Note: See TracTickets for help on using tickets.