[mapguide-users] GetFeatureInfo
Chris Claydon
chris.claydon at autodesk.com
Thu Oct 5 12:43:12 EDT 2006
Hi Marianna,
The problem is that the code that supports WMS GetFeatureInfo requests
is looking for the parameter "CRS" and not "SRS" (Version 1.3.0 of the
WMS spec uses "CRS", but earlier versions use "SRS"). This is a bug, and
is described in artifact MG398. It was fixed in the trunk code stream on
September 19th, and in the 1.0.x branch on September 20th. GetMap
already supports either CRS or SRS, which is why it works even when
GetFeatureInfo fails.
So you have a few options...
If you are able to use CRS instead of SRS, then it should work.
If you are using a third-party application, and it is not possible to
change the parameter name, you could rebuild from the latest source
code, and then SRS should work.
If you do not wish to retrieve the latest code from the subversion
vault, you can wait for the 1.0.2 release, which will include the bug
fix, and should be posted next week.
Chris Claydon.
_____
From: Marianna Carbone [mailto:carbone at planetek.it]
Sent: October 5, 2006 10:04 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] GetFeatureInfo
Hi!
I have problem to send to Mapguide GetFeatureInfo request.
WMS request is:
http://localhost/mapguide/mapagent/mapagent.fcgi?&VERSION=1.1.1&REQUEST=
GetFeatureInfo&WIDTH=793&HEIGHT=447&TRANSPARENT=TRUE&LAYERS=Dati/com&BBO
X=353965,4610465,374529,4622056&EXCEPTIONS=application/vnd.ogc.se_xml&FO
RMAT=image/png&QUERY_LAYERS=Dati/com&FEATURE_COUNT=10000&X=281&Y=205&SRS
=EPSG:32633
The request returns this message:
The coordinate system conversion failed. Unsupported coordinate system
code.
The coordinate system conversion failed. Unsupported coordinate system
code. Exception occurred in method
MgCoordinateSystem.ConvertCoordinateSystemCodeToWkt at line 950 in file
c:\build_tux_area\mgdev_opensource\common\service\coordinatesystem\Coord
inateSystem.cpp
GetCapabilities and GetMap work as expected.
I have posted mapping from EPSG:32633 to a WKT string into
OgcWmsService.config.awd file.
What can I do?
Thank you!
Marianna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20061005/54b86ee8/attachment.html
More information about the Mapguide_users
mailing list