On Sun, Aug 17, 2008 at 03:50:20PM -0400, [EMAIL PROTECTED] wrote:
> Is there some way around it? I have several layers for various states, and
> they are all in different projections.

Your WMS server probably supports reprojection. The problem in this
particular ase seems likely to be that you're displaying the MetaCarta
Labs MapServer WMS mixed in, which *doesn't* support reprojection.

You'll need to pick a single projection to display in, the same way you
would in any interface, but once you pick one I expect GeoServer will do
all the work for you. Just stop using a MapServer-served 
layer that's not configured to do that :)

> Amy Johnson
> 
> > On Sat, Aug 16, 2008 at 07:23:35PM -0400, [EMAIL PROTECTED] wrote:
> >> Hello,
> >>
> >> I am trying to display multiple layers with different EPSGs.I keep
> >> getting
> >> the following error:
> >>
> >> msWMSLoadGetMapParams(): Invalid SRS given SRS must be valid for all
> >> requested layers.
> >>
> >> I googled the error, but couldn't seem to find anything that helped me.
> >>
> >> My code is below. Any help in understanding what I'm doing wrong is
> >> appreciated.
> >
> > You can't display multiple layers with different projections at the same
> > time in OpenLayers.
> >
> > Regards,
> > --
> > Christopher Schmidt
> > MetaCarta
> >
> 

-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to