Why don't you use ST_SummaryStats instead ST_Value? That way you can get
easily any basic stat, included the maximum value of the raster. It would be
something like:

SELECT (ST_SummaryStats(rast)).max FROM raster_table;

--
View this message in context: 
http://postgis.17.n6.nabble.com/Finding-highest-cell-value-in-raster-using-ST-Value-tp4998545p4998554.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to