[mapserver-users] Migrating from MS4W to GISInternals

Tamas Szekeres szekerest at gmail.com
Sun Mar 16 01:28:10 PDT 2014


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>:

>  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/9d1fd192/attachment.html>


More information about the mapserver-users mailing list