26
|
Chapter 2
Understanding Requests
Interpreting Responses to a feature_info
Request
The response to a feature_info request is an XML document that encodes the
selected features by using
gmlfeature.dtd
and
gmlgeometry.dtd
taken from the
OGC recommendation for GML.
“feature_info Response DTDs” on page 28 contains a portions of
gmlfeature.dtd
and
gmlgeometry.dtd
. Both DTDs (document type definitions)
have been simplified for use in this document. Autodesk MapGuide LiteView
formats its responses according to these DTDs.
The response to a feature_info request should be set to the MIME type
text/xml. The following table describes the elements of a response:
Coordinate data is displayed only if the authored map references spatial data
resources that are not password-protected.
Note
Multipolygons are returned with each boundary marked as an
outerBoundary, regardless of its relationship to other boundaries.
Response to a feature_info Request
Element
Attribute
Setting
<FeatureCollection>
typeName
“FeatureInfo”
<Feature>
typeName
The <MWFName>/<LayerNameInMWF>
or <GroupNameInMWF> that holds the
identified feature
<Feature>
identifier
The Autodesk MapGuide feature key
<name> within <Feature>
—
The Autodesk MapGuide feature name
<property>
typeName
type
The Autodesk MapGuide feature URL,
encoded as
<hyperlink>
The Autodesk MapGuide feature URL,
encoded as
<string>
<geometricProperty>
typeName
"geometry"
Содержание 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6
Страница 1: ...April 2004 Autodesk MapGuide LiteView Developer s Guide ...
Страница 12: ...8 Chapter 1 Introduction ...
Страница 38: ...34 Chapter 2 Understanding Requests ...
Страница 90: ...86 Chapter 4 Configuring and Using the Sample Applications ...