<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Mark,<br>
I use gml_include_items 'all'<br>
<br>
Best regards<br>
Stefan<br>
<br>
Am 25.03.2013 11:44, schrieb Mark Davidson:
<blockquote
cite="mid:CAPpwVW2z0F0p6orEPWfiktKPQKyT1oX5NmmTHCLQ-5qWCVGHbQ@mail.gmail.com"
type="cite"> 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 class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)"><span
class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">?xml</span>
<span class="webkit-html-attribute-name"
style="color:rgb(153,69,0)">version</span>=<span
class="webkit-html-attribute-value"
style="color:rgb(26,26,166)">"1.0"</span> <span
class="webkit-html-attribute-name" style="color:rgb(153,69,0)">encoding</span>=<span
class="webkit-html-attribute-value"
style="color:rgb(26,26,166)">"ISO-8859-1"</span><span
class="webkit-html-attribute-name" style="color:rgb(153,69,0)">?</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)"><br
style="">
</div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)"><span
class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">msGMLOutput</span>
</div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)"><span
class="webkit-html-attribute-name" style="color:rgb(153,69,0)">
</span> <span class="webkit-html-attribute-name"
style="color:rgb(153,69,0)">xmlns:gml</span>=<span
class="webkit-html-attribute-value"
style="color:rgb(26,26,166)">"<a moz-do-not-send="true"
href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>"</span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)"><span
class="webkit-html-attribute-name" style="color:rgb(153,69,0)">
</span> <span class="webkit-html-attribute-name"
style="color:rgb(153,69,0)">xmlns:xlink</span>=<span
class="webkit-html-attribute-value"
style="color:rgb(26,26,166)">"<a moz-do-not-send="true"
href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>"</span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)"><span
class="webkit-html-attribute-name" style="color:rgb(153,69,0)">
</span> <span class="webkit-html-attribute-name"
style="color:rgb(153,69,0)">xmlns:xsi</span>=<span
class="webkit-html-attribute-value"
style="color:rgb(26,26,166)">"<a moz-do-not-send="true"
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">test_layer</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:name</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span>Test
Points<span class="webkit-html-tag"
style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:name</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">test_feature</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:boundedBy</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:Box</span>
<span class="webkit-html-attribute-name"
style="color:rgb(153,69,0)">srsName</span>=<span
class="webkit-html-attribute-value"
style="color:rgb(26,26,166)">"EPSG:900913"</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:coordinates</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span>-269220.293738,6545357.533946
-269220.293738,6545357.533946<span class="webkit-html-tag"
style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:coordinates</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:Box</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:boundedBy</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">test_feature</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">test_feature</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:boundedBy</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:Box</span>
<span class="webkit-html-attribute-name"
style="color:rgb(153,69,0)">srsName</span>=<span
class="webkit-html-attribute-value"
style="color:rgb(26,26,166)">"EPSG:900913"</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"><</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:coordinates</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span>-253276.741855,6554416.311795
-253276.741855,6554416.311795<span class="webkit-html-tag"
style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:coordinates</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:Box</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">gml:boundedBy</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">></span></div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
<span class="webkit-html-tag" style="color:rgb(136,18,128)"></</span><span
class="webkit-html-tag" style="color:rgb(136,18,128)">test_feature</span><span
class="webkit-html-tag" 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 class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">GetFeatureInfo
results:</div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)"><br
style="">
</div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">Layer
'test'</div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
Feature 326: </div>
<div class="webkit-line-content"
style="color:rgb(0,0,0);font-family:'dejavu sans
mono',monospace;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:13px;text-align:start;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;background-color:rgb(255,255,255)">
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 class="Apple-interchange-newline">
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</body>
</html>