<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    David,<br>
    <br>
    &nbsp;&nbsp; It sounds like image registration / coordinate system definition
    problem.&nbsp; While it is not necessary for the image to have a
    coordinate system defined (e.g as a geotiff tag) sine you can
    specify it in the LAYER portion of the map file, I think it does
    need image registration information, either as geotiff tags or in a
    .tfw (or .wld) file.&nbsp; Specifying the EXTENT in the map file is only
    a layer "hint" to mapserver, it does not specify the image
    registration.<br>
    <br>
    &nbsp; I could be wrong; mayby there have been enhancements to use the
    EXTENT or METADATA information.<br>
    <br>
    What are your parameters for EPSG:43001?<br>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 12/9/2010 3:13 PM, David Hildebrand wrote:
    <blockquote
      cite="mid:9188AB5935664040805E01E348A2B81D1BF69057@lacex1.afsc.ads"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
      <div class="Section1">
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">Jukka:<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">For now I am making a simple
              Mapserver CGI call (<a moz-do-not-send="true"
href="http://localhost/cgi-bin/mapserv.exe?map=MSTEST&amp;layer=awifs&amp;mode=map">http://localhost/cgi-bin/mapserv.exe?map=MSTEST&amp;layer=awifs&amp;mode=map</a>).
&nbsp;This
              URL works for other raster layers but I have only had
              single-band images
              so far.&nbsp; In all cases the final map is in a projection
              different from the layer
              projection.&nbsp; Incidentally, when I point to a data source
              which I know does not
              exist I get the same behavior (no image and no error) even
              when I use CONFIG
              "ON_MISSING_DATA" "FAIL" in my map file.<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">Thanks for your help.<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">===========================<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">David V. Hildebrand<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">Agriculture Financial Services
              Corporation<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">(403) 782-8239&nbsp;&nbsp; <o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><a class="moz-txt-link-abbreviated" href="http://www.afsc.ca">www.afsc.ca</a>
              <a class="moz-txt-link-rfc2396E" href="http://www.afsc.ca">&lt;http://www.afsc.ca&gt;</a><o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">This communication is intended
              for the use of the recipient to which it
              is addressed, and may contain confidential, personal
              and/or privileged
              information. Please contact Agriculture Financial Services
              Corporation
              immediately if you are not the intended recipient of this
              communication, and do
              not copy, distribute, or take action relying on it. Any
              communication received
              in error, or subsequent reply, should be deleted or
              destroyed. Please consider
              the environment before printing this email.<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">-----Original Message-----<br>
              From: Rahkonen Jukka [<a class="moz-txt-link-freetext" href="mailto:Jukka.Rahkonen@mmmtike.fi">mailto:Jukka.Rahkonen@mmmtike.fi</a>] <br>
              Sent: Thursday, December 09, 2010 2:21 PM<br>
              To: David Hildebrand<br>
              Subject: Re: [mapserver-users] displaying 3-band images</span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">Hi,<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">I will have a closer look
              tomorrow. What did you use for showing the
              image? Mapserver CGI call or WMS client or what?&nbsp; Could
              you send the request as
              well?<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">Regards,<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">-Jukka-<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">-----Alkuper&auml;inen viesti-----<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">L&auml;hett&auml;j&auml;: David Hildebrand
              [<a class="moz-txt-link-freetext" href="mailto:David.Hildebrand@afsc.ca">mailto:David.Hildebrand@afsc.ca</a>]<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">L&auml;hetetty: to 9.12.2010 22:32<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">Vastaanottaja: Rahkonen Jukka<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">Aihe: RE: [mapserver-users]
              displaying 3-band images<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">&nbsp;<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">Jukka:<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">&nbsp;<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;">I posted this to the mailing list
              but I don't think it got there
              because the body was too long so I'm sending it to you
              directly.<o:p></o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoPlainText"><font face="Courier New" size="2"><span
              style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></p>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
  </body>
</html>