[mapserver-users] WFS Layers and Groups

Daniel Morissette dmorissette at mapgears.com
Fri Jun 3 09:00:17 EDT 2011


On 11-06-03 05:21 AM, SixDegrees wrote:
> When I add 'GROUP [group_name]' to a layer and load the mapfile in QGis as a
> WMS project, layers are grouped into drop-down lists by group_name.
>
> When I try to do the same thing using WFS, the layers are displayed as a
> single list; no group names appear.
>
> What am I missing? I believe there is something wrong with my MapServer
> configuration, but I don't know what it is.
>

Nothing wrong with your MapServer config. Unless I'm mistaken, the WFS 
1.1.0 spec does not allow nesting of layers (called FeatureTypes in WFS 
lingo)... WFS only allows for a flat list of FeatureTypes.

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



More information about the mapserver-users mailing list