[mapserver-users] GetFeatureInfo GML

Mark Davidson mark at 4each.co.uk
Mon Mar 25 06:30:13 PDT 2013


Hi Stefan,

Thanks for the suggestion, I've tried that but still getting the same
output as before.
Any other suggestions?

Thanks again,

Mark

On 25 March 2013 11:41, Stefan Schantz <SSchantz at bfs.de> wrote:

>  Hi Mark,
> I use gml_include_items 'all'
>
> Best regards
> Stefan
>
> Am 25.03.2013 11:44, schrieb Mark Davidson:
>
>  Hi All,
>
> I'm trying to do a GetFeaureInfo on my layer and return it in GML format.
> The request works fine but I can't seem to get any data to come back apart
> from the point bounds.
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
>  <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">
>  <test_layer>
>  <gml:name>Test Points</gml:name>
>  <test_feature>
>  <gml:boundedBy>
>  <gml:Box srsName="EPSG:900913">
>  <gml:coordinates>-269220.293738,6545357.533946
> -269220.293738,6545357.533946</gml:coordinates>
>  </gml:Box>
>  </gml:boundedBy>
>  </test_feature>
>  <test_feature>
>  <gml:boundedBy>
>  <gml:Box srsName="EPSG:900913">
>  <gml:coordinates>-253276.741855,6554416.311795
> -253276.741855,6554416.311795</gml:coordinates>
>  </gml:Box>
>  </gml:boundedBy>
>  </test_feature> </test_layer> </msGMLOutput>
>
> What I would like to be able to do is get the feature id as what happends
> with the plain output
>
> GetFeatureInfo results:
>
>  Layer 'test'
>  Feature 326:
>  Feature 327:
>
> I've set `gml_include_items` to * and `wms_include_item` to * as well but
> still not having any luck.
>
> Could someone point me in the direction of doing this?
>
> Many thanks,
>
> Mark
>
>
>
>
>
> _______________________________________________
> mapserver-users mailing listmapserver-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130325/78c038c4/attachment.html>


More information about the mapserver-users mailing list