Output attributes from shape-file in WFS/GML response

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Thu Oct 20 09:04:57 EDT 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.
> 

WMS 1.1.1 (section 7.3.1) leaves the GetFeatureInfo result pretty loose,
so I don't see any issue w.r.t. the allowance of suppressing geometries
in the response.

MapServer-wise, have you thought about contributing this to to
developers?  Perhaps along with a WEB/METADATA flag like:

"wms_feature_info_geometry"  "0"

Default being "1", or "on".

..Tom



More information about the mapserver-users mailing list