<!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 content="MSHTML 6.00.2900.5945" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=323540621-25012011>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=323540621-25012011></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=323540621-25012011>I would suggest to read a bit about WMS 1.1.1 vs. 1.3.0 
and axis order of some projections mandated by the standard, and also about WFS 
1.0.0 vs. 1.1.0.&nbsp; </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=323540621-25012011></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=323540621-25012011>-Jukka Rahkonen-</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B> 
mapserver-users-bounces@lists.osgeo.org 
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta 
</B>SWEYKAM@telefonica.net<BR><B>Lähetetty:</B> 25. tammikuuta 2011 
21:06<BR><B>Vastaanottaja:</B> mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> 
[mapserver-users] Protocol version related problems<BR></FONT><BR></DIV>
<DIV></DIV>I would highly appreciate some advice on the following 
problem:<BR><BR>WMS layers only display correctly when using HTTP GET requests 
version 1.1.1 while&nbsp; 1.3.0 causes a distortion of the shape and a spatial 
displacement.<BR><BR>WFS layers only display correctly when using HTTP POST 
requests version 1.0.0 while with 1.1.0 don’t display (at least not within the 
view extent).<BR><BR>HTTP GET requests version 1.1.0 on the same WFS layer cause 
-no shape distortion- but an inversion and 90ºrotation of the shape plus a 
spatial displacement.<BR><BR>I have also observed that with the WFS protocol 
version 1.1.0 the ‘lowerCorner’ and ‘upperCorner’ coordinates are switched 
around: lat-long instead of lon-lat.<BR><BR>Looks to me as if MapServer messes 
up the map/layer extents, which are properly defined at MAP, LAYER and Metdadata 
level.<BR><BR>Both MAP and LAYER are in geographic coordinates.<BR><BR>When I 
request a projected WFS layer (POST + any protocol version) the server throws a 
500 error.<BR><BR>I’m logging what MapServer does (DEBUG level 3 with PROJ_DEBUG 
and CPL_DEBUG on) but can’t see anything suspicious.<BR><BR>As for the server 
error on POST+reprojected layer, the server logs a ‘premature end of script 
header’ in the error.log and ‘HTTP/1.1" 500 538 "-" "Python-urllib/2.6" in the 
access.log<BR><BR>According to my hosting service they are using Debian Lenny, 
and have compiled and installed the Debian packages for MapServer 5.6.5, GDAL 
1.5.4 and PROJ 4.7.0.<BR><BR>All services work fine on my local MS4W 
installation (vers. 5.2.1)<BR><BR>Does that make any sense?????</BODY></HTML>