[mapserver-users] problem in DATA expression

Ahmet Temiz ahmettemiz88 at gmail.com
Mon Aug 12 11:44:35 PDT 2013


Hello

I need to have queried raster data

I want to integrate this query (sql) to DATA clause

  sql="select rc from (
                select ST_Clip(r.rast,ST_SetSRID(g.geom,4326)) AS rc
                from slp4_GEO AS r , sformasyon22 AS g
                where ST_Intersects(ST_SetSRID(g.geom,4326) ,r.rast ) "

here is my DATA expression

DATA 'PG: dbname=tr2 host=localhost port=5432 user=orkun password=222222
schema=public table=slp4_GEO   mode=2'


I will appreciate if you answer

regards


-- 
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/mapserver-users/attachments/20130812/44082f4e/attachment.htm>


More information about the MapServer-users mailing list