Frank<br><br>Thank you for your response. In fact, I&#39;m not very familiar with binaries, but as I remember, I had installed GDAL/OGR before I installed Mapserv. How can I check that my installation process was correct?<br>

<br>about the path, I have provided the path in my mapfile and the mapfile call this layer (in separate file). To make sure I replaced another shapefile (polygon layer) in the same path into this layer, and it worked. Also, I&#39;m using linux, which I think doesn&#39;t need extension for files, but anyway my layer file has the extension of &quot;.lay&quot;. In addition, for the polygon layer with the same situation every thing is working very well. Thanks a lot.<br>

<br>Regards,<br><br><br><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 10:42 AM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">On 11-04-08 12:16 AM, morteza shabihkhani wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello all,<br>
<br>
I want to create a very simple raster layer, but I faced to this error:<br>
<br>
msDrawMap(): Image handling error. Failed to draw layer named &#39;elevation&#39;.<br>
msDrawRaster(): Unable to access file. stcon using full path stcon<br>
<br>
this is my layer:<br>
<br>
LAYER<br>
   NAME elevation<br>
   TYPE raster<br>
   STATUS on<br>
   DATA stcon<br>
</blockquote>
<br></div>
Morteza,<br>
<br>
I don&#39;t think you mentioned what binaries you are using.  Could you confirm<br>
that the &quot;mapserv -v&quot; output includes &quot;INPUT=GDAL&quot;?  The error - particularly<br>
the EPPL one, could mean you don&#39;t even have GDAL raster support built in.<br>
<br>
In the above case, are you really really really sure the path is right?<br>
You haven&#39;t provided any path so it ought to be evaluated relative to the<br>
mapfile but to be very sure I&#39;d suggest supplying a full path.  Also, does<br>
your file really have no extension?  MapServer isn&#39;t going to guess an<br>
extension!<br>
<br>
Best regards,<br><font color="#888888">
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br>