GDAL raster access and shapepath

Eijnden, B. van den (Bart) b.vdeijnden at AGI.RWS.MINVENW.NL
Thu May 18 22:37:57 PDT 2006


Hi Frank,

that was the issue. We'll try the patch soon. Thanks.

Best regards,
Bart

-----Oorspronkelijk bericht-----
Van: Frank Warmerdam [mailto:fwarmerdam at gmail.com]Namens Frank Warmerdam
Verzonden: donderdag 18 mei 2006 21:04
Aan: Eijnden, B. van den (Bart)
CC: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: Re: [UMN_MAPSERVER-USERS] GDAL raster access and shapepath


Eijnden, B. van den (Bart) wrote:
> Some more information on this issue.
> 
> If we use GDAL to access a TIFF file, SHAPEPATH is used.
> If we use GDAL to access an ECW file, SHAPEPATH is not used!
> 
> How is this possible?

Bart,

Is your ECW file larger than 2GB?

There is a problem in all released versions with fopen() failing on large
files, so the attempt to "try" shapepath seems to fail to MapServer even
though the actual ECW file would have opened ok.

There was a bug submitted on this, and a patch has been applied in CVS
(on the 4.8 branch as well) so the next releases on 4.8.x and 4.9+ should
be corrected.

This will also affect other GDAL supported formats where the actual file
is more than 2GB.   It only affects SHAPEPATH use though.  Direct access
always works ok.

Best regards,
-- 
---------------------------------------+------------------------------------
--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



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.
************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060519/526eb5fb/attachment.htm>


More information about the MapServer-users mailing list