SRS error

6 views
Skip to first unread message

diego

unread,
Sep 3, 2010, 8:21:02 AM9/3/10
to openscales-dev
Hi all.

I am trying to load a map from a WMS server, and I get the following
error:

msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS
must be valid for all requested layers.

I checked the XML returned by GetCapabilities, and it's correct. The
map has one layer with three sublayers. All of them use the same SRS,
EPSG:32628. Since it's not supported natively by OpenScales, I
extended it like this:

ProjProjection.defs ['EPSG:32628'] = "+title=WGS 84 / UTM zone 28N
+proj=utm +zone=28 +ellps=WGS84 +datum=WGS84 +units=m +no_defs";

Any ideas of why I could be getting this error?

TIA

Diego
Reply all
Reply to author
Forward
0 new messages