<div dir="ltr"><div>Hi Tom,</div><div>are you using your own geojson template as described in Template-Driven Output doc [1]? You mal try then the <span style="font:13px/normal Arial,sans-serif;color:rgb(62,67,73);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">[minx], [miny] or [rawminx], [rawminy] etc. tags described in the templating doc [2]. Didn't try that myself, actually.</span></div>
<div> </div><div>Kind regards</div><div>Martin</div><div> </div><div>[1] <a href="http://mapserver.org/output/template_output.html#examples">http://mapserver.org/output/template_output.html#examples</a></div><div>[2] <a href="http://mapserver.org/mapfile/template.html#format">http://mapserver.org/mapfile/template.html#format</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-27 23:32 GMT+02:00 Tom <span dir="ltr"><<a href="mailto:tom@nthsense.net" target="_blank">tom@nthsense.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" vlink="purple" link="blue"><div><p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Thanks, Martin – that sounds like exactly what I need.  Any idea how to get this into a GeoJSON response?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p><div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) currentColor currentColor;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-family:"Tahoma","sans-serif";font-size:10pt">From:</span></b><span style="font-family:"Tahoma","sans-serif";font-size:10pt"> <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Martin Kofahl<br>
<b>Sent:</b> Friday, June 27, 2014 4:46 PM<br><b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br><b>Subject:</b> Re: [mapserver-users] Include data extents in WFS layer<u></u><u></u></span></p>
</div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span style="color:black">Hi Tom,</span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="color:black">you should have an gml:boundedBy xml element in the wfs GetFeature response which represents the extent of the returned features.</span><u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"><span style="color:black">Kind regards,</span><u></u><u></u></p></div><div><p style="margin-bottom:12pt" class="MsoNormal"><span style="color:black">Martin</span><u></u><u></u></p>
</div><div><div><p class="MsoNormal">2014-06-27 16:16 GMT+02:00 Tom <<a href="mailto:tom@nthsense.net" target="_blank">tom@nthsense.net</a>>:<u></u><u></u></p><div><div><p class="MsoNormal">Hi folks,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Do you know if it is possible to include the extents of the data in a WFS response?  If the BBOX I request only contains a few features , I would like to zoom my map to their bounds.  I can calculate this on the client side, but I would prefer to have Mapserver feed me that info.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Thanks!!<u></u><u></u></p><p class="MsoNormal"><span style="color:rgb(136,136,136)"> <u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(136,136,136)">Tom<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(136,136,136)"> <u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(136,136,136)"> <u></u><u></u></span></p></div></div><p class="MsoNormal"><br>_______________________________________________<br>
mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">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><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></blockquote></div><br></div>