[Mapserver-users] proj problem

Frank Warmerdam warmerdam at pobox.com
Wed Apr 2 09:52:32 EST 2003


Gintaras Zemaitis wrote:
> but mapserver return error
> msProcessProjection(): Projection library error. no system list, errno: 2

Hi,

Note that system error 2 means a supporting file (such as the
"epsg" file) could not be opened.

> I set up system variables path=d:\proj\bin and PROJ_LIB=d:\proj\nad
> I have extracted archive proj446_win32_bin.zip from remotesensing.org to 
> d:\proj.
> I cannot understand what is wrong. Where should be placed proj.dll?
> Why proj works from command line anywhere in discs space but mapserver 
> do not?

One of the following is presumably occuring:
  o Your setting of PROJ_LIB isn't making to the MapServer executable when
    run under your web server.
  o MapServer does not have read permissions on D:\proj\nad\epsg

The fact that the "inline" definitions work indicate that PROJ is working
fine other than finding the EPSG file, so the issue isn't with finding
the proj.dll though it is possible it is finding an older one (if you have
an older one).

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 mapserver-users mailing list