<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010>Andreas, you may be without a wsf:Query element.
Here is a WFS 1.0.0 request that works with Geoserver.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010><?xml version="1.0"
encoding="ISO-8859-1"?><BR><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.0.0" maxFeatures="1000" outputFormat="GML2"><BR><wfs:Query
xmlns:topp="<A
href="http://www.openplans.org/topp">http://www.openplans.org/topp</A>"
typeName="topp:states"><BR><ogc:Filter><BR><ogc:Intersects
xmlns:gml='http://www.opengis.net/gml' ><BR><ogc:PropertyName
xmlns:topp="<A
href="http://www.openplans.org/topp">http://www.openplans.org/topp</A>"><BR>topp:the_geom</ogc:PropertyName><BR><gml:Polygon
srsName="EPSG:4326"><BR><gml:outerBoundaryIs><BR><gml:LinearRing><BR><gml:coordinates
cs="," decimal="." ts=" "><BR>409350.0,5709890.0 409350.0,5709910.0
409370.0,5709910.0 409370.0,5709890.0
409350.0,5709890.0</gml:coordinates><BR></gml:LinearRing><BR></gml:outerBoundaryIs><BR></gml:Polygon><BR></ogc:Intersects><BR></ogc:Filter><BR></wfs:Query><BR></wfs:GetFeature><BR></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010>Y.A, a question for you: I have thought that also
the filters should be presented as gml3 with WFS 1.1.0 and thus posList should
be used instead of coordinates. Am I wrong with this belief? By the
way, this is how Geoserver 2.1 beta 1 writes out on multipolygon as
gml3</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010> </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010><topp:the_geom><BR><gml:MultiSurface
srsDimension="2"
srsName="urn:x-ogc:def:crs:EPSG:4326"><BR><gml:surfaceMember><BR><gml:Polygon><BR><gml:exterior><BR><gml:LinearRing><BR><gml:posList><BR>37.51099000000001
-88.071564 37.476273000000006 -88.087883 37.442852 -88.311707 37.40930899999999
-88.359177 </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010> </DIV></SPAN></FONT>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010>-Jukka Rahkonen-</DIV></SPAN></FONT>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=857285013-23112010> </DIV></SPAN></FONT><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>Yewondwossen
Assefa<BR><B>Lähetetty:</B> 23. marraskuuta 2010
15:43<BR><B>Vastaanottaja:</B> Rahkonen Jukka; Fischer,
Andreas<BR><B>Kopio:</B> mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> Re:
[mapserver-users] Spatial Filter with WFS<BR></FONT><BR></DIV>
<DIV></DIV>Hi all,<BR><BR>As noted MapServer does not support gml:Surface. The
original request with gml:Polygon seems to be correct. <BR>Andreas, is
it possible to package it and send it to me off list. I can quickly check what
the issue is.<BR><BR>regards,<BR><BR><BR><BR> <FONT color=#0000ff size=2
face=Arial>as noted Mapserver does not support gml:Surface. <BR><BR></FONT>On
23/11/2010 8:26 AM, Rahkonen Jukka wrote:
<BLOCKQUOTE
cite=mid:CC197224AC75CE4DB23F739B16891B8601879E75@tikka.haapa.mmm.fi
type="cite">
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<DIV><FONT color=#0000ff size=2 face=Arial>Hi,<BR> <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. Here below is a WFS 1.1.0 request that
works against deegree. 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 case. However, you see
that gml3 does not use <gml:coordinates, it is using <gml:posList and
it would be a miracle or Mapserver bug or both if your request
works.<BR> <BR><?xml version="1.0"
encoding="ISO-8859-1"?><BR><wfs:GetFeature xmlns:ogc="<A
href="http://www.opengis.net/ogc"
moz-do-not-send="true">http://www.opengis.net/ogc</A>" xmlns:gml="<A
href="http://www.opengis.net/gml"
moz-do-not-send="true">http://www.opengis.net/gml</A>" xmlns:wfs="<A
href="http://www.opengis.net/wfs"
moz-do-not-send="true">http://www.opengis.net/wfs</A>" service="WFS"
version="1.1.0" maxFeatures="1000" outputFormat="text/xml;
subtype=gml/3.1.1"><BR><wfs:Query xmlns:app="<A
href="http://www.deegree.org/app"
moz-do-not-send="true">http://www.deegree.org/app</A>" srsName="EPSG:26912"
typeName="app:Counties"><BR><ogc:Filter><BR><ogc:Intersects
xmlns:gml='<A class=moz-txt-link-freetext
href="http://www.opengis.net/gml">http://www.opengis.net/gml</A>'
><BR><ogc:PropertyName xmlns:app="<A href="http://www.deegree.org/app"
moz-do-not-send="true">http://www.deegree.org/app</A>"><BR>app:position</ogc:PropertyName><BR><gml:Surface
srsName='EPSG:26912'
><BR><gml:patches><BR><gml:PolygonPatch><BR><gml:exterior><BR><gml:LinearRing><BR><gml:posList
srsDimension='2' count='6'><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</gml:posList><BR></gml:LinearRing><BR></gml:exterior><BR></gml:PolygonPatch><BR></gml:patches><BR></gml:Surface><BR></ogc:Intersects><BR></ogc:Filter><BR></wfs:Query><BR></wfs:GetFeature></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-Jukka
Rahkonen-<BR> </FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>--------------------------------------------------------------------------------<BR>Lähettäjä:
<A href="mailto:mapserver-users-bounces@lists.osgeo.org"
moz-do-not-send="true">mapserver-users-bounces@lists.osgeo.org</A> [<A
class=moz-txt-link-freetext
href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</A>]
Puolesta Fischer, Andreas<BR>Lähetetty: 22. marraskuuta 2010
19:36<BR>Vastaanottaja: <A href="mailto:mapserver-users@lists.osgeo.org"
moz-do-not-send="true">mapserver-users@lists.osgeo.org</A><BR>Aihe:
[mapserver-users] Spatial Filter with WFS</FONT></DIV>
<DIV> </DIV><FONT color=#0000ff size=2 face=Arial></FONT>
<DIV><FONT color=#0000ff size=2 face=Arial><BR>Dear
MapServer-User,</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><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.</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Please take a look at the
following request and response that illustrate that problem:</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Request:</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><A
href="http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map&REQUEST=getFeature&typename=folie001&SERVICE=WFS&VERSION=1.1.0"
moz-do-not-send="true">http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map&REQUEST=getFeature&typename=folie001&SERVICE=WFS&VERSION=1.1.0</A>&</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>Filter=<ogc:Filter></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
<Intersects></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
<ogc:PropertyName>msGeometry</ogc:PropertyName></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
<gml:Polygon srsName='EPSG:25832'></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
<gml:outerBoundaryIs></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
<gml:LinearRing></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
<gml:coordinates>409350,5709890 409350,5709910 409370,5709910
409370,5709890 409350,5709890</gml:coordinates></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
</gml:LinearRing></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
</gml:outerBoundaryIs></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
</gml:Polygon></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
</Intersects></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
</ogc:Filter></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><BR>Response</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><BR><?xml version="1.0"
encoding="ISO-8859-1" ?> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><wfs:FeatureCollection
xmlns:ms="<A href="http://mapserver.gis.umn.edu/mapserver"
moz-do-not-send="true">http://mapserver.gis.umn.edu/mapserver</A>"
xmlns:gml="<A href="http://www.opengis.net/gml"
moz-do-not-send="true">http://www.opengis.net/gml</A>" xmlns:wfs=<A
class=moz-txt-link-freetext
href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</A>
xmlns:ogc="<A href="http://www.opengis.net/ogc"
moz-do-not-send="true">http://www.opengis.net/ogc</A>" xmlns:xsi="<A
href="http://www.w3.org/2001/XMLSchema-instance"
moz-do-not-send="true">http://www.w3.org/2001/XMLSchema-instance</A>"
xsi:schemaLocation="<A href="http://mapserver.gis.umn.edu/mapserver"
moz-do-not-send="true">http://mapserver.gis.umn.edu/mapserver</A> <A
href="http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=folie001&OUTPUTFORMAT=text/xml"
moz-do-not-send="true">http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=folie001&OUTPUTFORMAT=text/xml</A>;
subtype=gml/3.1.1 <A href="http://www.opengis.net/wfs"
moz-do-not-send="true">http://www.opengis.net/wfs</A> <A
href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
moz-do-not-send="true">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</A>"
numberOfFeatures="4"></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial><gml:boundedBy></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><gml:Envelope
srsName="EPSG:25832"></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
<gml:lowerCorner>-1.000000 -1.000000</gml:lowerCorner>
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
<gml:upperCorner>-1.000000 -1.000000</gml:upperCorner>
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
</gml:Envelope></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
</gml:boundedBy></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial></wfs:FeatureCollection></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><BR>For more information you can
take a look at my MapFile and a part of the capabilities document returned
from the WFS below:</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><BR>MAP</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> NAME
"ku_testwfs"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> STATUS ON</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> SIZE 400
520</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> EXTENT 389965 5693582
420177 5732815</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> UNITS
METERS</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
PROJECTION</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"init=epsg:25832"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> END</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> SYMBOLSET
"/mapserver/symbols/symbols_alk.sym"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> FONTSET
"/mapserver/fonts/fonts.fnt"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> IMAGECOLOR 255 255
255</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> WEB</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
IMAGEPATH "/mapbender/mb262/http/tmp/"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
IMAGEURL "<A href="http://myserver/mapbender/tmp/"
moz-do-not-send="true">http://myserver/mapbender/tmp/</A>"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
METADATA</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"ows_onlineresource" "<A
href="http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map"
moz-do-not-send="true">http://myserver/cgi-bin/mapserv?map=/mapserver/mapfiles/u218768/ku_testwfs.map</A>"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"ows_title" "Liegenschaftskarte, Kreis Unna"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"ows_accessconstraints" "Nutzung nur für den Dienstgebrauch."</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"ows_abstract" "Flurstücksfolie der Liegenschaftskarte."</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"ows_contactperson" "Andreas Fischer"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"ows_contactorganization" "Kreis Unna"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"ows_contactposition" "Zentrale Datenverarbeitung,
Geodatenmanagement"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"wms_srs" "EPSG:25832 EPSG:31462 EPSG:31463 EPSG:31466 EPSG:31467
EPSG:4326"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"wms_feature_info_mime_type" "text/html"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"wfs_srs" "EPSG:25832"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
END #METADATA </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> END #WEB</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> LAYER</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
NAME "folie001"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
STATUS ON</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
TYPE POLYGON</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
DUMP TRUE</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
CONNECTIONTYPE postgis</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
CONNECTION "user=dbuser password=dbpassword dbname=dbname host=dbhost
port=dbport"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
DATA "the_geom from ku_view_folie001 USING UNIQUE objnr USING
SRID=25832"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
METADATA</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"ows_title" "Flurstücke" </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"wms_srs" "EPSG:25832 EPSG:31462 EPSG:31463 EPSG:31466 EPSG:31467
EPSG:4326" </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"wms_feature_info_mime_type" "text/html"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"wfs_srs" "EPSG:25832"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"wfs_extent" "389965 5693582 420177 5732815" </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"gml_include_items" "all"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
"gml_featureid" "objnr"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
END #METADATA</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
CLASS</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
NAME "Flurstücke"</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
STYLE</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
OUTLINECOLOR 0 0 0</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
WIDTH 1</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
END # STYLE</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial>
END # CLASS</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> END
#LAYER</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>END #MAPFILE</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>[…]</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>- <
FeatureTypeList></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>- <
Operations></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <Query />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>
</Operations></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-
<FeatureType></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>
<Name>folie001</Name> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>
<Title>Flurstücke</Title> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>
<SRS>EPSG:25832</SRS> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <LatLongBoundingBox
minx="389965" miny="5.69358e+06" maxx="420177" maxy="5.73282e+06" />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </FeatureType></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </FeatureTypeList></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-
<ogc:Filter_Capabilities></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-
<ogc:Spatial_Capabilities></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-
<ogc:Spatial_Operators></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Equals />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Disjoint />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Touches />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Within />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Overlaps />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Crosses />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Intersect />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Contains />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:DWithin />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:BBOX />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </ogc:Spatial_Operators></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </ogc:Spatial_Capabilities></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-
<ogc:Scalar_Capabilities></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Logical_Operators
/> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>-
<ogc:Comparison_Operators></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Simple_Comparisons
/> </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Like />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial> <ogc:Between />
</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </ogc:Comparison_Operators></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </ogc:Scalar_Capabilities></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </ogc:Filter_Capabilities></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2
face=Arial> </WFS_Capabilities></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><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.)</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Therefore I would be glad to hear
from you!</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><BR>Thanks so far and best
regards!</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Andreas</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><BR>Mit freundlichen
Grüßen</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Im Auftrag</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Andreas Fischer</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Kreis Unna - Der
Landrat</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Zentrale
Datenverarbeitung</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Friedrich-Ebert-Straße
17</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>59425 Unna</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Fon 02 3 03 27-44 16</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>Fax 0 23 03 27-28 96</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><A
href="mailto:andreas.fischer@kreis-unna.de"
moz-do-not-send="true">andreas.fischer@kreis-unna.de</A></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><A
href="http://www.kreis-unna.de"
moz-do-not-send="true">www.kreis-unna.de</A></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><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><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
mapserver-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A>
</PRE></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="72">--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: <A class=moz-txt-link-abbreviated href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</A>
<A class=moz-txt-link-freetext href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A>
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
</PRE></BLOCKQUOTE></BODY></HTML>