[postgis-users] ST_MapAlgebraExpr() : what is mean [rast] ?

Mahavir Trivedi mahavir.trivedi at gmail.com
Tue Nov 20 23:16:20 PST 2012


dear

sir first to thanking you for suggestion about query


alter table dem demtest add column map_rast raster
update demtest set map_rast= ST_mapalgebraExpr(rast,'16BUI'::text,'CASE
WHEN [rast] BETWEEN 10 AND 200 THEN [rast] ELSE NULL')


 IT is Execute success fully .

BUT  when I export it using JAVA program It's size of Tiff is 9 KB . mean i
mage not visible

SELECT ST_COUNT(map_rast,false) from demtest
 4641304
SELECT ST_COUNT(map_rast) from demtest
0

with regards
Mahavir trivedi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121121/17095444/attachment.html>


More information about the postgis-users mailing list