<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.18860"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN
class=991282213-19122017>Hi All,</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN
class=991282213-19122017></SPAN></FONT> </DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#000080 size=2 face=Arial>I have configured my first Geomoose v 3 pilot
project and got all working except a MapServer WFS layer search on a
PostGIS layer. I am using ms4w v 3.2.3 and the app package geomoose 3.1. I
have successfully added a firestation WFS search to the desktop demo </FONT><A
href="http://localhost/gm3/desktop/index.html"><FONT size=2
face=Arial>http://localhost/gm3/desktop/index.html</FONT></A><FONT color=#000080
size=2 face=Arial> following the instructions at </FONT><A
href="http://geomoose.github.io/gm3/howto/add-search.html"><FONT size=2
face=Arial>http://geomoose.github.io/gm3/howto/add-search.html</FONT></A><FONT
color=#000080 size=2 face=Arial> .</FONT></SPAN></SPAN></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=991282213-19122017><SPAN
class=125113115-05012018>Now I have used MapServer WMS for many years but this
is the first time I am using WFS; so am a bit lost of how to debug my own custom
layers search in Geomoose.<BR>In a copy of the desktop app I added my own data
and so on but the search on one parcel layer I have added (a MapServer WFS
layer drawn from PostGIS) returns no errors but empty gml results.
</SPAN></SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=991282213-19122017><SPAN
class=125113115-05012018></SPAN></SPAN></FONT> </DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#000080 size=2 face=Arial>The request I can see is
</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT size=2
face=Arial><A
href="http://localhost/cgi-bin/mapserv.exe?MAP=c:/data/mapfiles/mechernich.map&typename=ms:flurstueck_wfs">http://localhost/cgi-bin/mapserv.exe?MAP=c:/data/mapfiles/mechernich.map&typename=ms:flurstueck_wfs</A></FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#000080 size=2 face=Arial>plus the post
params</FONT></SPAN></SPAN></DIV><SPAN class=991282213-19122017><SPAN
class=125113115-05012018><FONT color=#0000ff>
<DIV>
<TABLE role=tree tabIndex=0 aria-label="" class=treeTable
aria-activedescendant="/Query string" cellSpacing=0 cellPadding=0>
<TBODY role=presentation>
<TR aria-expanded=true role=treeitem aria-selected=false aria-level=1
id="/Query string/MAP" class="treeRow stringRow opened">
<TD role=presentation class=treeLabelCell
style="padding-inline-start: 16px"><SPAN role=presentation
class="treeIcon open"></SPAN><SPAN class="treeLabel stringLabel"
aria-labelledby=default data-level="1"><FONT color=#800000 size=2
face="Courier New">MAP</FONT></SPAN></TD>
<TD role=presentation class="treeValueCell stringCell"><SPAN
aria-labelledby=value><SPAN class="objectBox objectBox-string"><FONT
face="Courier New"><FONT color=#800000
size=2>c:/data/mapfiles/mechernich.map</FONT></FONT></SPAN></SPAN></TD></TR>
<TR aria-expanded=true role=treeitem aria-selected=false aria-level=1
id="/Query string/typename" class="treeRow stringRow opened">
<TD role=presentation class=treeLabelCell
style="padding-inline-start: 16px"><SPAN role=presentation
class="treeIcon open"></SPAN><SPAN class="treeLabel stringLabel"
aria-labelledby=default data-level="1"><FONT face="Courier New"><FONT
size=2><FONT color=#800000>typename<SPAN class=125113115-05012018><FONT
face=Arial>
</FONT></SPAN></FONT></FONT></FONT></SPAN></TD>
<TD role=presentation class="treeValueCell stringCell"><SPAN
aria-labelledby=value><SPAN class="objectBox objectBox-string"><FONT
color=#800000 size=2
face="Courier New">ms:flurstueck_wfs</FONT></SPAN></SPAN></TD></TR></TBODY></TABLE></DIV>
<DIV></FONT></SPAN></SPAN><SPAN class=125113115-05012018><FONT color=#800000
size=2 face="Courier New"> </FONT></SPAN></DIV>
<DIV><SPAN class=125113115-05012018><FONT color=#800000 size=2
face="Courier New"><GetFeature xmlns="</FONT><A
href="http://www.opengis.net/wfs"><FONT color=#800000 size=2
face="Courier New">http://www.opengis.net/wfs</FONT></A><FONT color=#800000
size=2 face="Courier New">" service="WFS" version="1.1.0"
outputFormat="text/xml; subtype=gml/2.1.2" xsi:schemaLocation="</FONT><A
href="http://www.opengis.net/wfs"><FONT color=#800000 size=2
face="Courier New">http://www.opengis.net/wfs</FONT></A><FONT color=#800000
size=2 face="Courier New"> </FONT><A
href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"><FONT color=#800000 size=2
face="Courier New">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</FONT></A><FONT
color=#800000 size=2 face="Courier New">" xmlns:xsi="</FONT><A
href='http://www.w3.org/2001/XMLSchema-instance"><Query'><FONT color=#800000
size=2
face="Courier New">http://www.w3.org/2001/XMLSchema-instance"><Query</FONT></A><FONT
color=#800000 size=2 face="Courier New"> typeName="ms:flurstueck_wfs"
srsName="EPSG:4326"><Filter xmlns="</FONT><A
href='http://www.opengis.net/ogc"><PropertyIsLike'><FONT color=#800000 size=2
face="Courier New">http://www.opengis.net/ogc"><PropertyIsLike</FONT></A><FONT
color=#800000 size=2 face="Courier New"> wildCard="*" singleChar="."
escapeChar="!"
matchCase="false"><PropertyName>lagebezeichnung</PropertyName><Literal>*Auf*</Literal></PropertyIsLike></Filter></Query></GetFeature></FONT></SPAN></DIV>
<DIV><SPAN class=125113115-05012018><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=125113115-05012018><FONT color=#000080 size=2
face=Arial> </FONT></SPAN></DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#000080 size=2 face=Arial>The response gives me an empty bounding box and
feature collection (when there are many objects that should be found using the
string "Auf" - tried it with a postgres SQL query that gave me > 2200
results):</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#0000ff size=2 face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#0000ff><FONT color=#800000 size=2 face="Courier New"><?xml
version='1.0' encoding="UTF-8"
?><BR><wfs:FeatureCollection<BR> xmlns:ms="</FONT><A
href="http://mapserver.gis.umn.edu/mapserver"><FONT color=#800000 size=2
face="Courier New">http://mapserver.gis.umn.edu/mapserver</FONT></A><FONT
color=#800000 size=2 face="Courier New">"<BR> xmlns:wfs="</FONT><A
href="http://www.opengis.net/wfs"><FONT color=#800000 size=2
face="Courier New">http://www.opengis.net/wfs</FONT></A><FONT color=#800000
size=2 face="Courier New">"<BR> xmlns:gml="</FONT><A
href="http://www.opengis.net/gml"><FONT color=#800000 size=2
face="Courier New">http://www.opengis.net/gml</FONT></A><FONT color=#800000
size=2 face="Courier New">"<BR> xmlns:ogc="</FONT><A
href="http://www.opengis.net/ogc"><FONT color=#800000 size=2
face="Courier New">http://www.opengis.net/ogc</FONT></A><FONT color=#800000
size=2 face="Courier New">"<BR> xmlns:xsi="</FONT><A
href="http://www.w3.org/2001/XMLSchema-instance"><FONT color=#800000 size=2
face="Courier New">http://www.w3.org/2001/XMLSchema-instance</FONT></A><FONT
color=#800000 size=2 face="Courier New">"<BR>
xsi:schemaLocation="</FONT><A href="http://www.opengis.net/wfs"><FONT
color=#800000 size=2
face="Courier New">http://www.opengis.net/wfs</FONT></A><FONT color=#800000
size=2 face="Courier New"> </FONT><A
href="http://schemas.opengis.net/wfs/1.1.0/WFS-basic.xsd"><FONT color=#800000
size=2
face="Courier New">http://schemas.opengis.net/wfs/1.1.0/WFS-basic.xsd</FONT></A><FONT
color=#800000 size=2 face="Courier New">
<BR>
</FONT><A href="http://mapserver.gis.umn.edu/mapserver"><FONT color=#800000
size=2 face="Courier New">http://mapserver.gis.umn.edu/mapserver</FONT></A><FONT
color=#800000 size=2 face="Courier New"> </FONT><A
href="http://localhost/cgi-bin/mapserv?map=C:/data/mapfiles/mechernich.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=ms:flurstueck_wfs&OUTPUTFORMAT=XMLSCHEMA"><FONT
color=#800000 size=2
face="Courier New">http://localhost/cgi-bin/mapserv?map=C:/data/mapfiles/mechernich.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=ms:flurstueck_wfs&OUTPUTFORMAT=XMLSCHEMA</FONT></A><FONT
color=#800000 size=2 face="Courier New">"><BR>
<gml:boundedBy><BR>
<gml:null>missing</gml:null><BR>
</gml:boundedBy><BR></wfs:FeatureCollection></FONT><BR></FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#0000ff size=2 face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#000080 size=2 face=Arial>I have tried to include all that is needed in
the mapsertver layers see below (even changed the data tag to a sub select to
make sure all atributes are retrieved for sure ...</FONT></SPAN></SPAN></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=991282213-19122017><SPAN
class=125113115-05012018></SPAN></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=991282213-19122017><SPAN
class=125113115-05012018></SPAN></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=991282213-19122017><SPAN
class=125113115-05012018>Would anyone have suggestions how to debug
this ?</SPAN></SPAN></FONT></DIV>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018>
<DIV><SPAN class=991282213-19122017><SPAN class=125113115-05012018><FONT
color=#000080 size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=991282213-19122017><FONT color=#000080 size=2 face=Arial><SPAN
class=991282213-19122017>Cheers</SPAN></FONT></SPAN></SPAN></SPAN></SPAN></SPAN></DIV></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN
class=991282213-19122017>Karsten</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial></FONT> </DIV>
<DIV align=left>
<DIV><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Verdana','sans-serif'"><FONT
color=#000080 size=2 face=Arial>Karsten Vennemann<BR></FONT></SPAN><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'"><FONT color=#000080
size=2 face=Arial>Principal<BR><BR></FONT><SPAN style="COLOR: #003264"><FONT
color=#000080 size=2 face=Arial>Terra GIS LTD<BR></FONT><A
title="http://www.terragis.net/
blocked::http://www.terragis.net/"
href="http://www.terragis.net"><FONT title=http://www.terragis.net/ size=2
face=Arial>www.terragis.net</FONT></A><SPAN class=125113115-05012018><FONT
color=#0000ff size=2 face=Arial> </FONT></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'"><SPAN
style="COLOR: #003264"><SPAN
class=125113115-05012018></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'"><SPAN
style="COLOR: #003264"><SPAN
class=125113115-05012018></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'"><SPAN
style="COLOR: #003264"><SPAN class=125113115-05012018><FONT
face="Courier New"><FONT color=#800000><FONT size=2>------------------- in map
file</FONT> <FONT size=2>
---------------</FONT></FONT></FONT></SPAN></SPAN></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'"><SPAN
style="COLOR: #003264"><SPAN class=125113115-05012018><FONT color=#800000 size=2
face="Courier New"></FONT></SPAN></SPAN></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'"><SPAN
style="COLOR: #003264"><SPAN class=125113115-05012018><FONT color=#800000 size=2
face="Courier New"> LAYER<BR> CONNECTION "dbname='gisme'
host=localhost port=5432 user='postgres' password='postgres'
sslmode=disable"<BR> CONNECTIONTYPE
POSTGIS<BR> DATA 'wkb_geometry FROM (select * from
"public"."gm_ax_flurstueck_geo") as foo USING UNIQUE fid USING
srid=25832'<BR> EXTENT 324008.5625 5598582 343287.6875
5614541<BR> METADATA<BR>
"gml_include_items" "all" <BR>
"ows_extent" "324008.5625 5598582.0 343287.6875
5614541.0"<BR> "ows_srs" "EPSG:25832
EPSG:3857 EPSG:900913 EPSG:4326" <BR>
"ows_title" "flurstueck_wfs"<BR>
"wms_bbox_extended" "true"<BR>
"gml_include_items" "all" <BR>
"wfs_title" "flusstuecke_wfs"
##REQUIRED<BR>
"gml_featureid" "ogc_fid" ##
REQUIRED<BR> "wfs_enable_request" "*"
<BR> 'ows_srs' 'EPSG:25832 EPSG:4326 EPSG:3857
EPSG:900913'<BR> 'wfs_srs' 'EPSG:25832 EPSG:4326
EPSG:3857 EPSG:900913'<BR>
'wms_feature_info_mime_type' 'application/json' <BR> END #
METADATA<BR> TEMPLATE 'dummy'<BR> NAME
"flurstueck_wfs"<BR>
PROJECTION<BR>
"init=epsg:25832"<BR> END # PROJECTION<BR>
STATUS OFF<BR> TILEITEM "location"<BR> TYPE
POLYGON<BR> UNITS METERS<BR>
CLASS<BR> NAME
"Flurstueck"<BR>
STYLE<BR> COLOR 249 250
255<BR> OPACITY
0<BR> END #
STYLE<BR>
STYLE<BR> OUTLINECOLOR 187 142
142<BR> WIDTH
0.982677<BR> END # STYLE<BR> END
# CLASS<BR> END # LAYER</FONT></SPAN></SPAN></SPAN><o:p></o:p></DIV>
<DIV align=left>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #003264"></SPAN> </P></DIV></DIV>
<DIV> </DIV></BODY></HTML>