WMS projection error...
John Cole
john.cole at UAI.COM
Wed Mar 15 13:53:32 PST 2006
David,
I'm attaching a map file with one layer, that has the same problem (I was
trying to figure out if there was a bad layer in there).
Thanks,
John Cole
-----Original Message-----
From: Fawcett, David [mailto:David.Fawcett at state.mn.us]
Sent: Wednesday, March 15, 2006 3:51 PM
To: John Cole; MAPSERVER-USERS at lists.umn.edu
Subject: RE: [UMN_MAPSERVER-USERS] WMS projection error...
Can you post the text of your layer definitions, you may be missing some
metadata?
David.
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of John Cole
Sent: Wednesday, March 15, 2006 3:46 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] WMS projection error...
Frank,
I already had a line like:
CONFIG PROJ_LIB "/ms4w/proj/nad"
I changed it to
CONFIG PROJ_LIB "C:/ms4w/proj/nad"
And get the same results.
Is there another config? The mapserver web pages seem to be working
normally; otherwise.
Thanks,
John
-----Original Message-----
From: Frank Warmerdam [mailto:fwarmerdam at gmail.com] On Behalf Of Frank
Warmerdam
Sent: Wednesday, March 15, 2006 3:37 PM
To: John Cole
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] WMS projection error...
John Cole wrote:
> I'm trying to use Gaia 2.0.4 from www.thecarbonproject.com to view a
> map
map
> 4.8.1 mapserver from MS4W (using IIS and not Apache) and I'm getting
> the following error:
>
> msProcessProjection(): Projection library error. No such file or
> directory
>
> If I browse to the map using mode=browse it works fine (it did have a
> similar error through the browser, but a config fixed it and adding
> the PROJ_LIB path to my environment variables also fixed it).
>
> Hitting the same mapfile with mapserver 4.4 works fine.
>
> Is there another parameter to tell wms where the proj files are?
John,
One way of handling this is to have a CONFIG directive on your map
object. I think this would look something like:
MAP
CONFIG "PROJ_LIB" "C:/PROJ/NAD"
...
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 | President OSGF,
http://osgeo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main2.map
Type: application/octet-stream
Size: 1773 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060315/3d0606c9/attachment.obj>
More information about the MapServer-users
mailing list