Here is my entire map file just in-case I’ve done something stupid. <br><br>MAP <br> PROJECTION<br> "init=epsg:4326"<br> END<br><br> FONTSET "fonts.list"<br> NAME TEST<br> STATUS ON<br>
SIZE 1000 1000<br> MAXSIZE 3000<br> EXTENT -180 -90 180 90<br> UNITS DD<br><br> WEB<br> METADATA<br> "ows_enable_request" "*"<br> "wms_title" "Testing"<br>
"wms_onlineresource" "<a href="http://localhost/cgi-bin/mapserv?map=test2.map&">http://localhost/cgi-bin/mapserv?map=test2.map&</a>"<br> "wms_srs" "EPSG:900913"<br>
END <br> END<br> SYMBOL<br> NAME "circle"<br> TYPE ellipse<br> FILLED true<br> POINTS<br> 1 1<br> END<br> END<br> <br> LAYER<br> NAME "test"<br>
METADATA<br> "wms_title" "Test Points" ##required<br> END<br> TEMPLATE "blank.html"<br> TOLERANCE 10<br> TYPE POINT<br> CONNECTIONTYPE postgis<br>
CONNECTION ""<br> DATA "position from datatable"<br> DEBUG TRUE<br><br> CLASS<br> STYLE<br> SIZE 10<br> SYMBOL "circle"<br>
COLOR 255 0 0<br> END<br> END<br> END<br>END<br><br><div class="gmail_quote">On 25 March 2013 13:42, Kralidis,Tom [Ontario] <span dir="ltr"><<a href="mailto:Tom.Kralidis@ec.gc.ca" target="_blank">Tom.Kralidis@ec.gc.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mark: try (in LAYER) DUMP TRUE? Can you post the layer definition snippet from your mapfile?<br>
<br>
From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of Mark Davidson<br>
Sent: Monday, March 25, 2013 09:30<br>
To: Stefan Schantz<br>
Cc: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: Re: [mapserver-users] GetFeatureInfo GML<br>
<div class="HOEnZb"><div class="h5"><br>
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>
On 25 March 2013 11:41, Stefan Schantz <<a href="mailto:SSchantz@bfs.de">SSchantz@bfs.de</a>> wrote:<br>
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">25.03.2013 11</a>:44, schrieb Mark Davidson:<br>
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>
<?xml version="1.0" encoding="ISO-8859-1"?><br>
<br>
<msGMLOutput<br>
xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>"<br>
xmlns:xlink="<a href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.org/1999/xlink</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
<test_layer><br>
<gml:name>Test Points</gml:name><br>
<test_feature><br>
<gml:boundedBy><br>
<gml:Box srsName="EPSG:900913"><br>
<gml:coordinates>-269220.293738,6545357.533946 -269220.293738,6545357.533946</gml:coordinates><br>
</gml:Box><br>
</gml:boundedBy><br>
</test_feature><br>
<test_feature><br>
<gml:boundedBy><br>
<gml:Box srsName="EPSG:900913"><br>
<gml:coordinates>-253276.741855,6554416.311795 -253276.741855,6554416.311795</gml:coordinates><br>
</gml:Box><br>
</gml:boundedBy><br>
</test_feature> </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>
GetFeatureInfo results:<br>
<br>
Layer 'test'<br>
Feature 326:<br>
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>
<br>
<br>
<br>
<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>
_______________________________________________<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>
</div></div></blockquote></div><br>