[mapserver-users] raster layer

nida Khan nida@webstar.co.uk
Fri, 29 Nov 2002 10:57:52 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_0193_01C29796.29CD3C80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The Gurus,

I want to try out raster layer as my first layer and then add on layers =
from the database on my map.

when I do this
LAYER
  NAME "Layer_CIB"
  DATA "raster/tq38sw.tif"
  TYPE RASTER
  STATUS DEFAULT
  OFFSITE 0
END

it gives me this error
 readWorldFile(): Unable to access file. Unable to open world file for =
reading.=20

I've checked thousand times hte location of the file, I gave a absolute =
path as well, still invain.
strange thing is, when I remove the file from that directory it display =
the html contents but ofcourse without the actual map!

Please help

here is my mapserver -v
MapServer version 3.6.3 OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP =
SUPPORTS=3DPROJ SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER =
SUPPORTS=3DWMS_CLIENT INPUT=3DTIFF INPUT=3DEPPL7 INPUT=3DJPEG =
INPUT=3DPOSTGIS INPUT=3DOGR INPUT=3DGDAL INPUT=3DSHAPEFILE

Regards
Nida.

------=_NextPart_000_0193_01C29796.29CD3C80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>The Gurus,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I want to try out raster layer as my first layer and =
then add=20
on layers from the database on my map.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>when I do this</FONT></DIV>
<DIV><FONT size=3D2>LAYER<BR>&nbsp; NAME "Layer_CIB"<BR>&nbsp; DATA=20
"raster/tq38sw.tif"<BR>&nbsp; TYPE RASTER<BR>&nbsp; STATUS =
DEFAULT<BR>&nbsp;=20
OFFSITE 0<BR>END</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>it gives me this error</FONT></DIV>
<DIV><!--StartFragment -->&nbsp;readWorldFile(): Unable to access file. =
Unable=20
to open world file for reading. </DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I've checked thousand times hte location of the =
file, I gave a=20
absolute path as well, still invain.</FONT></DIV>
<DIV><FONT size=3D2>strange thing is, when&nbsp;I remove the file from =
that=20
directory it display the html contents but ofcourse without the actual=20
map!</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Please help</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>here is my mapserver -v</FONT></DIV>
<DIV><FONT size=3D2>MapServer version 3.6.3 OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP=20
SUPPORTS=3DPROJ SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER =
SUPPORTS=3DWMS_CLIENT INPUT=3DTIFF=20
INPUT=3DEPPL7 INPUT=3DJPEG INPUT=3DPOSTGIS INPUT=3DOGR INPUT=3DGDAL=20
INPUT=3DSHAPEFILE</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Regards</FONT></DIV>
<DIV><FONT size=3D2>Nida.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0193_01C29796.29CD3C80--