[postgis-users] NoDataValue

Paolo Cavallini cavallini at faunalia.it
Wed May 30 03:31:43 PDT 2012


Hi all.
If I
SELECT nodata_values
from raster_columns
where r_table_name='basin_toscana';

 nodata_values
---------------

(1 riga)

then

UPDATE basin_toscana
SET rast = ST_SetBandNoDataValue(rast,1, 65535);

why I still get:

SELECT nodata_values
from raster_columns
where r_table_name='basin_toscana';

 nodata_values
---------------

(1 riga)
?

Also, I get:

SELECT srid from raster_columns where r_table_name='basin_toscana';
 srid
------
    0
(1 riga)

in spite of having imported with

raster2pgsql -s 3003 -I -M basin_toscana.tif > basin.sql

Thanks for any hint.
All the best.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc



More information about the postgis-users mailing list