[mapserver-users] MapServer bug when calling GDAL MiniDriver

EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE james.evans.4 at us.af.mil
Tue Mar 25 15:08:55 PDT 2014


Hi,

It seems like there is a problem when calling the GDAL "WorldWind"
MiniDriver, at least for the GISInternals build with Mapserver V6.4.1.   If
I include 
<Projection>EPSG:4326</Projection>
in the xml file I'm using, I get the following error:

 

[Tue Mar 25 14:20:30 2014].665000 msDrawRasterLayerLow(Land_Sea): entering.

[Tue Mar 25 14:20:30 2014].667000 msDrawRasterLayerLow(): Unable to access
file. Corrupt, empty or missing file 'c:\MapData\Land-Sea.xml' for layer
'Land_Sea'. GDALWMS: Bad projection specified.

[Tue Mar 25 14:20:30 2014].667000 msDrawMap(): Image handling error. Failed
to draw layer named 'Land_Sea'.

[Tue Mar 25 14:20:30 2014].667000 freeLayer(): freeing layer at
000000000027CB20.

 

If I remove the Projection declaration from the xml file I don't get an
error.  

 

GDAL_Translate works just fine on this xml with or without the Projection
declaration, but when called from a mapfile by mapserver, I get an error.
The GDAL info page here:  http://www.gdal.org/frmt_wms.html  says that the
parameter is optional, but it does work under older versions of Mapserver
from MS4W using Apache.  This is probably very rarely used, so I'm not sure
if it is even worth putting in a bug.

James

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140325/cc75e371/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6912 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140325/cc75e371/attachment.bin>


More information about the mapserver-users mailing list