id summary reporter owner description type status priority milestone component version severity resolution keywords cc 300 [WMS] Extend behavior of DUMP mapfile parameter for GML output dmorissette dmorissette "{{{ 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. > }}}" enhancement closed high 6.0 release WMS Server 4.1 minor fixed pspencer@… havard.tveite@… doug@…