<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19088">
</head>
<body>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="726024913-06092011">Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="726024913-06092011"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="726024913-06092011">I just confirmed with Mapserver 6.0 that if I&nbsp;use
<font color="#000000"><font color="#0000ff">&quot;wfs_getcapabilities_version&quot;&nbsp; &quot;1.0.0&quot;</font>&nbsp;&nbsp;in WEB -&nbsp;METADATA then I get back WFS 1.0.0 version of GetCapabilities document with the plain service=WFS&amp;request=GetCapabilities.&nbsp; However, if I add &amp;version=1.1.0
 I get back the version 1.1.0 document. That's also what the documentation suggests. It might be good to have an option to switch off WFS version 1.1.0 totally as&nbsp;long as&nbsp;there are clients sending requests with the highest supported WFS version but without
 knowing what to do with the GML3 they are getting back if the axis order is reversed.</font></span></font></div>
<div dir="ltr" align="left"><font color="#000000" size="2" face="Arial"><span class="726024913-06092011"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#000000" size="2" face="Arial"><span class="726024913-06092011">-Jukka Rahkonen-</span></font></div>
<div dir="ltr" align="left"><font color="#000000" size="2" face="Arial"><span class="726024913-06092011"></span></font>&nbsp;</div>
<br>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir="ltr">
<div dir="ltr" lang="fi" class="OutlookMessageHeader" align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>Lähettäjä:</b> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>Puolesta </b>Rahkonen Jukka<br>
<b>Lähetetty:</b> 6. syyskuuta 2011 16:44<br>
<b>Vastaanottaja:</b> 'Lucho'<br>
<b>Kopio:</b> 'mapserver-users@lists.osgeo.org'<br>
<b>Aihe:</b> [mapserver-users] Re: WMS/WFS Mapserver Projection Error<br>
</font><br>
</div>
<div></div>
<div dir="ltr" align="left"><font color="#0000ff">
<div dir="ltr" align="left"><font color="#000000" size="2" face="Arial"><span class="022063813-06092011">Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#000000" size="2" face="Arial"><span class="022063813-06092011"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff"><span class="022063813-06092011"><font face="Arial"><font size="2"><font color="#000000">What client are you using? If you add</font>
<font color="#000000">&quot;wfs_getcapabilities_version&quot;&nbsp; &quot;1.0.0&quot; into your mapfile, does Mapserver still advertise WFS 1.1.0 in its supported formats in the WFS GetCapabilities document?&nbsp; Somehow normal WFS client behaviour is to send&nbsp;first GetCapabilities without
 version and capture the highest version number from the document for further requests.&nbsp;GvSIG at least is doing so but probably and hopefully they will add the version selector in the future.</font></font></font></span></font></div>
