Opened 21 years ago

Last modified 13 years ago

#300 closed enhancement

[WMS] Extend behavior of DUMP mapfile parameter for GML output — at Initial Version

Reported by: dmorissette Owned by: dmorissette
Priority: high Milestone: 6.0 release
Component: WMS Server Version: 4.1
Severity: minor Keywords:
Cc: pspencer@…, havard.tveite@…, doug@…

Description

Doug Cates wrote:
> 
> I'm using MapServer 3.6.4 as a WMS server, and it is working very well. For
> the GetFeatureInfo request, I'm asking for the info in format
> "application/vnd.ogc.gml", which works fine if "DUMP true" is added to the
> map file for each queryable layer. The result returns attribute values and
> geometry.
> 
> I'm asking for it this way so I can process the XML response, move the
> values into a recordset, and use the results in my application in a number
> of ways. Most of the time, I don't need the geometry. Since the geometry can
> be quite large, it wastes a lot of bandwidth and time when I don't need it.
> I'd like some way of turning the geometry off when it isn't required, or
> when I don't care to expose the geometry to other users of my services.
> 
> I propose that the DUMP directive be extended, with more options than true
> or false. Something like:
> 
> DUMP true
> Outputs all attribute fields and geometry.
> 
> DUMP false
> Disable GML output.
> 
> DUMP attributes
> Outputs attribute fields only (no geometry).
> 
> DUMP "field1,field2,...."
> Outputs specified fields only. Output geometry only if geometry/shape field
> name included.
>

Change History (0)

Note: See TracTickets for help on using tickets.