[Proj] Projection problems using Mapserver 4.6

Frank Warmerdam warmerdam at pobox.com
Wed Oct 26 12:28:33 EDT 2005


On 10/26/05, William Hudspeth <bhudspeth at edac.unm.edu> wrote:
> Hello,
>
> I am using Mapserver 4.6 and Proj 4.4.7 on Fedora Core 3. I am using a
> map file where map and layer projections are defined as:
>
>  PROJECTION
>    "init=epsg:4326"
>  END
>
>  My WMS GetMap requests look like this:
>
>
> http://falstaff.unm.edu/cgi-bin/mapserv?
> map=reason/dream_map.map&VERSION=1.1.1&REQUEST=GetMap&BBox=-120.000,26.000,-97.000,44.000&SRS=EPSG:4326&Width=570&Height=446.086956522&Layers=GRASS_SHADED_RELIEF
>
>  And, regardless of which map layer I call, I get the following error.
>
>
>  msProcessProjection(): Projection library error. projection not named
>
>  I would much appreciate any enlightenment!

Bill,

My guess is that the projection initialization file is not being
found.  Where is your "epsg" file?  On unix it would normally
be in /usr/local/share/proj or perhaps /usr/share/proj.  You
might try setting the PROJ_LIB environment variable to point
to the appropriate directory and see if that helps.

Other than that, I would suggest upgrading to PROJ 4.4.9
though I can't immediately think of any reason that should be
necessary.

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    | Geospatial Programmer for Rent



More information about the Proj mailing list