[Mapserver-users] Tiff problems

Raymond E. Flanery, Jr. flaneryrejr at ornl.gov
Fri Oct 24 15:18:01 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C39A42.037DA1F0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I am running mapserver 4.1 and am having the following problems - I have =
3
geotiff files, one is 8bit data, one 16 bit data and one is 32 bit data =
(I
will not get into the 32 bit data here). I can view the geotiff's in =
openev
just fine, and passing the cursor over the images shows what appear to =
be
the correct data values. However, mapserver appears to be cutting off =
the
data values in the 16 bit geotiff to a max of 255. I have used CLASS =
objects
in the LAYER object to define color bands for the dataset, and =
everything
looks correct up to the 5th band ([pixel] >=3D 201 AND [pixel] <=3D =
500),exept
that everything in the dataset that should have a data value between 201 =
and
8700 is all colored according to that 5th band.

=20

Any thoughts?

=20

Ray Flanery


------=_NextPart_000_0006_01C39A42.037DA1F0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<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>
<!--
 /* 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;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am running mapserver 4.1 and am having the =
following
problems &#8211; I have 3 geotiff files, one is 8bit data, one 16 bit =
data and
one is 32 bit data (I will not get into the 32 bit data here). I can =
view the geotiff&#8217;s
in openev just fine, and passing the cursor over the images shows what =
appear
to be the correct data values. However, mapserver appears to be cutting =
off the
data values in the 16 bit geotiff to a max of 255. I have used CLASS =
objects in
the LAYER object to define color bands for the dataset, and everything =
looks
correct up to the 5<sup>th</sup> band ([pixel] &gt;=3D 201 AND [pixel] =
&lt;=3D
500),exept that everything in the dataset that should have a data value =
between
201 and 8700 is all colored according to that 5<sup>th</sup> =
band.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Any thoughts?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Ray Flanery</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0006_01C39A42.037DA1F0--




More information about the mapserver-users mailing list