Ticket #380 (closed feature: fixed)
parse relevant parameters from WMS layer url
| Reported by: | tschaub | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.3 Release |
| Component: | general | Version: | |
| Keywords: | Cc: | ||
| State: |
Description
Some WMS capability responses include "service" parameters in their GetMap online resource href (see the response from http://tinyurl.com/v6y9h). Unfortunately, this server is not clever enough to respond well when OL tacks on its own "SERVICE" parameter. (Sending both "service" and "SERVICE" doesn't work - http://tinyurl.com/un2nz - while just sending one is fine - http://tinyurl.com/yx4akt .)
This is easy to solve if the WMS layer url is parsed for relevant parameters when the layer is constructed. It would be especially easy if the patch for #378 were committed.
I'll hold off on creating a patch for this until others confirm that it makes sense.
(This is part of an effort to make OL work well with a WMS capabilities parser.)

