[postgis-users] to get raster values bigger than 20

Ahmet Temiz ahmettemiz88 at gmail.com
Mon Jun 10 11:46:02 PDT 2013


Using postgis-raster,I want to get raster values bigger than 20.

I tried :

  SELECT ST_AsBinary((ST_DumpAsPolygons(rast)).geom),
FROM  (select ST_MapAlgebraExpr(rast,1,'CASE WHEN [rast]  > 20  THEN 1
 ELSE 0 END','0') from slp5 ) as rast;

It is wrong

I will appreciate if you give me a hint


Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Planlama ve Zarar Azaltma Dairesi Başkanlığı


Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130610/db56267a/attachment.html>

More information about the postgis-users mailing list