Re: [mapserver-users] 'errno: 2' on projection

2009-03-05 Thread julian andres montes galvis

try add
CONFIG PROJ_LIB /usr/share/proj/

kapilmanoj wrote:

Hello wendall,

  I too facing the same problem. have you got solution for this problem?
could you please help me out?

Thanks,
kapilmanoj

Wendell Turner wrote:
  

On Mon, May 19, 2008 at 03:32:16PM -0700, Wendell Turner wrote:


I'm trying to use the 'projection' tag in a map file, but it
is not working, and would like help.

I'm using Fedora 7, and there is a mapserver 4.10 in a yum
repository, which pulls in proj as a dependency.  However,
when using the 'projection' tag, it gets
  msProcessProjection(): Projection library error. no system list, errno:
2
(which seems to mean 'file not found')
  

As it turns out, other projections work.

I'm just trying to get the v4 tutorial working, which is
where the problem occurs.  Any example that contains
PROJECTION
  init=epsg:4326
END

gets the error msg.  However, the file
/usr/local/share/proj/epsg contains an entry for 4326.

Q: why doe the example in the tutorial not work?
Q: how can it be fixed?

Thanks,

Wendell

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





  


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] 'errno: 2' on projection

2008-05-19 Thread Wendell Turner
I'm trying to use the 'projection' tag in a map file, but it
is not working, and would like help.

I'm using Fedora 7, and there is a mapserver 4.10 in a yum
repository, which pulls in proj as a dependency.  However,
when using the 'projection' tag, it gets
  msProcessProjection(): Projection library error. no system list, errno: 2
(which seems to mean 'file not found')

I installed proj-4.6.0.tar.gz from sources, and there are
files in /usr/local/share/proj which are readable by all.

The proj program seems to run by itself, e.g.:
proj -V +init=epsg:2163
   #Lambert Azimuthal Equal Area
   ...

The apache error logs don't show anything interesting, but
it still returns this:
  msProcessProjection(): Projection library error. no system list, errno: 2

What is the problem?  What file is mapserver looking for,
and where should it be?  Does Apache want PROJ_LIB defined?

Thanks,

Wendell

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] 'errno: 2' on projection

2008-05-19 Thread Wendell Turner
On Mon, May 19, 2008 at 03:32:16PM -0700, Wendell Turner wrote:
 I'm trying to use the 'projection' tag in a map file, but it
 is not working, and would like help.
 
 I'm using Fedora 7, and there is a mapserver 4.10 in a yum
 repository, which pulls in proj as a dependency.  However,
 when using the 'projection' tag, it gets
   msProcessProjection(): Projection library error. no system list, errno: 2
 (which seems to mean 'file not found')

As it turns out, other projections work.

I'm just trying to get the v4 tutorial working, which is
where the problem occurs.  Any example that contains
PROJECTION
  init=epsg:4326
END

gets the error msg.  However, the file
/usr/local/share/proj/epsg contains an entry for 4326.

Q: why doe the example in the tutorial not work?
Q: how can it be fixed?

Thanks,

Wendell

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users