Hi Stefan,<br><br>Thanks for the suggestion, I've tried that but still getting the same output as before.<br>Any other suggestions?<br><br>Thanks again,<br><br>Mark<br><br><div class="gmail_quote">On 25 March 2013 11:41, Stefan Schantz <span dir="ltr"><<a href="mailto:SSchantz@bfs.de" target="_blank">SSchantz@bfs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Mark,<br>
I use gml_include_items 'all'<br>
<br>
Best regards<br>
Stefan<br>
<br>
Am <a href="tel:25.03.2013%2011" value="+12503201311" target="_blank">25.03.2013 11</a>:44, schrieb Mark Davidson:
<blockquote type="cite"><div><div class="h5"> Hi All,<br>
<br>
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.<br>
<br>
<div><span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">?xml</span>
<span style="color:rgb(153,69,0)">version</span>=<span style="color:rgb(26,26,166)">"1.0"</span> <span style="color:rgb(153,69,0)">encoding</span>=<span style="color:rgb(26,26,166)">"ISO-8859-1"</span><span style="color:rgb(153,69,0)">?</span><span style="color:rgb(136,18,128)">></span></div>
<div><br>
</div>
<div><span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">msGMLOutput</span>
</div>
<div><span style="color:rgb(153,69,0)">
</span> <span style="color:rgb(153,69,0)">xmlns:gml</span>=<span style="color:rgb(26,26,166)">"<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>"</span></div>
<div><span style="color:rgb(153,69,0)">
</span> <span style="color:rgb(153,69,0)">xmlns:xlink</span>=<span style="color:rgb(26,26,166)">"<a href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.org/1999/xlink</a>"</span></div>
<div><span style="color:rgb(153,69,0)">
</span> <span style="color:rgb(153,69,0)">xmlns:xsi</span>=<span style="color:rgb(26,26,166)">"<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">test_layer</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">gml:name</span><span style="color:rgb(136,18,128)">></span>Test
Points<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">gml:name</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">test_feature</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">gml:boundedBy</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">gml:Box</span>
<span style="color:rgb(153,69,0)">srsName</span>=<span style="color:rgb(26,26,166)">"EPSG:900913"</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">gml:coordinates</span><span style="color:rgb(136,18,128)">></span>-269220.293738,6545357.533946
-269220.293738,6545357.533946<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">gml:coordinates</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">gml:Box</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">gml:boundedBy</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">test_feature</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">test_feature</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">gml:boundedBy</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">gml:Box</span>
<span style="color:rgb(153,69,0)">srsName</span>=<span style="color:rgb(26,26,166)">"EPSG:900913"</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"><</span><span style="color:rgb(136,18,128)">gml:coordinates</span><span style="color:rgb(136,18,128)">></span>-253276.741855,6554416.311795
-253276.741855,6554416.311795<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">gml:coordinates</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">gml:Box</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">gml:boundedBy</span><span style="color:rgb(136,18,128)">></span></div>
<div>
<span style="color:rgb(136,18,128)"></</span><span style="color:rgb(136,18,128)">test_feature</span><span style="color:rgb(136,18,128)">></span>
</test_layer>
</msGMLOutput><br>
<br>
What I would like to be able to do is get the feature id as what
happends with the plain output<br>
<br>
<div>GetFeatureInfo
results:</div>
<div><br>
</div>
<div>Layer
'test'</div>
<div>
Feature 326: </div>
<div>
Feature 327:<br>
<br>
I've set `gml_include_items` to * and `wms_include_item` to *
as well but still not having any luck. <br>
<br>
Could someone point me in the direction of doing this? <br>
<br>
Many thanks,<br>
<br>
Mark<br>
</div>
</div>
<br>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
mapserver-users mailing list
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>