Ticket #759 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[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: trunk
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

Changed 2 years ago by jorgearevalo

  • owner changed from pracine to jorgearevalo
  • status changed from new to assigned

Done on r6584. Please check it.

Changed 2 years ago by jorgearevalo

  • status changed from assigned to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.