<div dir="ltr"><div><span lang="en"><span>Hi</span> a<span>ll</span><span>,</span> <br><br><span>I have</span> <span>on my mac</span> (Mavericks OS) <span>Mapserver</span> <span>6.2.1</span> <span>and</span> <span>PostGIS</span> <span>2.1.2</span> <span>installed via</span> <span>homebrew</span> <span>and my</span> <span>version of</span> <span>GDAL</span> <span>is</span> <span>1.10.1_1</span><span>.</span> <span>Apparently</span> <span>everything works fine</span> <span>...</span> <br>
<br><span>When I try to</span> <span>display a</span> <span>raster</span> <span>layer</span> <span>from</span> <span>PostGIS</span><span>,</span> <span>got the following message</span><span>:</span> <br>
<br></span><span style="font-family:courier new,monospace">msDrawMap():
Image handling error. Failed to draw layer named 'srtm'.
msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing
file 'PG: dbname=raster_test host=localhost user=gis password=123
port=5432 mode=2 schema=public table=srtm' for layer 'srtm'.</span><span lang="en"><br>
<br></span><br><span lang="en"><span lang="en"><span>Here</span> <span>is my</span> <span>mapfile layer:<br><br><span style="font-family:courier new,monospace">LAYER<br>
NAME "srtm"<br> TYPE RASTER<br> STATUS DEFAULT<br> DATA "PG: dbname=raster_test host=localhost user=gis password=123 port=5432 mode=2 schema=public table=srtm"<br> PROCESSING "NODATA=0"<br>
PROCESSING "SCALE=AUTO"<br><br> METADATA<br> "ows_title" "srtm"<br> END # METADATA<br><br> PROJECTION<br> "init=epsg:4326"<br> END # PROJECTION<br><br> END # LAYER<br>
</span><br><br></span></span><span>Could anyone</span> <span>suggest a solution</span><span>?</span> <span>I think</span> <span>I should</span> <span>reinstall</span> <span>PostGIS</span> <span>and</span> <span>mapserver</span><span>,</span> <span>enabling</span> some<span> flags to PostGIS support GDAL</span><span> (?),</span> <span>but do not know</span> <span>how to do</span><span>.</span> <br>
<br><span>thanks</span> <span>in advance</span></span>,<br clear="all"><br></div>PS. Sorry for the first email without title =/<br><div>-- <br><b>Marcello Benigno B. de Barros Filho</b><br><font size="1">Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB<br>
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE</font><div><font size="1">Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE</font><font size="1"><br></font><font size="1"><a href="http://profmarcello.blogspot.com" target="_blank">http://profmarcello.blogspot.com</a></font><div>
<a href="http://about.me/marcello.benigno" target="_blank"><font size="1">http://about.me/marcello.benigno</font></a></div></div>
</div></div>