<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Incomplete extent of raster after reprojection - corner missing</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi List,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have a raster which I am reprojecting on the fly from LCC to either UTM or Latlong. I just realised that in each mapimage, it misses a small corner at the bottom-right. The background colour of the map shows through. It appears that the slice being cut out of the raster-image prior to reprojection is too small; after reprojection, the cut-out slice doesn't cover the map-image completely, because of the distortion due to reprojection. This problem occurs every time the layer is drawn. </FONT></P>

<P><FONT SIZE=2 FACE="Arial">I have attached part of the map-image. The background of the map is light yellow, as is the bottom-right of the image. The height of the corner missing is typically about 8% (compared to mapimage-height). It occurs in php_mapscript version 4.4 and 4.6, using gdal 1.26 and 1.31 respectively. The raster is an ecw.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">It's no major drama, but I was hoping it might be easy to fix&#8230;..</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Jacob</FONT>
</P>

<P><B><FONT FACE="Arial" SIZE=2 COLOR="#000000"> &lt;&lt;map.jpg&gt;&gt; </FONT></B>

<BR><B><FONT COLOR="#009500" FACE="Arial">J</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">ACOB</FONT> <FONT COLOR="#009500" FACE="Arial">D</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">ELFOS<BR>
</FONT><FONT COLOR="#009500" FACE="Arial">S</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">PATIAL</FONT> <FONT COLOR="#009500" FACE="Arial">I</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">NFORMATION</FONT> <FONT COLOR="#009500" FACE="Arial">A</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">NALYST</FONT><BR>
</B><FONT COLOR="#000000" SIZE=2 FACE="Arial">Maunsell Australia Pty Ltd<BR>
629 Newcastle Street, Leederville, WA 6007</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">PO Box 81, Leederville, WA 6902</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Western Australia</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">ABN 20 093 846 925<BR>
<BR>
Tel     + 61 8 9281 6185<BR>
Fax    + 61 8 9281 6297<BR>
</FONT><U><FONT COLOR="#009C21" SIZE=2 FACE="Arial">jacob.delfos@maunsell.com</FONT></U>
</P>

</BODY>
</HTML>