[Mapserver-users] msProcessProjection(): Projection library error. major axis or radius = 0 or not given
Tom H
tom at ecnow.co.uk
Mon Aug 11 14:14:47 PDT 2003
Hi,
I'm trying to set-up mapserver as a Web Map Server (WMS).
At the moment I've got a fairly simple map file like so;
NAME oz1
SIZE 400 400
EXTENT 110 -7 180 -40
SHAPEPATH "../data"
LAYER
NAME australia
TYPE POLYGON
STATUS DEFAULT
DATA australia
CLASS
COLOR 0 0 0
OUTLINECOLOR 0 0 0
END
PROJECTION
"proj=latlong"
END
END
END
This however causes the error;
"msProcessProjection(): Projection library error. major axis or radius = 0 or not given "
If I comment out "proj=latlong"
PROJECTION
#"proj=latlong"
END
it outputs a map, and there is no error.
I've added a env variable PROJ_LIB ie;
C:\>echo %PROJ_LIB%
C:\Inetpub\wwwroot\ms\Proj\nad
and my epsg file is in that folder.
and I've checked that the data in the layer is latlong projection. what am I missing?
The wms server config requires that a projection be specified for each layer.
Thanks in advance.
T.
More information about the MapServer-users
mailing list