[Mapserver-users] image band processing problem

Ed McNierney ed at topozone.com
Mon Aug 18 11:25:12 EDT 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C3659C.EA9B7BF4
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Damian -
=20
Does the TILEINDEX version work WITHOUT the PROCESSING directive?  One =
other explanation for your symptom is that your index is incorrect.
=20
    - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242=20

-----Original Message-----
From: Damian Schroder [mailto:map_surfer at yahoo.com]
Sent: Monday, August 18, 2003 11:07 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] image band processing problem


Dear list,
=20
We have a TILEINDEX for 6 band imagery using the PROCESSING function =
("BANDS=3D5,4,3"). However, when applying this no imagery appears. Yet, =
when replacing the TILEINDEX with a single image this works. We are =
using Redhat 9, Mapserver 4.0b compiled with GDAL.
=20
                                   DOES NOT WORK:
=20
  LAYER
    NAME "LandSat IMG 6 Band Test"
    GROUP "LandSat IMG Test"
    TILEINDEX "2003/imagery/lansat/testimg.shp"
    TYPE RASTER
    PROCESSING "BANDS=3D5,4,3"
    OFFSITE 0 0 0
    STATUS OFF
  END
=20
                                              WORKS:
=20
  LAYER
    NAME "LandSat IMG 6 Band Test"
    GROUP "LandSat IMG Test"
    DATA "2003/imagery/lansat/test6band.tif"
    TYPE RASTER
    PROCESSING "BANDS=3D5,4,3"
    OFFSITE 0 0 0
   STATUS OFF
  END
=20
=20
TIA,
            Damian



  _____ =20

Do you Yahoo!?
Yahoo!  =
<http://us.rd.yahoo.com/evt=3D10469/*http://sitebuilder.yahoo.com> =
SiteBuilder - Free, easy-to-use web site design software


------_=_NextPart_001_01C3659C.EA9B7BF4
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D151252415-18082003><FONT face=3DArial color=3D#0000ff =
size=3D2>Damian=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D151252415-18082003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D151252415-18082003><FONT face=3DArial color=3D#0000ff =
size=3D2>Does=20
the TILEINDEX version work WITHOUT the PROCESSING directive?&nbsp; One =
other=20
explanation for your symptom is that your index is=20
incorrect.</FONT></SPAN></DIV>
<DIV><SPAN class=3D151252415-18082003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D151252415-18082003>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
<DIV><SPAN class=3D151252415-18082003><FONT face=3DArial color=3D#0000ff =
size=3D2>
<P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
MA&nbsp; 01863<BR>ed at topozone.com<BR>(978) 251-4242=20
</FONT></P></FONT></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Damian Schroder=20
  [mailto:map_surfer at yahoo.com]<BR><B>Sent:</B> Monday, August 18, 2003 =
11:07=20
  AM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B>=20
  [Mapserver-users] image band processing problem<BR><BR></FONT></DIV>
  <DIV>Dear list,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>We have a TILEINDEX for 6 band imagery using the PROCESSING =
function=20
  ("BANDS=3D5,4,3"). However, when applying this no imagery appears. =
Yet, when=20
  replacing the TILEINDEX with a single image this works. We are using =
Redhat 9,=20
  Mapserver 4.0b compiled with GDAL.</DIV>
  <DIV>&nbsp;</DIV>
  =
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  DOES NOT WORK:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp; NAME "LandSat IMG 6 Band=20
  Test"<BR>&nbsp;&nbsp;&nbsp; GROUP "LandSat IMG =
Test"<BR>&nbsp;&nbsp;&nbsp;=20
  TILEINDEX "2003/imagery/lansat/testimg.shp"<BR>&nbsp;&nbsp;&nbsp; TYPE =

  RASTER<BR>&nbsp;&nbsp;&nbsp; PROCESSING =
"BANDS=3D5,4,3"<BR>&nbsp;&nbsp;&nbsp;=20
  OFFSITE 0 0 0<BR>&nbsp;&nbsp;&nbsp; STATUS OFF<BR>&nbsp; END</DIV>
  <DIV>&nbsp;</DIV>
  =
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  WORKS:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp; NAME "LandSat IMG 6 Band=20
  Test"<BR>&nbsp;&nbsp;&nbsp; GROUP "LandSat IMG =
Test"<BR>&nbsp;&nbsp;&nbsp;=20
  DATA "2003/imagery/lansat/test6band.tif"<BR>&nbsp;&nbsp;&nbsp; TYPE=20
  RASTER<BR>&nbsp;&nbsp;&nbsp; PROCESSING =
"BANDS=3D5,4,3"<BR>&nbsp;&nbsp;&nbsp;=20
  OFFSITE 0 0 0<BR>&nbsp;&nbsp; STATUS OFF<BR>&nbsp;=20
  END<BR>&nbsp;<BR>&nbsp;<BR>TIA,</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;=20
Damian</DIV>
  <P>
  <HR SIZE=3D1>
  Do you Yahoo!?<BR><A=20
  =
href=3D"http://us.rd.yahoo.com/evt=3D10469/*http://sitebuilder.yahoo.com"=
>Yahoo!=20
  SiteBuilder</A> - Free, easy-to-use web site design=20
software</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C3659C.EA9B7BF4--



More information about the mapserver-users mailing list