<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Hey All!</div><div class=""><br class=""></div><div class="">I just joined the list. I have used mapserver for a while and just started with WFS.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I’m serving WFS requests from a GML input file. Input is like this:</div><div class=""><br class=""></div><div class=""><gml:featureMember><br class=""> <ogr:2019_03_avon_and_somerset_street fid="2019_03_avon_and_somerset_street.0"><br class=""> <ogr:geometryProperty><gml:Point><gml:coordinates>-3.187863,54.948226</gml:coordinates></gml:Point></ogr:geometryProperty><br class=""> <ogr:Crime_ID>f2964c095957f50f54b16d18c71be4a1f09f55e7f321edac3f38b469877e7fc5</ogr:Crime_ID><br class=""> <ogr:Month>2019-03</ogr:Month><br class=""> <ogr:Reported_by>Avon and Somerset Constabulary</ogr:Reported_by><br class=""> <ogr:Falls_within>Avon and Somerset Constabulary</ogr:Falls_within><br class=""> <ogr:Location>On or near Field View</ogr:Location><br class=""> <ogr:LSOA_code>E01019107</ogr:LSOA_code><br class=""> <ogr:LSOA_name>Allerdale 002B</ogr:LSOA_name><br class=""> <ogr:Crime_type>Other theft</ogr:Crime_type><br class=""> <ogr:Last_outcome_category>Under investigation</ogr:Last_outcome_category><br class=""> <ogr:Context></ogr:Context><br class=""> </ogr:2019_03_avon_and_somerset_street><br class=""> </gml:featureMember><br class=""><br class=""></div><div class="">But the output doesn’t include any of the other feature attributes (such as Crime_ID).</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""><wfs:member></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> <ms:sas-avon></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> <gml:boundedBy></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> <gml:Envelope</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> srsName="urn:ogc:def:crs:EPSG::4326"></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> <gml:lowerCorner></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> 50.948685 -2.807610</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </gml:lowerCorner></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> <gml:upperCorner></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> 50.948685 -2.807610</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </gml:upperCorner></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </gml:Envelope></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </gml:boundedBy></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> <ms:msGeometry></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> <gml:Point</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> gml:id=".1"</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> srsName="urn:ogc:def:crs:EPSG::4326"></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> <gml:pos></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> 50.948685 -2.807610</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </gml:pos></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </gml:Point></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </ms:msGeometry></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </ms:sas-avon></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""> </wfs:member></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class="">The mapfile looks like this:</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 69, 69);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font color="#454545" face="Helvetica Neue" class=""> LAYER<br class=""> NAME street-avon<br class=""> TYPE POINT<br class=""> STATUS DEFAULT<br class=""> CONNECTIONTYPE OGR<br class=""> CONNECTION "/vsicurl/<a href="http://127.0.0.1/2019-03-avon-and-somerset-street.csv.gml" class="">http://127.0.0.1/2019-03-avon-and-somerset-street.csv.gml</a>"<br class=""> CLASS<br class=""> STYLE<br class=""> COLOR 0 255 0<br class=""> SYMBOL 'circle'<br class=""> SIZE 6<br class=""> END<br class=""> END<br class=""> END<br class=""></font><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">I don’t think I need to add anything to the apple for the feature attributes to be included in the WFS output, or do I?</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Thanks!</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Leigh </div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div class=""><br class=""></div></body></html>