Opened 18 years ago

Last modified 15 years ago

#1534 new defect

When CONNECTION missing MS not using "wms_onlineresource" — at Initial Version

Reported by: jdoyon@… Owned by: mapserverbugs
Priority: high Milestone: 6.0 release
Component: WMS Client Version: 4.8
Severity: normal Keywords:
Cc: jmckenna@…, havard.tveite@…

Description

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 (0)

Note: See TracTickets for help on using tickets.