[Mapserver-users] mapserver 4.0b projection error

Aaron D. Hunt hunt at zedxinc.com
Wed Jun 18 11:21:56 EDT 2003


That worked thanks.

----- Original Message ----- 
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: "Aaron D. Hunt" <hunt at zedxinc.com>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, June 18, 2003 10:46 AM
Subject: Re: [Mapserver-users] mapserver 4.0b projection error


> Aaron D. Hunt wrote:
> > When I run a projection like
> >
> >    PROJECTION
> >      "init=epsg:26918" #NAD83 UTM zone 18N
> >    END
> >
> > I get an error  "Wed Jun 18 10:24:22 2003 - msProcessProjection():
> > Projection library error. no system list, errno: 2"
>
> Aaron,
>
> This generally means that MapServer can't find your epsg coordinate
> system file.  Try setting the PROJ_LIB environment variable to point
> to the directory holding the "epsg" file.
>
> > or
> >
> > PROJECTION
> >  "proj=latlong"
> > END
> >
> > Wed Jun 18 10:33:53 2003 - msProcessProjection(): Projection library
> > error. major axis or radius = 0 or not given
> >
> > I have it compiled with proj. Is there something new with 4.0
>
> You need to provide an explicit definiation of the ellipsoid for a valid
> latlong coordinate system.  Add "ellps=WGS84" for instance giving you:
>
>   PROJECTION
>    "proj=latlong"
>    "ellps=WGS84"
>   END
>
> Good luck,
>
> -- 
> ---------------------------------------+----------------------------------
----
> 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
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list