Ticket #2001 (closed defect: fixed)
PHP MapScript getWMSFeatureInfoURL() error
| Reported by: | armin.burger@… | Owned by: | tomkralidis |
|---|---|---|---|
| Priority: | high | Milestone: | 5.2 release |
| Component: | MapScript-PHP | Version: | 4.8 |
| Severity: | normal | Keywords: | |
| Cc: | tomkralidis, dmorissette, assefa |
Description (last modified by dmorissette) (diff)
I have defined a WMS based layer in the map file: CONNECTIONTYPE WMS CONNECTION "http://myserver/cgi-bin/mapserv?map=owstest.map&" When trying to use the PHP MapScript (MapServer 4.10) function 'getWMSFeatureInfoURL()' for querying this layer, I get the error msBuildWMSLayerURL(): WMS Connection String must contain the QUERY_LAYERS parameter to support GetFeatureInfo requests (with name in uppercase). The function is only working correctly if I already put the "QUERY_LAYERS=layer1,layer2" to the CONNECTION string of the WMS layer definition in the map file. Is that an intended behaviour or a bug? Best regards Armin
Change History
Note: See
TracTickets for help on using
tickets.
