[mapserver-users] Problem with Python Mapscript / Projection(MS4W)
David.Fawcett at state.mn.us
Wed Nov 5 11:16:40 EST 2008
Have you tried to explicitly set the path to the proj library in the map
Try adding this to the map object:
CONFIG "PROJ_LIB" "C:/somedir/proj/nad/"
You can find a little more about this in the map file reference.
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Christian
Sent: Wednesday, November 05, 2008 10:12 AM
To: Umberto Nicoletti
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Problem with Python Mapscript /
In fact I'm using the MS4W distribution of MapServer, so it runs on
Windows. The EPSG lookup file is there and everything seems fine, but
still this nagging bug persists.. I should add that I tried loading the
exact same mapfile from PHP/Mapscript, and it runs fine. The problem is
specific to Python/Mapscript. Any other idea?
On Wed, Nov 5, 2008 at 2:33 AM, Umberto Nicoletti
<umberto.nicoletti at gmail.com> wrote:
> make sure that the user running apache can read the
> /usr/share/proj/epsg file. If permissions seem ok then it could be a
> problem with SELinux or apparmor, depending on your platform.
> On Wed, Nov 5, 2008 at 6:12 AM, Christian Jauvin <cjauvin at gmail.com>
>> I get a "MapServerError: msProcessProjection(): Projection library
>> error. Permission denied" error while using Python/MapScript (MS4W
>> 2.3, MapServer 5), after having included a
>> directive in a mapfile layer. I guess that it has something to do
>> with an Apache permission to execute a binary somewhere..
>> This is I think the first time I can't find an answer to a MS problem
>> simply by googling, so I try it here, in hope that someone will be
>> able to help.
>> Thank you in advance,
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
mapserver-users mailing list
mapserver-users at lists.osgeo.org
More information about the mapserver-users