Hi,<br><br>Ok I stop for tonigh. I succesfully test my WFS MS and srsName don't seem to be mandatory as I said before.<br><br>This is EXTENT parameter which is mandatory. This parameter was not in my mapfile before and so WFS Filter request failed.<br>
<br>Y.<br><br><div class="gmail_quote">2012/9/23 Yves Jacolin <span dir="ltr"><<a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thomas,<br><br>I successfully test msautest mapfil, I had an error in my url :/<br><br>Anyway, you helped a lot, it is interesting: it seems that srsName="EPSG:3978 is important to request WFS mapserver, but MapServer don't add it in its Filter request!<span class="HOEnZb"><font color="#888888"><br>
<br>Y.</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">2012/9/23 thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is how I'm running it:<br>
<br>
cd wxs<br>
export REQUEST_METHOD=POST<br>
export MS_MAPFILE=wfs_filter.map<br>
export CONTENT_LENGTH=666<br>
echo '<?xml version="1.0" ?><br>
<div> <wfs:GetFeature service="WFS" version="1.0.0" maxFeatures="1000"<br>
outputFormat="GML2" xmlns:wfs="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>"<br>
xmlns:ogc="<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a>"<br>
xsi:schmaLocation="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a><br>
<a href="http://shemas.opengis.nt/wfs/1.0.0/WFS-transaction.xsd" target="_blank">http://shemas.opengis.nt/wfs/1.0.0/WFS-transaction.xsd</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2/XMLSchema-instance" target="_blank">http://www.w3.org/2/XMLSchema-instance</a>"<br>
xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>"><br>
<wfs:Query typeName="road"><br>
<ogc:Filter><br>
<ogc:BBOX><br>
<ogc:PropertyName>Geometry</ogc:PropertyName><br>
<gml:Box srsName="EPSG:3978"><br>
<gml:coordinates>2018000,-73300 3410396,647400</gml:coordinates><br>
</gml:Box><br>
</ogc:BBOX><br>
</ogc:Filter><br>
</wfs:Query><br>
</div></wfs:GetFeature>' | mapserv<br>
<br>
I don't know if that output is correct or not.<br>
<div><div><br>
<br>
<br>
On Sun, Sep 23, 2012 at 7:03 PM, Yves Jacolin<br>
<<a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a>> wrote:<br>
> <?xml version="1.0" ?><br>
> <wfs:GetFeature service="WFS" version="1.0.0" maxFeatures="1000"<br>
> outputFormat="GML2" xmlns:wfs="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a>"<br>
> xmlns:ogc="<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a>"<br>
> xsi:schmaLocation="<a href="http://www.opengis.net/wfs" target="_blank">http://www.opengis.net/wfs</a><br>
> <a href="http://shemas.opengis.nt/wfs/1.0.0/WFS-transaction.xsd" target="_blank">http://shemas.opengis.nt/wfs/1.0.0/WFS-transaction.xsd</a>"<br>
> xmlns:xsi="<a href="http://www.w3.org/2/XMLSchema-instance" target="_blank">http://www.w3.org/2/XMLSchema-instance</a>"<br>
> xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>"><br>
> <wfs:Query typeName="road"><br>
> <ogc:Filter><br>
> <ogc:BBOX><br>
> <ogc:PropertyName>Geometry</ogc:PropertyName><br>
> <gml:Box srsName="EPSG:3978"><br>
> <gml:coordinates>2018000,-73300 3410396,647400</gml:coordinates><br>
> </gml:Box><br>
> </ogc:BBOX><br>
> </ogc:Filter><br>
> </wfs:Query><br>
> </wfs:GetFeature><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div class="HOEnZb"><div class="h5">-- <br>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Responsable Formation et Support</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Camptocamp France SAS</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Savoie Technolac, BP 352</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">73377 Le Bourget du Lac, Cedex</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Tel (France) : <a href="tel:%2B33%204%2079%2026%2057%2098" value="+33479265798" target="_blank">+33 4 79 26 57 98</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Mob. : <a href="tel:%2B33%206%2018%2075%2042%2021" value="+33618754221" target="_blank">+33 6 18 75 42 21</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Fax : 04 79 70 15 81</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Mail : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a></p><a href="mailto:yves.jacolin@camptocamp.com" target="_blank"></a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Responsable Formation et Support</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Camptocamp France SAS</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Savoie Technolac, BP 352</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">73377 Le Bourget du Lac, Cedex</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Tel (France) : +33 4 79 26 57 98</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Mob. : +33 6 18 75 42 21</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Fax : 04 79 70 15 81</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Mail : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a></p><a href="mailto:yves.jacolin@camptocamp.com" target="_blank"></a><br>