<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19154">
</head>
<body>
<div><font size="2" face="Arial"><span class="510414814-24012012">Hi,</span></font></div>
<div><font size="2" face="Arial"><span class="510414814-24012012"></span></font>&nbsp;</div>
<div><font size="2" face="Arial"><span class="510414814-24012012">This GetFeature finds data from MS 6.0.1 (MS4W)</span></font></div>
<div><font size="2" face="Arial"></font>&nbsp;</div>
<div><font size="2" face="Arial"></font>&nbsp;</div>
<div><font size="2" face="Arial"><a href="https://ilmakuva.mmm.fi/cgi-bin/wfs_test?service=wfs&amp;version=1.1.0&amp;request=getfeature&amp;typename=peltolohkot&amp;BBOX=280009,6696093,282161,6698297,EPSG:3067">service=wfs&amp;version=1.1.0&amp;request=getfeature&amp;typename=peltolohkot&amp;BBOX=280009,6696093,282161,6698297,EPSG:3067</a></font></div>
<div><font size="2" face="Arial"></font>&nbsp;</div>
<div><span class="510414814-24012012"><font size="2" face="Arial">This POST request which should find the sama data does not find anything:</font></span></div>
<div><span class="510414814-24012012"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="510414814-24012012"><font size="2" face="Arial">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;wfs:GetFeature handle=&quot;GeoTools 2.7-RC2 WFS DataStore&quot; maxFeatures=&quot;100&quot;<br>
outputFormat=&quot;text/xml; subtype=gml/3.1.1&quot; resultType=&quot;results&quot; service=&quot;WFS&quot;<br>
version=&quot;1.1.0&quot; xmlns:ogc=&quot;<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>&quot; xmlns:gml=&quot;<a href="http://www">http://www</a>.<br>
opengis.net/gml&quot; xmlns:xlink=&quot;<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>&quot;<br>
xmlns:ows=&quot;<a href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>&quot; xmlns:wfs=&quot;<a href="http://www.opengis">http://www.opengis</a>.<br>
net/wfs&quot;&gt;&lt;wfs:Query srsName=&quot;EPSG:3067&quot;<br>
typeName=&quot;peltolohkot&quot;&gt;&lt;ogc:Filter&gt;&lt;ogc:BBOX&gt;&lt;ogc:PropertyName&gt;msGeometry&lt;/ogc:PropertyName&gt;&lt;gml:Envelope&gt;&lt;gml:lowerCorner&gt;280009.0 6696093.0<br>
&lt;/gml:lowerCorner&gt;&lt;gml:upperCorner&gt;282161.0 6698297.<br>
0&lt;/gml:upperCorner&gt;&lt;/gml:Envelope&gt;&lt;/ogc:BBOX&gt;&lt;/ogc:Filter&gt;&lt;/wfs:Query&gt;&lt;/wfs:GetFeature&gt;<br>
</font></span></div>
<div><span class="510414814-24012012"><font size="2" face="Arial">Mapserver log file does not tell anything interesting, just this</font></span></div>
<div><span class="510414814-24012012"><font size="2" face="Arial">msQueryByFilter(): Search returned no results. No matching record(s) found.</font></span></div>
<div><span class="510414814-24012012"><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="510414814-24012012"><font size="2" face="Arial">Data is as shapefile. I have the same dataset in PostGIS on another computer and with that service the filter above does find features. Could this possibly have something to do with the shapefile/PostGIS
 difference?</font></span></div>
<div><span class="510414814-24012012"><font size="2" face="Arial"></font><font size="2" face="Arial"></font></span>&nbsp;</div>
<div><span class="510414814-24012012"><font size="2" face="Arial">-Jukka Rahkonen-</font></span></div>
</body>
</html>