[mapserver-users] WMS getFeatureInfo and GML
Liz Godwin
godwin.liz at gmail.com
Mon Aug 31 14:14:04 PDT 2009
Hi list,
I have been beating myself over this one for a bit. I have a layer, with
DUMP set to true, gml_include_items set to all, and TEMPLATE set to a value
etc.
I could be mistaken, however I thought that the GetFeatureInfo response
returned the GML of the feature clicked on and not just the bounding box of
a feature. Am I mistaken? Is there an extra setting I'm supposed to use?
Am I expected to do a follow up GetFeature from a WFS to get this? I
thought there was a time when I could do this, so things might have changed.
This is my returned XML:
<?xml version="1.0" encoding="UTF-8"?>
<msGMLOutput
xmlns:gml="http://www.opengis.net/gml"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SoilOrder1M_layer>
<SoilOrder1M_feature>
<gml:boundedBy>
<gml:Box srsName="EPSG:42304">
<gml:coordinates>-726064.661784,440967.407748
-709822.510747,457772.086682</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<OBJECTID>10282</OBJECTID>
<SLC_SOIL_ORDER_V31_22_ID>74100531</SLC_SOIL_ORDER_V31_22_ID>
<SOIL_ORDER_NAME_EN>Chernozemic</SOIL_ORDER_NAME_EN>
<SOIL_ORDER_NAME_FR>Chernozémique</SOIL_ORDER_NAME_FR>
<SOIL_ORDER_PCNT>88</SOIL_ORDER_PCNT>
<SHAPE><shape></SHAPE>
</SoilOrder1M_feature>
</SoilOrder1M_layer>
</msGMLOutput>
Thanks!
Liz Eidsness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090831/7870688c/attachment.htm>
More information about the MapServer-users
mailing list