[Mapserver-users] DUMP GML output
Daniel Morissette
morissette at dmsolutions.ca
Mon Mar 24 11:51:43 PST 2003
Doug Cates wrote:
>
> 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.
>
I think this, or something along those lines would make lots of sense.
I have filed this in bugzilla so that we can discuss and decide on the
exact way that this should be implemented. Anyone interested please
comment via the bug report:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=300
> Strangely, DUMP doesn't seem to work unless a template is specified in a
> class of the layer.
This is not specific to GetFeatureInfo, it's the way MapServer works:
the presence or not of a template value is what decides if a layer/class
should be queryable.
> There does not seem to be a way to specify that a map
> query should respond in GML format only. I'd like to see the DUMP work
> independently of a template. Perhaps we should review the way that the
> GetFeatureInfo capabilities are determined from the map file.
>
Actually, setting the "wms_feature_info_mime_type" metadata to "NONE"
should disable the HTML GetFeatureInfo in the capabilities, see:
http://mapserver.gis.umn.edu/doc36/wms-server-howto.html#mime_type
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list