<!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 5.5.2658.24">
<TITLE>RE: [UMN_MAPSERVER-USERS] GDAL raster access and shapepath</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Frank,</FONT>
</P>

<P><FONT SIZE=2>that was the issue. We'll try the patch soon. Thanks.</FONT>
</P>

<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>Bart</FONT>
</P>

<P><FONT SIZE=2>-----Oorspronkelijk bericht-----</FONT>
<BR><FONT SIZE=2>Van: Frank Warmerdam [<A HREF="mailto:fwarmerdam@gmail.com">mailto:fwarmerdam@gmail.com</A>]Namens Frank Warmerdam</FONT>
<BR><FONT SIZE=2>Verzonden: donderdag 18 mei 2006 21:04</FONT>
<BR><FONT SIZE=2>Aan: Eijnden, B. van den (Bart)</FONT>
<BR><FONT SIZE=2>CC: MAPSERVER-USERS@LISTS.UMN.EDU</FONT>
<BR><FONT SIZE=2>Onderwerp: Re: [UMN_MAPSERVER-USERS] GDAL raster access and shapepath</FONT>
</P>
<BR>

<P><FONT SIZE=2>Eijnden, B. van den (Bart) wrote:</FONT>
<BR><FONT SIZE=2>&gt; Some more information on this issue.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; If we use GDAL to access a TIFF file, SHAPEPATH is used.</FONT>
<BR><FONT SIZE=2>&gt; If we use GDAL to access an ECW file, SHAPEPATH is not used!</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; How is this possible?</FONT>
</P>

<P><FONT SIZE=2>Bart,</FONT>
</P>

<P><FONT SIZE=2>Is your ECW file larger than 2GB?</FONT>
</P>

<P><FONT SIZE=2>There is a problem in all released versions with fopen() failing on large</FONT>
<BR><FONT SIZE=2>files, so the attempt to &quot;try&quot; shapepath seems to fail to MapServer even</FONT>
<BR><FONT SIZE=2>though the actual ECW file would have opened ok.</FONT>
</P>

<P><FONT SIZE=2>There was a bug submitted on this, and a patch has been applied in CVS</FONT>
<BR><FONT SIZE=2>(on the 4.8 branch as well) so the next releases on 4.8.x and 4.9+ should</FONT>
<BR><FONT SIZE=2>be corrected.</FONT>
</P>

<P><FONT SIZE=2>This will also affect other GDAL supported formats where the actual file</FONT>
<BR><FONT SIZE=2>is more than 2GB.&nbsp;&nbsp; It only affects SHAPEPATH use though.&nbsp; Direct access</FONT>
<BR><FONT SIZE=2>always works ok.</FONT>
</P>

<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>---------------------------------------+--------------------------------------</FONT>
<BR><FONT SIZE=2>I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, warmerdam@pobox.com</FONT>
<BR><FONT SIZE=2>light and sound - activate the windows | <A HREF="http://pobox.com/~warmerdam" TARGET="_blank">http://pobox.com/~warmerdam</A></FONT>
<BR><FONT SIZE=2>and watch the world go round - Rush&nbsp;&nbsp;&nbsp; | President OSGF, <A HREF="http://osgeo.org" TARGET="_blank">http://osgeo.org</A></FONT>
</P>

<BR>


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************

<BR>
</BODY>
</HTML>