<div dir="ltr" align="left"><font color="#000000" size="2" face="Arial"><span class="022063813-06092011"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#000000" size="2" face="Arial"><span class="022063813-06092011">-Jukka Rahkonen-</span></font></div>
<div dir="ltr" align="left"><font color="#000000" size="2" face="Arial"><span class="022063813-06092011"></span></font>&nbsp;</div>
</font></div>
<br>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<div dir="ltr" lang="fi" class="OutlookMessageHeader" align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>Lähettäjä:</b> Lucho [mailto:lucho1524@gmail.com]
<br>
<b>Lähetetty:</b> 6. syyskuuta 2011 16:37<br>
<b>Vastaanottaja:</b> Rahkonen Jukka<br>
<b>Aihe:</b> Re: WMS/WFS Mapserver Projection Error<br>
</font><br>
</div>
<div></div>
Hi Jukka, <br>
<br>
I'd tried adding this parameter before changing the parameters on my client, but it doesn't work at all.
<br>
<br>
Any other idea?<br>
<br>
<div class="gmail_quote">On 5 September 2011 22:53, Rahkonen Jukka <span dir="ltr">
&lt;<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<u></u>
<div>
<div dir="ltr" align="left"><span><font size="2" face="Arial">Hi,</font></span></div>
<div>&nbsp;</div>
<div dir="ltr" align="left"><span><font size="2" face="Arial">Have a try with &quot;wfs_getcapabilities_version&quot;&nbsp;metadata that is mentioned in
<a href="http://mapserver.org/ogc/wfs_server.html" target="_blank">http://mapserver.org/ogc/wfs_server.html</a></font></span></div>
<div>&nbsp;</div>
<div dir="ltr" align="left"><span><font size="2" face="Arial">-Jukka Rahkonen-</font></span></div>
<div>&nbsp;</div>
<div dir="ltr" align="left"><span><font size="2" face="Arial"></font></span>&nbsp;</div>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<div dir="ltr" lang="fi" align="left">
<hr>
<font size="2" face="Tahoma"><b>Lähettäjä:</b> Lucho [mailto:<a href="mailto:lucho1524@gmail.com" target="_blank">lucho1524@gmail.com</a>]
<br>
<b>Lähetetty:</b> 6. syyskuuta 2011 1:05<br>
<b>Vastaanottaja:</b> Rahkonen Jukka<br>
<b>Kopio:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Aihe:</b> Re: WMS/WFS Mapserver Projection Error<br>
</font><br>
</div>
<div>
<div></div>
<div class="h5">
<div></div>
Thanks, list...<br>
<br>
As Jukka said, the problem was in the way of how the WFS 1.1.0 standard works with the BBOX Envelope.
<br>
<br>
I've changed the order of the variables in which the coordinate values were captured on my web client, using the order given by the GetFeature request on WFS 1.0.0, and that's it!!! It works now.<br>
<br>
Unfortunately, i do not know if there is any form of specify the version of WFS service in the metadata of my mapfile.<br>
<br>
Best wishes,<br>
<br>
<div class="gmail_quote">On 5 September 2011 05:37, Rahkonen Jukka <span dir="ltr">
&lt;<a href="mailto:Jukka.Rahkonen@mmmtike.fi" target="_blank">Jukka.Rahkonen@mmmtike.fi</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<u></u>
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Hi,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Your failing client is most probably sending WFS 1.1.0 version GetFeature request and therefore Mapserver is sending the coordinates in Latitude-Longitude order.&nbsp; This is how the
 WFS 1.1.0 says it should be.&nbsp;According to the WFS 1.1.0 standard your client is doing it wrong. Lots of&nbsp;people have said that the WFS 1.1.0 standard is stupid.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">If your client supports WFS 1.0.0 use that and the map will look good.&nbsp; Have a try with your browser and you will see what I mean</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"><a href="http://your_server/cgi-bin/mapserv?service=WFS&amp;version=1.0.0&amp;request=GetFeature&amp;typeName=your_typename&amp;maxFeatures=1&amp;map=your_mapfile" target="_blank">http://your_server/cgi-bin/mapserv?service=WFS&amp;version=1.0.0&amp;request=GetFeature&amp;typeName=your_typename&amp;maxFeatures=1&amp;map=your_mapfile</a></font></span></div>
<div dir="ltr" align="left"><span><font size="2" face="Arial"><a href="http://your_server/cgi-bin/mapserv?service=WFS&amp;version=1.1.0&amp;request=GetFeature&amp;typeName=your_typename&amp;maxFeatures=1&amp;map=your_mapfile" target="_blank">http://your_server/cgi-bin/mapserv?service=WFS&amp;version=1.1.0&amp;request=GetFeature&amp;typeName=your_typename&amp;maxFeatures=1&amp;map=your_mapfile</a></font></span></div>
<div><br>
<span><font color="#0000ff" size="2" face="Arial">-Jukka Rahkonen-</font></span></div>
<div><font face="Tahoma"><font size="2"><span><font color="#0000ff" face="Arial"></font></span></font></font>&nbsp;</div>
<div><font size="2" face="Tahoma">Lucho<span><font color="#0000ff" face="Arial">&nbsp; wrote:</font></span></font></div>
<div><font color="#0000ff" size="2" face="Arial"></font><br>
&nbsp;</div>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<div></div>
Hi List, <br>
<br>
I have a problem with some data when I'm publishing a WMS and then, publish the same data in a WFS service. Everithing is ok speaking about attending requests, but when I get the data with some clients, it seems that WFS has a total different projection.
<br>
<br>
The image attached explain better the situation. <br>
<br>
In Quantum GIS the two services working well, but in other clients I have this problem. The data are in EPSG:4326<br>
<br>
Any ideas?<br>
<br>
Best regards,<br clear="all">
<br>
-- <br>
LUIS FERNANDO ORTIZ REYES<br>
INGENIERO DE SISTEMAS<br>
UNIVERSIDAD DISTRITAL<br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
LUIS FERNANDO ORTIZ REYES<br>
INGENIERO DE SISTEMAS<br>
UNIVERSIDAD DISTRITAL<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
LUIS FERNANDO ORTIZ REYES<br>
INGENIERO DE SISTEMAS<br>
UNIVERSIDAD DISTRITAL<br>
</blockquote>
</blockquote>
</body>
</html>