<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.Code, li.Code, div.Code
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>I just got it working myself
a couple days ago.&nbsp; I had to put a .grassrc5 into the Document_Root location as
defined in the httpd.conf file (e.g. /usr/local/apache2/htdocs). Also, the
LAYER object DATA element needs to reference the raster from the cellhd
directory (e.g. /data/grass/location/mapset/cellhd/mymap).</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>Hope this helps.</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>-Matt</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>(RedHat8.0, Apache2.0, Mapserver
3.6.4, Php4.2.3)</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>Matt Doggett</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>Spatial Climate Analysis
Service</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
  style='font-size:10.0pt;font-family:"Courier New"'>Oregon</span></font><font
 size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>
 </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
  font-family:"Courier New"'>State</span></font><font size=2 face="Courier New"><span
 style='font-size:10.0pt;font-family:"Courier New"'> </span></font><font
  size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>University</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>316 Strand Ag Hall</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
  style='font-size:10.0pt;font-family:"Courier New"'>Corvallis</span></font><font
 size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>,
 </span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
  font-family:"Courier New"'>OR</span></font><font size=2 face="Courier New"><span
 style='font-size:10.0pt;font-family:"Courier New"'> </span></font><font
  size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>97331</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>(541)737-9153</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>mdoggett@coas.oregonstate.edu</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> owner-GRASSLIST@baylor.edu
[mailto:owner-GRASSLIST@baylor.edu] <b><span style='font-weight:bold'>On Behalf
Of </span></b>Christian Blumer<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, May 08, 2003 2:57
AM<br>
<b><span style='font-weight:bold'>To:</span></b> GRASSLIST@baylor.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> [GRASSLIST:6206] Grass
format in mapserver</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am trying to let mapserver 3.6.5 read grass raster files.
For this I compiled gdal 1.1.8 with grass option (libgrass5 1.0.0) and
recompiled mapserver.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Desesparately, Mapserver is unable to display grass raster
files and keeps on telling me :</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>msDrawRaster(): Image handling error. Unrecognized or unsupported image
format </span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Does anyone had the same problem?</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Christian</span></font></p>

</div>

</div>

</div>

</body>

</html>