Opened 18 years ago
Closed 13 years ago
#1617 closed enhancement (duplicate)
[WMS] Client GetFeatureInfo support with cascaded layers
Reported by: | Owned by: | mapserverbugs | |
---|---|---|---|
Priority: | high | Milestone: | 6.0 release |
Component: | WMS Client | Version: | 4.6 |
Severity: | minor | Keywords: | |
Cc: | sholl, tomkralidis, nhermann, mko |
Description (last modified by )
[Problem]
When acting as a WMS client, the use of GetFeatureInfo() requests are not re-transmitted to the cascaded layers.
See: http://mapserver.gis.umn.edu/docs/howto/wms_client/
"GetFeatureInfo is not fully supported since the output of getFeatureInfo is left to the discretion of the remote server. A method layer.getWMSFeatureInfoURL() has been added to MapScript for applications that want to access featureInfo results and handle them directly."
[Request]
To add support (and overcome the problem above) for GetFeatureInfo's, i suggest adding a new metdata switch such as "wms_featureinfo_format" to each layer definition. This would leave configuration up to the central server mapfile, removing any problems with Mapserver trying to negotiate what INFO_FORMAT to request.
As far as i can tell, this issue is no different than negotiating what image or exception format to request. Both of these issues are overcome by specifying wms_format and wms_exceptions_format parameters.
[Reasoning]
There is little use (short of proof of concept) in using Mapserver as a WMS client when it cannot pass on the featureinfo to the servers.
Change History (10)
comment:2 by , 18 years ago
I understand your concerns Daniel but in our case, every single cascaded server we will be using is on the same architecture, all using mapserver and all controlled by us. In this situation i would argue that the "central" mapserver need not worry about the "common" getFeatureInfo to use, because all of the layers will support the same format(s). Since our situation for using cascaded layers is a bit different from most, any pointers at which bit of code to look at would be appreciated.
comment:3 by , 17 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Milestone: | → 5.2 release |
comment:4 by , 17 years ago
I think the easiest thing to do (for those interested) would be for MapServer to simply be a proxy/broker for cascaded GetFeatureInfo requests. This, I think, is all we can really achieve given how wide open GetFeatureInfo response formats can be. It would then be up to the client to process accordingly.
follow-up: 8 comment:5 by , 17 years ago
- when doing the remote request, do we simply do an HTTP Location redirect, or do we actually perform the request, swallow the response and return to the client? Note that we do the former for SOS DescribeSensor requests
comment:6 by , 17 years ago
Cc: | added |
---|
comment:7 by , 16 years ago
Milestone: | 5.2 release → 5.4 release |
---|
comment:8 by , 15 years ago
Cc: | added |
---|
comment:9 by , 15 years ago
Description: | modified (diff) |
---|---|
Milestone: | 5.4 release → 6.0 release |
comment:10 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This will be in 6.2. See ticket #3764.