Output attributes from shape-file in WFS/GML response

Doug Cates doug at MOXIMEDIA.COM
Wed Oct 19 14:12:02 PDT 2005


Ethan,

Thanks. It is really the WMS GetFeatureInfo GML response that I want to 
suppress the geometry for. WFS should probably always return geometry. This 
relates to:

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

.... and since control of the attributes was done, I was hoping that control 
of the geometry was too. Many people want to publish WMS services without 
exposing their geometry.

I've always hacked mapgml.c myself to suppress the geometry, and was hoping 
that this would not be necessary any more.

All the best,
Doug

On Wednesday 19 October 2005 14:02, Ethan Alpert wrote:
> I don't think that's paret of the WFS spec...I've wanted something like
> this before and it's not available.
>
> -e
>
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu] On
> Behalf Of Doug Cates
> Sent: Wednesday, October 19, 2005 2:46 PM
> To: MAPSERVER-USERS at lists.umn.edu
> Subject: Re: [UMN_MAPSERVER-USERS] Output attributes from shape-file in
> WFS/GML response
>
>
> Tom,
>
> Do you know if there is a way to turn off the geometry section of the
> GML result?
>
> Doug
>
>
> On Fri, 7 Oct 2005 09:51:52 -0400, Kralidis,Tom [Burlington]
>
> <Tom.Kralidis at EC.GC.CA> wrote:
> >You have to set "gml_include_items" "all".  This is a new feature of
> >4.6.0, which turns off field output if not explicitly specified in your
> >
> >mapfile.
> >
> >PS -- this should really get documented for WMS-Server and WFS-Server.
> >
> >..Tom



More information about the MapServer-users mailing list