Filtering attributes in WFS?

Bart van den Eijnden (OSGIS) bartvde at OSGIS.NL
Sat Sep 23 00:41:03 PDT 2006


Hi Jeff,

in WFS it's possible, but Mapserver does not support it client-side, see 
for details:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=675

If you have some funding, it could finally be added though.

Alternatively, you can however set this server-side, look at 
gml_exclude_items in the WFS server howto. Also, if you want to exclude 
the geometry, in the 4.10 version you should be able to use:

  GML_GEOMETRIES "none"


Hope this helps.

Best regards,
Bart

Jeff Dege schreef:
> Looking again at my WFS queries, I'm seeing that one of the reasons they
> are taking so long is that some of them are returning a large amount of
> data.
>
> One, for example, is returning 7.5Meg of data.
>
> Is there a way, in WFS, to filter which attributes I want returned?
>
> To have it return only the feature's bounding box, and not it's
> geometry?
>
>
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the MapServer-users mailing list