[mapserver-users] Migrating from MS4W to GISInternals
EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
james.evans.4 at us.af.mil
Sun Mar 16 04:59:18 PDT 2014
Hi Tamas,
I changed the PROJ_LIB to the correct directory, and that fixed that problem. Now I'm having trouble getting some of the gdal dlls to run. I've tried several raster sets, including Natural Earth, and Blue Marble, and I get the errors below. These errors also appear at the top of the GetCapabilities document. I was able to get a vector set (Natural Earth State Boundaries) to return a proper image so at least that's some progress. Any suggestions on getting this working would be appreciated.
Thanks,
James
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_BAG.dll
126: The specified module could not be found.
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_GMT.dll
126: The specified module could not be found.
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_GMT.dll
126: The specified module could not be found.
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_HDF5.dll
126: The specified module could not be found.
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_HDF5.dll
126: The specified module could not be found.
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_HDF5Image.dll
126: The specified module could not be found.
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_HDF5Image.dll
126: The specified module could not be found.
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_netCDF.dll
126: The specified module could not be found.
ERROR 1: Can't load requested DLL: C:\Program Files\MapServer\gdalplugins\gdal_netCDF.dll
126: The specified module could not be found.
________________________________
From: Tamas Szekeres [szekerest at gmail.com]
Sent: Sunday, March 16, 2014 2:28 AM
To: EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Migrating from MS4W to GISInternals
You should probably set CONFIG PROJ_LIB to a valid directory (in the map file) containing the projection support files.
Tamas
2014-03-16 0:30 GMT+01:00 EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE <james.evans.4 at us.af.mil<mailto:james.evans.4 at us.af.mil>>:
Good deal. I had to enable cgi extensions under IIS. Anyway, now I'm having trouble with my map file. I get this error:
msProcessProjection(): Projection library error. proj error "Permission denied" for "init=epsg:4326"
Here's my map file. I'm just trying to get Natural Earth working to begin with. Why wouldn't this version recognize 4326? If I take out the init statement, I get an error saying I have to have a projection at the top level.
Thanks,
James
MAP
NAME "RADESWMS"
EXTENT -180 -90 180 90
SIZE 512 512
UNITS DD
IMAGECOLOR 0 0 0
#CONFIG PROJ_LIB "/ms4w/proj/nad/"
WEB
#IMAGEPATH "/ms4w/tmp/ms_tmp/"
#TEMPLATE "/ms4w/Apache/htdocs/dummy_template.html"
METADATA
"wms_title" "RADES_WMS"
"wms_name" "84RADES_WMS"
#"wms_onlineresource" "http://localhost/cgi-bin/radeswms.exe?SERVICE=WMS"
"wms_srs" "EPSG:4326"
"wms_extent" "-180 -90 180 90"
"Wms_enable_request" "*"
END
END
PROJECTION
"init=epsg:4326"
END
LAYER
NAME "NaturalEarth"
METADATA
"wms_title" "NaturalEarth"
"wms_name" "NaturalEarth"
"wms_extent" "-180 -90 180 90"
"wms_srs" "ESPG:4326"
"wms_style" "Default"
END
STATUS ON
TYPE RASTER
TILEINDEX "d:\\MapData\\NaturalEarthCrossBlend\\NaturalEarth"
TILEITEM "LOCATION"
#PROJECTION
# "init=epsg:4326"
#END
End
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140316/5c32ef6e/attachment.htm>
More information about the MapServer-users
mailing list