[Mapguide-trac] [mapguide-trac] #2053: WMS GETFEATUREINFO does not work with Gaia
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Jul 3 05:12:48 PDT 2012
#2053: WMS GETFEATUREINFO does not work with Gaia
-----------------------------+----------------------------------------------
Reporter: jng | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: WMS Interface | Version: 2.4.0
Severity: trivial | Keywords:
External_id: |
-----------------------------+----------------------------------------------
If you use Gaia to do a WMS GETFEATUREINFO for any layer served via WMS,
it will return back the following response:
{{{
<?xml version="1.0" encoding="UTF-8" ?>
<ServiceExceptionReport version="1.3.0"
xmlns="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException code="MissingInfoFormat">
The request must contain an INFO_FORMAT parameter to specify the format
of feature information (MIME type).
</ServiceException>
</ServiceExceptionReport>
}}}
This is because the GetFeatureInfo requests sent from Gaia does not
contain the INFO_FORMAT parameter.
If we take Gaia's word for it (being a correct WMS client), this would
imply that if an INFO_FORMAT parameter is not specified in the
GetFeatureInfo request, then a default value should be provided (text/xml
?)
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2053>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list