[mapguide-users] WMS GetFeatureInfo Unsupported coordinate system code

Thomas M. Tuerke thomas.m.tuerke at autodesk.com
Fri Aug 11 14:08:04 EDT 2006


Hi Antonio,

Notepad++ is really great, isn't it? ;-)

The extra question mark in the 1.1.1.xml.awd is in fact innocuous (though incorrect) so I'm not surprised that removing it had no effect.  The LatLonBoundingBox.translate.xml definition is only used to build the GetCapabilities response, which I notice seems to work on your server, revealing 3 published layers.

http://201.139.35.10/mapguide/mapagent/mapagent.fcgi?REQUEST=GetCapabilities&SERVICE=WMS

That said, it looks like the bounds are *possibly* the default (are there <Bounds /> elements in the metadata published by Studio?)  I'd recommend putting in an explicit <Bounds SRS="EPSG:4326" ... /> even if it duplicates the current full world range.


-----Original Message-----
From: Antonio de la Peña [mailto:antonio_dlp at dsgmexico.com.mx] 
Sent: Thursday, August 10, 2006 6:56 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] WMS GetFeatureInfo Unsupported coordinate system code


I have managed to set up the WMS service correctly and I can see layer
images. 

Now when I request information I keep getting this error:

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\CoordinateSystem.cpp 

The request string I'm sending is this:

http://201.139.35.10/mapguide/mapagent/mapagent.fcgi?REQUEST=GetFeatureInfo&SERVICE=WMS&VERSION=1.1.1&LAYERS=SCT/Layers/Carreteras&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-104.706450805291,19.9223008154713,-102.902531372592,21.4064565528488&WIDTH=1117&HEIGHT=919&QUERY_LAYERS=SCT/Layers/Carreteras&X=509&Y=644

Previously I found an XML error in OgcWmsService.config.awd which I
referenced in  artifact MG348 (more info in
http://www.nabble.com/MapGuide-Open-1.0.1-and-WMS-problems-t2025055.html#a5568417)
so I thought the same would applay here and I scanned 1.1.1.xml.awd and
found a probable error in line 62, a question mark that shouldn't be there
and I removed but it had no effect.

Has anyone made GetFeatureInfo work with the latest release? Have you had
this problem too? Thank you
-- 
View this message in context: http://www.nabble.com/WMS-GetFeatureInfo-Unsupported-coordinate-system-code-tf2088287.html#a5755742
Sent from the OSGeo MapGuide forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org



More information about the Mapguide-users mailing list