[Mapserver-users] TIFF-Display
Ed McNierney
ed at topozone.com
Tue Jun 17 05:35:03 PDT 2003
This is a multi-part message in MIME format.
------_=_NextPart_001_01C334CC.E01C2487
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Olaf -
=20
How did you add geographic reference information to your TIFF so
MapServer knows where it is in the world? You need to have created
either a GeoTIFF with the coordinate info in the TIFF itself, or a world
file with a TFW or WLD extension to go with it.
=20
- Ed
=20
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
Phone: (978) 251-4242 Fax: (978) 251-1396
ed at topozone.com
=20
-----Original Message-----
From: Olaf Knopp [mailto:oknopp at kartago.de]=20
Sent: Tuesday, June 17, 2003 5:31 AM
To: MapServer Liste
Subject: [Mapserver-users] TIFF-Display
=20
Hello,
=20
i have got a problem with the display of a tiff-image. Mapserver shows a
white map (and produces a white .png), but navigation is possible, the
square on the refenenz map is ok and scale/scalebar also. There is no
difference if the tiff is black/white (1 bit) or 8 bit, it never shows
an i get no error message from mapserver.=20
When i use another tiff from another project it works!!
=20
The tiff was made with IrfanView (no compression, 256 Colors (counted
16), 8 Bit):
=20
Here a part of my mapfile:
=20
LAYER
NAME "Hintergrund"
DATA "Stadtplan.tif"
TYPE RASTER
OFFSITE 1
STATUS ON
END
=20
Thanks for your help!
Olaf
------_=_NextPart_001_01C334CC.E01C2487
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* 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
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Olaf –</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>How did you add geographic =
reference
information to your TIFF so MapServer knows where it is in the =
world? You need
to have created either a GeoTIFF with the coordinate info in the TIFF =
itself,
or a world file with a TFW or WLD extension to go with =
it.</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> =
- Ed</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Ed McNierney</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>President and Chief =
Mapmaker</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>TopoZone.com / Maps a la carte, =
Inc.</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>73 Princeton Street, Suite =
305</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>North Chelmsford, MA =
01863</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Phone: (978) 251-4242 Fax: =
(978) 251-1396</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>ed at topozone.com</span></font></p>
</div>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Olaf Knopp
[mailto:oknopp at kartago.de] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, June 17, =
2003 5:31
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> MapServer Liste<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> =
[Mapserver-users]
TIFF-Display</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Hello,</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>i have got a problem with =
the
display of a tiff-image. Mapserver shows a white map (and produces a =
white
.png), but navigation is possible, the square on the refenenz =
map is
ok and scale/scalebar also. There is no difference if the tiff is =
black/white
(1 bit) or 8 bit, it never shows an i get no error message from
mapserver. </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>When i use another tiff =
from another
project it works!!</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>The tiff was made with =
IrfanView (no
compression, 256 Colors (counted 16), 8 Bit):</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Here a part of my =
mapfile:</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p style=3D'margin-left:.5in'><font size=3D2 face=3DCourier><span =
style=3D'font-size:
10.0pt;font-family:Courier'>LAYER</span></font></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3DCourier><span =
style=3D'font-size:
10.0pt;font-family:Courier'> NAME =
"Hintergrund"</span></font></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3DCourier><span =
style=3D'font-size:
10.0pt;font-family:Courier'> DATA =
"Stadtplan.tif"</span></font></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3DCourier><span =
style=3D'font-size:
10.0pt;font-family:Courier'> TYPE =
RASTER</span></font></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3DCourier><span =
style=3D'font-size:
10.0pt;font-family:Courier'> OFFSITE =
1</span></font></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3DCourier><span =
style=3D'font-size:
10.0pt;font-family:Courier'> STATUS =
ON</span></font></p>
<p style=3D'margin-left:.5in'><font size=3D2 face=3DCourier><span =
style=3D'font-size:
10.0pt;font-family:Courier'>END</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Thanks for your =
help!</span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Olaf</span></font></p>
</div>
</div>
</body>
</html>
=00
------_=_NextPart_001_01C334CC.E01C2487--
More information about the MapServer-users
mailing list