Output

After a successful GetFeatureInfo request, the service returns a GetFeatureInfo response. A GetFeatureInfo response is an XML file. The returned file includes information about the layers in the map, the queryable attributes of those layers, and the bounding box and SRS information of the map.


<MultiFeatureCollection xmlns:mxp="http://www.mapinfo.com/mxp">
 <FeatureCollection>
  <FeatureCollectionMetaData>
   <AttributeDefinitionSet>
    <GeometryAttributeDefinition id="Obj" name="Obj" srsName="EPSG:4326" use="feature" styleRef="MI_Style"/>
    <StyleAttributeDefinition id="MI_Style" name="MI_Style" ref="Obj" use="feature"/>
    <ValueAttributeDefinition id="Country" name="Country" type="mapinfo:type string 50"/>
    <ValueAttributeDefinition id="Capital" name="Capital" type="mapinfo:type string 20"/>
    <ValueAttributeDefinition id="Continent" name="Continent" type="mapinfo:type string 30"/>
    <ValueAttributeDefinition id="Numeric_code" name="Numeric_code" type="mapinfo:type int"/>
    <ValueAttributeDefinition id="FIPS" name="FIPS" type="mapinfo:type string 2"/>
    ...
   </AttributeDefinitionSet>
   <DefaultAttributeStyleSet/>
  </FeatureCollectionMetaData>
 </FeatureCollection>
</MultiFeatureCollection>