[Mapserver-users] msProcessProjection(): Projection library error. major axis or radius = 0 or not given
Frank Warmerdam
warmerdam at pobox.com
Mon Aug 11 14:45:44 PDT 2003
Tom H wrote:
> 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.
Tom,
You need an ellipsoid definition for the projection definition to
be valid.
eg.
PROJECTION
"proj=latlong"
"ellps=WGS84"
END
Or just omit it since you aren't using it.
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