[Mapserver-users] need help with WFS
Daniel Morissette
dmorissette at dmsolutions.ca
Tue Jun 1 20:53:54 PDT 2004
Gregor Mosheh wrote:
>
> And got this:
>
> <?xml version='1.0' encoding="ISO-8859-1" ?>
> <wfs:FeatureCollection
> xmlns="http://www.ttt.org/myns"
> xmlns:myns="http://www.ttt.org/myns"
> xmlns:wfs="http://www.opengis.net/wfs"
> xmlns:gml="http://www.opengis.net/gml"
> xmlns:ogc="http://www.opengis.net/ogc"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/wfs
> ../wfs/1.0.0/WFS-basic.xsd
> http://www.ttt.org/myns
> http://wms.hostgis.com:800/mapserv?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=streets">
> <gml:boundedBy>
> <gml:null>inapplicable</gml:null>
> </gml:boundedBy>
> </wfs:FeatureCollection>
>
>
>
> I don't know what to make of that at all. For what it's worth, here is the
> WFS server's mapfile. It is configured to do both WMS and WFS. WMS
> supports works perfectly.
>
This cryptic output is produced when the GetFeature request has no
features to return. A WFS GetFeature request uses a MapServer query
internally so it requires a dummy template parameter for a layer to be
queryable. Try setting a dummy template value inside your layer's
default class and that should help.
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list