[mapserver-users] raster layer
Stepan Kafka
stepan.kafka@centrum.cz
Fri, 29 Nov 2002 13:43:30 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0003_01C297AD.4D786F30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
You must have *.tfw file at the same location as the tif one. If yes, check
access rights for this file. You also may se geotiff instead of tiff with
tfw file acompanied.
Stepan Kafka
-----Puvodní zpráva-----
Od: owner-mapserver-users@lists.gis.umn.edu
[mailto:owner-mapserver-users@lists.gis.umn.edu]za uživatele nida Khan
Odesláno: 29. listopadu 2002 11:58
Komu: mapserver-users@lists.gis.umn.edu
Predmet: [mapserver-users] raster layer
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.
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=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
Regards
Nida.
------=_NextPart_000_0003_01C297AD.4D786F30
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><SPAN class=3D982354112-29112002><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
must have *.tfw file at the same location as the tif one. If yes, check =
access=20
rights for this file. You also may se geotiff instead of tiff with tfw =
file=20
acompanied.</FONT></SPAN></DIV>
<DIV><SPAN class=3D982354112-29112002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D982354112-29112002><FONT face=3DArial color=3D#0000ff =
size=3D2>Stepan=20
Kafka</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
size=3D2>-----Původn=ED zpr=E1va-----<BR><B>Od:</B>=20
owner-mapserver-users@lists.gis.umn.edu=20
[mailto:owner-mapserver-users@lists.gis.umn.edu]<B>za u=9Eivatele</B> =
nida=20
Khan<BR><B>Odesl=E1no:</B> 29. listopadu 2002 11:58<BR><B>Komu:</B>=20
mapserver-users@lists.gis.umn.edu<BR><B>Předmět:</B> =
[mapserver-users] raster=20
layer<BR><BR></FONT></DIV>
<DIV><FONT size=3D2>The Gurus,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I want to try out raster layer as my first layer =
and then=20
add on layers from the database on my map.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>when I do this</FONT></DIV>
<DIV><FONT size=3D2>LAYER<BR> NAME "Layer_CIB"<BR> DATA=20
"raster/tq38sw.tif"<BR> TYPE RASTER<BR> STATUS =
DEFAULT<BR> =20
OFFSITE 0<BR>END</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>it gives me this error</FONT></DIV>
<DIV><!--StartFragment --> readWorldFile(): Unable to access =
file. Unable=20
to open world file for reading. </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I've checked thousand times hte location of the =
file, I gave=20
a absolute path as well, still invain.</FONT></DIV>
<DIV><FONT size=3D2>strange thing is, when I remove the file from =
that=20
directory it display the html contents but ofcourse without the actual =
map!</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Please help</FONT></DIV>
<DIV><FONT size=3D2></FONT> </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> </DIV>
<DIV><FONT size=3D2>Regards</FONT></DIV>
<DIV><FONT size=3D2>Nida.</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0003_01C297AD.4D786F30--