<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Spatial Filter with WFS</TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><FONT color=#0000ff size=2 face=Arial>Hi,<BR>&nbsp;<BR>This one may not be 
the only problem, but I would start by creating a valid WFS 1.1.0 request by 
giving a filter as gml3 or alternatively go on with using gml2 filter but 
changing version to WFS 1.0.0.&nbsp; Here below is a WFS 1.1.0 request that 
works against deegree.&nbsp; It does not necessarily work against Mapserver 
because it can well be that Mapserver does not support gml:Surface, even if the 
surface is a plain polygon as in this&nbsp; case.&nbsp; However, you see that 
gml3 does not use &lt;gml:coordinates, it is using &lt;gml:posList and it would 
be a miracle or Mapserver bug or both if your request 
works.<BR>&nbsp;<BR>&lt;?xml version="1.0" 
encoding="ISO-8859-1"?&gt;<BR>&lt;wfs:GetFeature xmlns:ogc="<A 
href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</A>" xmlns:gml="<A 
href="http://www.opengis.net/gml">http://www.opengis.net/gml</A>" xmlns:wfs="<A 
href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</A>" service="WFS" 
version="1.1.0" maxFeatures="1000" outputFormat="text/xml; 
subtype=gml/3.1.1"&gt;<BR>&lt;wfs:Query xmlns:app="<A 
href="http://www.deegree.org/app">http://www.deegree.org/app</A>" 
srsName="EPSG:26912" 
typeName="app:Counties"&gt;<BR>&lt;ogc:Filter&gt;<BR>&lt;ogc:Intersects 
xmlns:gml='http://www.opengis.net/gml' &gt;<BR>&lt;ogc:PropertyName 
xmlns:app="<A 
href="http://www.deegree.org/app">http://www.deegree.org/app</A>"&gt;<BR>app:position&lt;/ogc:PropertyName&gt;<BR>&lt;gml:Surface 
srsName='EPSG:26912' 
&gt;<BR>&lt;gml:patches&gt;<BR>&lt;gml:PolygonPatch&gt;<BR>&lt;gml:exterior&gt;<BR>&lt;gml:LinearRing&gt;<BR>&lt;gml:posList 
srsDimension='2' count='6'&gt;<BR>87.0 198.0 149.0 239.0 261.0 202.0 263.0 89.0 
161.0 80.0 87.0 
198.0&lt;/gml:posList&gt;<BR>&lt;/gml:LinearRing&gt;<BR>&lt;/gml:exterior&gt;<BR>&lt;/gml:PolygonPatch&gt;<BR>&lt;/gml:patches&gt;<BR>&lt;/gml:Surface&gt;<BR>&lt;/ogc:Intersects&gt;<BR>&lt;/ogc:Filter&gt;<BR>&lt;/wfs:Query&gt;<BR>&lt;/wfs:GetFeature&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-Jukka 
Rahkonen-<BR>&nbsp;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2 
face=Arial>--------------------------------------------------------------------------------<BR>Lähettäjä: 
<A 
href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</A> 
[mailto:mapserver-users-bounces@lists.osgeo.org] Puolesta Fischer, 
Andreas<BR>Lähetetty: 22. marraskuuta 2010 19:36<BR>Vastaanottaja: <A 
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR>Aihe: 
[mapserver-users] Spatial Filter with WFS</FONT></DIV>
<DIV>&nbsp;</DIV><FONT color=#0000ff size=2 face=Arial>
<DIV><BR>Dear MapServer-User,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I configured MapServer version 5.6.5 as WMS- and WFS-Server to offer 
information about land and properties. I use PostgreSQL/PostGIS (8.4.4/1.5.1) as 
datastore in this case. The spatial reference system is EPSG:25832 und the type 
of the geometry is MULTIPOLYGON. OS is Suse Linux Enterprise Server 11, 
Servicepack1.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>WMS and WFS work fine until I use a spatial filter within the 
getFeature-Request of the WFS. In this case the response doesn’t deliver any 
features. Nevertheless the number of features (e.g. numberOf Features=’4’) is 
correct. I tried this out with a couple of different boundingboxes and the known 
number of features that intersect these boundigboxes. In all cases I do not get 
any features back, but always the right number. So it seems that at least the 
intersection of the boundingbox and my data works correctly.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please take a look at the following request and response that illustrate 
that problem:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Request:</DIV>
<DIV>&nbsp;</DIV>
<DIV><A 
href="http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map&amp;REQUEST=getFeature&amp;typename=folie001&amp;SERVICE=WFS&amp;VERSION=1.1.0">http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map&amp;REQUEST=getFeature&amp;typename=folie001&amp;SERVICE=WFS&amp;VERSION=1.1.0</A>&amp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Filter=&lt;ogc:Filter&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;Intersects&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;ogc:PropertyName&gt;msGeometry&lt;/ogc:PropertyName&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;gml:Polygon srsName='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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/gml:LinearRing&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/gml:outerBoundaryIs&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/gml:Polygon&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/Intersects&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ogc:Filter&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Response</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;wfs:FeatureCollection xmlns:ms="<A 
href="http://mapserver.gis.umn.edu/mapserver">http://mapserver.gis.umn.edu/mapserver</A>" 
xmlns:gml="<A href="http://www.opengis.net/gml">http://www.opengis.net/gml</A>" 
xmlns:wfs=http://www.opengis.net/wfs xmlns:ogc="<A 
href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</A>" xmlns:xsi="<A 
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>" 
xsi:schemaLocation="<A 
href="http://mapserver.gis.umn.edu/mapserver">http://mapserver.gis.umn.edu/mapserver</A> 
<A 
href="http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map&amp;SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=folie001&amp;OUTPUTFORMAT=text/xml">http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map&amp;SERVICE=WFS&amp;VERSION=1.1.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=folie001&amp;OUTPUTFORMAT=text/xml</A>; 
subtype=gml/3.1.1 <A 
href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</A> <A 
href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</A>" 
numberOfFeatures="4"&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;gml:boundedBy&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;gml:Envelope srsName="EPSG:25832"&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;gml:lowerCorner&gt;-1.000000 -1.000000&lt;/gml:lowerCorner&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;gml:upperCorner&gt;-1.000000 -1.000000&lt;/gml:upperCorner&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/gml:Envelope&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/gml:boundedBy&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;/wfs:FeatureCollection&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Indeed of this behavior the WFS returns features when I do not use a 
spatial filter. Therefore in my opinion the WFS should be configured right in 
general. To me the spatial filter seems to be the problem. Unfortunately I do 
not have any ideas what is going wrong.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>For more information you can take a look at my MapFile and a part of 
the capabilities document returned from the WFS below:</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>MAP</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "ku_testwfs"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS ON</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 400 520</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXTENT 389965 5693582 420177 
5732815</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNITS METERS</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PROJECTION</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"init=epsg:25832"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOLSET 
"/mapserver/symbols/symbols_alk.sym"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONTSET 
"/mapserver/fonts/fonts.fnt"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGECOLOR 255 255 255</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WEB</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
IMAGEPATH "/mapbender/mb262/http/tmp/"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
IMAGEURL "<A 
href="http://myserver/mapbender/tmp/">http://myserver/mapbender/tmp/</A>"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
METADATA</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ows_onlineresource" "<A 
href="http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map">http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map</A>"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ows_title" "Liegenschaftskarte, Kreis Unna"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ows_accessconstraints" "Nutzung nur für den Dienstgebrauch."</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ows_abstract" "Flurstücksfolie der Liegenschaftskarte."</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ows_contactperson" "Andreas Fischer"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ows_contactorganization" "Kreis Unna"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ows_contactposition" "Zentrale Datenverarbeitung, Geodatenmanagement"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"wms_srs" "EPSG:25832 EPSG:31462 EPSG:31463 EPSG:31466 EPSG:31467 
EPSG:4326"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"wms_feature_info_mime_type" "text/html"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
CONNECTIONTYPE postgis</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
CONNECTION "user=dbuser password=dbpassword dbname=dbname host=dbhost 
port=dbport"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
DATA "the_geom from ku_view_folie001 USING UNIQUE objnr USING SRID=25832"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
METADATA</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"ows_title" "Flurstücke"&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"wms_srs" "EPSG:25832 EPSG:31462 EPSG:31463 EPSG:31466 EPSG:31467 
EPSG:4326"&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nb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bsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
END # STYLE</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
END&nbsp; # CLASS</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END #LAYER</DIV>
<DIV>&nbsp;</DIV>
<DIV>END #MAPFILE</DIV>
<DIV>&nbsp;</DIV>
<DIV>[…]</DIV>
<DIV>&nbsp;</DIV>
<DIV>- &lt;&nbsp;&nbsp;&nbsp;&nbsp; FeatureTypeList&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>- &lt;&nbsp;&nbsp;&nbsp;&nbsp; Operations&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;Query /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;/Operations&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>- &lt;FeatureType&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;Name&gt;folie001&lt;/Name&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;Title&gt;Flurstücke&lt;/Title&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;SRS&gt;EPSG:25832&lt;/SRS&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;LatLongBoundingBox minx="389965" miny="5.69358e+06" 
maxx="420177" maxy="5.73282e+06" /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;/FeatureType&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;/FeatureTypeList&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>- &lt;ogc:Filter_Capabilities&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>- &lt;ogc:Spatial_Capabilities&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>- &lt;ogc:Spatial_Operators&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Equals /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Disjoint /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Touches /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Within /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Overlaps /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Crosses /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Intersect /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Contains /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:DWithin /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:BBOX /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;/ogc:Spatial_Operators&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;/ogc:Spatial_Capabilities&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>- &lt;ogc:Scalar_Capabilities&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Logical_Operators /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>- &lt;ogc:Comparison_Operators&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Simple_Comparisons /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Like /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; &lt;ogc:Between /&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;/ogc:Comparison_Operators&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;/ogc:Scalar_Capabilities&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;/ogc:Filter_Capabilities&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;/WFS_Capabilities&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>(The LatLongBoundingBox in this case is obviously not in units of 
LatLon but represent the boundingbox in the offered SRS 25832. This seems to be 
strange since thes doesn’ t occur in the WMS-capabilities document. In this 
document the LatLongBoundingBox und the BoundingBox in the source SRS are both 
all right.)</DIV>
<DIV>&nbsp;</DIV>
<DIV>I even tried different versions of MapServer and I discovered a slight 
difference with other versions. If I change my datasource from PostGIS to 
OGR/MapInfo Tab former versions of MapServer (5.4.2/5.2.3) provide features as 
well. But just in case of OGR/MapInfo Tab – not with PostGIS in use! As I have 
to use PostGIS I’m interested in any hints to solve this problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Therefore I would be glad to hear from you!</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Thanks so far and best regards!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Andreas</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Mit freundlichen Grüßen</DIV>
<DIV>&nbsp;</DIV>
<DIV>Im Auftrag</DIV>
<DIV>&nbsp;</DIV>
<DIV>Andreas Fischer</DIV>
<DIV>&nbsp;</DIV>
<DIV>Kreis Unna - Der Landrat</DIV>
<DIV>&nbsp;</DIV>
<DIV>Zentrale Datenverarbeitung</DIV>
<DIV>&nbsp;</DIV>
<DIV>Friedrich-Ebert-Straße 17</DIV>
<DIV>&nbsp;</DIV>
<DIV>59425 Unna</DIV>
<DIV>&nbsp;</DIV>
<DIV>Fon 02 3 03 27-44 16</DIV>
<DIV>&nbsp;</DIV>
<DIV>Fax 0 23 03 27-28 96</DIV>
<DIV>&nbsp;</DIV>
<DIV><A 
href="mailto:andreas.fischer@kreis-unna.de">andreas.fischer@kreis-unna.de</A></DIV>
<DIV>&nbsp;</DIV>
<DIV><A href="http://www.kreis-unna.de">www.kreis-unna.de</A></DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Diese E-Mail wurde beim Ausgang auf Viren geprueft. Wegen der 
potentiellen Gefahr auf den Uebertragungswegen wird zu einer 
Vireneingangskontrolle geraten. Eine Haftung für Virenfreiheitwird 
ausgeschlossen.<BR></FONT></DIV></BODY></HTML>