<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Could you please use a different subject. This is totally offtopic
with the current problem.<br>
<br>
Am 31/05/2011 16:54, schrieb Virginia Maffei:
<blockquote
cite="mid:BANLkTinDS0+Zk121XFtMFmYjpjg-Mvu6iA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div>Hi, i'm new at this and i'm trying to connect to postgis
raster in the mapfile.</div>
<div>I loaded a tif file into postgis raster database. It
created a table with 2 fields.</div>
<div>
In the mapfile i added the connection like it specifies in the
postgis raster FAQ but it doesnt displays a thing:</div>
<div><br>
</div>
<div><span class="Apple-style-span" style="border-collapse:
collapse; color: rgb(46, 46, 46); font-family: 'Lucida
Grande',Verdana,Geneva,Arial,Helvetica,sans-serif;
font-size: 13px;">
<pre class="programlisting" style="border-right: 0px solid rgb(247, 147, 30); border-left: 0px solid rgb(247, 147, 30); border-width: 2px 0px; font-family: 'Courier New',Courier,Monaco,monospace; line-height: 16px; border-color: rgb(247, 147, 30); border-style: solid; font-size: 11px; margin-bottom: 10px; margin-top: 10px; overflow: auto; padding: 10px; background-color: rgb(248, 248, 249);">
LAYER
NAME coolwktraster
TYPE raster
STATUS ON
DATA "PG:host=localhost port=5432 dbname='somedb' user='someuser' password='whatever'
schema='someschema' table='cooltable' mode='2'"
PROCESSING "NODATA=0"
PROCESSING "SCALE=AUTO"
#... other standard raster processing functions here
#... classes are optional but useful for 1 band data
CLASS
NAME "boring"
EXPRESSION ([pixel] < 20)
COLOR 250 250 250
END
CLASS
NAME "mildly interesting"
EXPRESSION ([pixel] > 20 AND [pixel] < 1000)
COLOR 255 0 0
END
CLASS
NAME "very interesting"
EXPRESSION ([pixel] >= 1000)
COLOR 0 255 0
END
END</pre>
</span></div>
<div><br>
</div>
<div>the mode=2 i deleted it because its for other postgis
version, i have postgis 1.5.2.</div>
<div><br>
</div>
<div>Could you help me with this? Could someone connect with
success?</div>
<div><br>
</div>
<div>Thank you!</div>
<div><br>
</div>
<div>Viriginia</div>
<div> </div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Daniel Degasperi
R3 GIS Srl - GmbH
<a class="moz-txt-link-abbreviated" href="http://www.r3-gis.com">www.r3-gis.com</a></div>
</body>
</html>