[postgis-users] Finding highest cell value in raster using ST_Value

DavidRA theboss777 at gmail.com
Sun Jun 24 12:47:58 PDT 2012


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.



More information about the postgis-users mailing list