#800 closed defect (fixed)
GetFeature info with info_format=application/vnd.ogc.gml
Reported by: | assefa | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | high | Milestone: | 4.4 release |
Component: | Documentation - MapServer | Version: | 4.3 |
Severity: | normal | Keywords: | |
Cc: | jmckenna@…, nsavard@… |
Description
When requesting a GetFeature on a WMS server with info_format=application/vnd.ogc.gml, there need to be in the Layer a DUMP TRUE to get any results. Not sure here is it is just a doc issue (since this is specified for a WFS layer) or there need to be other considerations. Note (test for layer->dump is done in function msGMLWriteQuery in mapgml.c)
Change History (11)
comment:2 by , 20 years ago
Cc: | added |
---|
comment:3 by , 20 years ago
blocked: | → 398 |
---|
comment:5 by , 20 years ago
I forgot yesterday about a note I had : I find it a bit inconsistent that the GetFeatureInfo would need a DUMP TRUE only for GML output but not for plain/text.
comment:6 by , 20 years ago
That's to protect the data because with GML you get the whole features (coordinates and attributes), but with the normal query templates mechanism you return only what is selected in the templates. i.e. if you don't want to output anything with text/html then don't set templates or set dummy ones, but with GML there are no templates, so something was needed to block the GML output. The problem is really that our text/plain output is inconsistent with that and exposes all the attributes by default. This is where the mistake is... I wonder if it's too late to change it though. Perhaps we should work on bug 300 if we change anything.
comment:7 by , 20 years ago
Milestone: | → 4.4 release |
---|
comment:8 by , 19 years ago
Component: | WMS Server → MapServer Documentation |
---|
comment:9 by , 19 years ago
Status: | new → assigned |
---|
comment:10 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
i added a note about this to the wms-server doc for 4.4 and 4.6. Note that when i tested this, i add the following metadata to my wms-server doc: "wms_feature_info_mime_type" "application/vnd.ogc.gml" and got this from getcapabilities.. <Format>text/plain</Format> <Format>application/vnd.ogc.gml</Format> <Format>application/vnd.ogc.gml</Format> I would have expected to only see gml, since i only set it for gml...but i got 2 gml and 1 text. I guess this is supposed to happen??? (tested with 4.6.0beta3)
comment:11 by , 19 years ago
note that i have opened bug#1379 for the duplicate getfeatureinfo format issue.
Note:
See TracTickets
for help on using tickets.