<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
 <meta http-equiv='Content-Type' content='text/html;charset=us-ascii'>
 <style>BODY{font:10pt Tahoma, Verdana, sans-serif;}</style>
</head>
<body>
I compared your not working mapfile with one i'm using that is working. Some suggestions:<br>
- add in you map/web/metadata a "wfs_extent"<br>
- add a EXTENT to your layer<br><br>Roy<br><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><hr><b>From:</b> DeDuikertjes [mailto:DeDuikertjes@xs4all.nl]<br><b>To:</b> mapserver-users@lists.osgeo.org<br><b>Sent:</b> Wed, 24 Jun 2009 16:29:24 +0200<br><b>Subject:</b> Re: [mapserver-users] WFS returning empty features<br><br>List,<br>
<br>
To help on debugging I've forced an error in the postgis connection te <br>
see the actual query. This is:<br>
<br>
'DECLARE mycursor BINARY CURSOR FOR SELECT <br>
asbinary(force_collection(force_2d(tc_vlak_geometry)),'NDR'),geoidn::text <br>
from "NL.IMRO.0026.SVBBU-0001x" WHERE <br>
(geoidn='geoidNL.IMRO.0026.SVBBU-0001') and (tc_vlak_geometry &amp;&amp; <br>
setSRID( 'BOX3D(140016 460631,166758 490080)'::BOX3D,28992) )'<br>
<br>
I've also got rid off all destracting details so I've ended up with the <br>
mapfile on the end of this message.<br>
<br>
MArco<br>
<br>
MAP<br>
    NAME "NL.IMRO.0026.SVBBU-0001"<br>
    IMAGETYPE png<br>
    UNITS METERS<br>
    EXTENT 140016 460631 166758 490080<br>
    PROJECTION<br>
       "init=epsg:28992"<br>
    END<br>
   <br>
    WEB   <br>
        METADATA<br>
                "ows_title"           "NL.IMRO.0026.SVBBU-0001"<br>
                "wms_onlineresource"  <br>
"<a href="http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001-test.map&amp;%22" target="_blank">http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001-test.map&amp;"</a><br>
            "wfs_onlineresource"  <br>
"<a href="http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001-test.map&amp;%22" target="_blank">http://tercera-go.tercera-ro.nl/cgi-bin/mapserv?map=../html/plancheck_test/data/80.101.100.35_check/NL.IMRO.0026.SVBBU-0001/wkt/NL.IMRO.0026.SVBBU-0001-test.map&amp;"</a><br>
<br>
            "wfs_srs"               "EPSG:28992"<br>
            "wms_srs"               "EPSG:28992"<br>
        END<br>
    END<br>
LAYER<br>
    name "geoidNL.IMRO.0026.SVBBU-0001_vlak"<br>
<br>
    PROJECTION<br>
       "init=epsg:28992"<br>
    END<br>
<br>
   <br>
    METADATA<br>
            "ows_title"           "geoidNL.IMRO.0026.SVBBU-0001_vlak"<br>
        "gml_include_items"     "geoidn,idealisatie"<br>
        #"gml_featureid"     "geoidn"<br>
        "wfs_featureid"    "geoidn"<br>
        "wfs_extent"        "140016 460631 166758 490080"<br>
       <br>
        END<br>
<br>
    STATUS on<br>
    TYPE polygon<br>
    DUMP true<br>
<br>
    CONNECTIONTYPE postgis<br>
    CONNECTION "host=localhost user=tc_check dbname=80.101.100.35"<br>
    DATA 'tc_vlak_geometry from "NL.IMRO.0026.SVBBU-0001" using unique <br>
geoidn using srid=28992'<br>
    FILTER "geoidn='geoidNL.IMRO.0026.SVBBU-0001'"<br>
   <br>
    TEMPLATE "dummy.html"<br>
    CLASS<br>
        STYLE<br>
                COLOR 0 0 0<br>
                OUTLINECOLOR 255 0 0<br>
        END<br>
    END<br>
END<br>
<br>
<br>
END<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote><style>
</style>
</body></html>