[mapserver-users] Mapserver Projection Errors
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Oct 19 06:07:12 PDT 2011
On 11-10-19 9:45 AM, SixDegrees wrote:
> I have a mapfile that contains several layers. Each layer has its own
> projection, given in Proj.4 format, so the projection block looks like this:
>
> PROJECTION
> "+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"
> END
>
> or
>
> PROJECTION
> "+proj=utm +zone=39 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m
> +no_defs"
> END
>
> These seem to display properly when served directly to a web page, or when
> loaded into QGis - in both cases as a WMS layer. But in the latter case, my
> mapserver log fills up with the error message
>
> msProcessProjection(): Projection library error. projection not named
>
> Access directly through the website, involving a Mapserver request for a WMS
> layer, produces no errors.
>
> What is causing this? And should I be worried about it?
>
I don't have your answer, but I know I have hit issues with PROJ.4 use
in WMS layers before (http://trac.osgeo.org/mapserver/ticket/2028),
maybe give that discussion a read...Daniel wrote some good words of
advice in it.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list