SV: [mapserver-users] TIFFs and ECWs rasters get a monochrome output - why?

Anders Knudstrup Hansen LE34 akh@le34.dk
Tue, 24 Sep 2002 08:21:09 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C26392.92B74BBA
Content-Type: text/plain;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

I've seen this behaviour too..... I've found out that it depends on =
whether or not I have a Class object in my layers (I have one tileindex =
layer). If i remove the class object my ecw's show up in color, and if I =
add a class object they show up in black/white... (I actually use this =
as a feature, since most of my ecw images look ugly in color)....
=20
Hope this helps.
=20
/ Anders

-----Oprindelig meddelelse-----
Fra: Alexander Gleyzer [mailto:agleyzer@bezeqint.net]
Sendt: 23. september 2002 23:28
Til: mapserver-users@lists.gis.umn.edu
Emne: [mapserver-users] TIFFs and ECWs rasters get a monochrome output - =
why?


Hi!
=20
I'm using MapServer raster layers to present large background images.
When I got to large TIFFs (>200 MB) the server displayed an error =
message (unsupported image format or smth.).
I tried to download the GDAL support version (precompiled Win-32 =
binaries),
which also supports ECW (I have those TIFFs compressed to ECWs).
But when I fired it up - all the output turned out black-and-white, =
never mind the output format (GIF, JPG, PNG)!
Why is that happening? Is there a way to normally present large TIFFs or =
their ECW equivalents?
=20
Thanks!
=20
Alexander Gleyzer.
=20
=20


------_=_NextPart_001_01C26392.92B74BBA
Content-Type: text/html;
	charset="windows-1255"
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=3Dwindows-1255">


<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D153261706-24092002><FONT face=3DArial color=3D#0000ff =
size=3D2>I've=20
seen this behaviour too..... I've found out that it depends on whether =
or not I=20
have a Class object in my layers (I have one tileindex layer). If i =
remove the=20
class object my ecw's show up in color, and if I add a class object they =
show up=20
in black/white... (I actually use this as a feature, since most of my =
ecw images=20
look ugly in color)....</FONT></SPAN></DIV>
<DIV><SPAN class=3D153261706-24092002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D153261706-24092002><FONT face=3DArial color=3D#0000ff =
size=3D2>Hope=20
this helps.</FONT></SPAN></DIV>
<DIV><SPAN class=3D153261706-24092002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D153261706-24092002><FONT face=3DArial color=3D#0000ff =
size=3D2>/=20
Anders</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 dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Oprindelig meddelelse-----<BR><B>Fra:</B> Alexander =
Gleyzer=20
  [mailto:agleyzer@bezeqint.net]<BR><B>Sendt:</B> 23. september 2002=20
  23:28<BR><B>Til:</B> mapserver-users@lists.gis.umn.edu<BR><B>Emne:</B> =

  [mapserver-users] TIFFs and ECWs rasters get a monochrome output -=20
  why?<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>I'm using MapServer raster =
layers to=20
  present large background images.</FONT></DIV>
  <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>When I got to large TIFFs =
(&gt;200 MB)=20
  the server displayed an error message (unsupported image format or=20
  smth.).</FONT></DIV>
  <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>I tried to download the =
GDAL support=20
  version (precompiled Win-32 binaries),</FONT></DIV>
  <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>which also supports ECW (I =
have those=20
  TIFFs compressed to ECWs).</FONT><FONT face=3D"Arial (Hebrew)"=20
  size=3D2></FONT></DIV>
  <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>But when I fired it up - =
all the=20
  output turned out black-and-white, never mind the output format (GIF, =
JPG,=20
  PNG)!</FONT></DIV>
  <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Why is that happening? Is =
there a way=20
  to normally present large TIFFs or their ECW equivalents?</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Thanks!</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Alexander =
Gleyzer.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C26392.92B74BBA--