[mapserver-users] MapServer bug when calling GDAL MiniDriver
Even Rouault
even.rouault at mines-paris.org
Tue Mar 25 18:47:42 PDT 2014
Selon "EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE" <james.evans.4 at us.af.mil>:
> 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
A reason might be that GDAL_DATA or most probably PROJ_LIB are not defined, or
badly defined. Look at your environmenent and potential redefinitions in your
mapfile.
>
>
>
> [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
>
>
>
>
>
>
>
>
More information about the MapServer-users
mailing list