When CONNECTION missing MS not using "wms_onlineresource"
Hello,
As per the WMS Client HowTo:
Note that if the CONNECTION parameter value is not set the the value of the
"wms_onlineresource" metadata will be used. If both CONNECTION and
"wms_onlineresource" are set then the "wms_onlineresource" metadata takes
precedence.
We just tried using this feature without success. We HAD to put the CONNECTION
parameter in.
I'd also suggest that the default behavior should be reversed: Where both
methods are used, the CONNECTION parameter should override the
wms_onlineresource (local scope overrides global scope)?
Usage scenario:
I have a mapfile that uses a lot of remote WMS layers from the same server, but
a couple that are from other servers. I could set a "wms_onlineresource" in the
WEB object, and override with CONNECTION in those few layers that come from a
different server. This fits the common "local overrides global" model.
I search Bugzilla for "onlineresource" and didn't find anything pertaining to
this, so hopefully it IS a bug, and not a duplicate :)
Thanks,
J.F.
Change History
(10)
Cc: |
mapserver-bugs@… added
|
Owner: |
changed from mapserverbugs to jmckenna@…
|
Version: |
4.6 → 4.8
|
Cc: |
havard.tveite@… added
|
Cc: |
jmckenna@… added
|
Milestone: |
→ 5.0 release
|
Owner: |
changed from jmckenna@… to dmorissette
|
Description: |
modified (diff)
|
Milestone: |
5.0 release → 5.2 release
|
Milestone: |
5.2 release → 5.4 release
|
Milestone: |
5.4 release → 6.0 release
|
Milestone: |
6.0 release → 5.6.0 release
|
Milestone: |
5.6 release → 6.0 release
|