Different GetCapabilities and GetMap onlineresources in WMS
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Tue Jan 22 07:22:54 PST 2008
> I have faced a WMS service that is configured to use
> different onlineresources for GetCapabilities, GetMap and
> GetFeatureInfo requests. I do not have a live access to the
> service yet so I have to ask: When Mapserver is used as a WMS
> client, does it parse the onlineresource URLs from the
> GetCapabilities document or is it just using the same base
> URL for all requests? Or is there a possibility to give this
> essential information with some metadata entry like
> "wms_GetMap_onlineresource"?
The latter. As a WMS Client, MapServer does not parse the remote WMS'
Capabilities XML, but uses the CONNECTION directive within LAYER. That
said, there are cases (not many, but there are) where OnlineResource's
differ between operations.
So, in this case, you would use the OnlineResource for GetMap as the
CONNECTION in your mapfile.
..Tom
More information about the MapServer-users
mailing list