[mapguide-users] checking wms connections
joanne cook
j.cook at oxfordarch.co.uk
Tue Nov 14 03:57:53 EST 2006
Hi Andy,
Thanks for the quick response. The GetCapabilities request gives me what seems to be a perfectly valid xml file (attached, hopefully). At first I had a lot of trouble with the attached wmsclient.html, but then I realised that on it's way over the email it had been butchered by network antivirus scanners. All the form code had been prefixed defang_html, and the javascript had been commented out. Once I'd resolved that, then I got a valid GetMap request from both the Sheboygan and my own data. Thanks!
Now I just have to figure out how to get it working with OpenLayers- which still doesn't seem to work.
All the best
Jo
-------------------------------------------
Joanne Cook BSc MLitt AIFA MBCS
Information Systems Coordinator
Oxford Archaeology North
-------------------------------------------
________________________________
From: Andy Morsell [mailto:amorsell at spatialgis.com]
Sent: Mon 13/11/2006 16:29
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] checking wms connections
What do you get from this?
http://localhost:8008/mapguide/mapagent/mapagent.fcgi?REQUEST=GetCapabilitie
s&SERVICE=WMS&FORMAT=text/xml
Also attached is an email from Thomas Tuerke from July that has handy little
wms client test page in it. I hope it comes through on the email list.
Andy
-----Original Message-----
From: joanne cook [mailto:j.cook at oxfordarch.co.uk]
Sent: Monday, November 13, 2006 7:40 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] checking wms connections
Hi All,
I am trying to make a wms connection to some layers in my MapGuide
OpenSource 1.0.2 map. I can't connect to my own, and assume there's some
kind of problem with the conversion from a different coordinate system, as
seems to have been discussed at length on this list, so I thought I'd better
try the Sheboygan data first. All I am trying to do is connect to the data
in Firefox 2, using the following URL:
http://localhost:8008/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&VERSION=1.
1.1&REQUEST=GetMap&LAYERS=Samples/Sheboygan/Layers/Buildings&FORMAT=image/pn
g
This gives me the following message:
An unclassified exception occurred.
An unclassified exception occurred. Exception occurred in method
MgHttpWmsGetMap.Execute at line 204 in file
c:\build_tux_area\mgdev_opensource\web\src\httphandler\HttpWmsGetMap.cpp
If I remove any of the parameters I get an xml document back that tells me I
don't have all the parameters I need. A GetCapabilities request seems to
validate as far as I can tell...
The end result of all of this is that I want to be able to use my MapGuide
Open Source data in OpenLayers, but needless to say that doesn't work at all
at the moment either!
Many thanks
Jo
-------------------------------------------
Joanne Cook BSc MLitt AIFA MBCS
Information Systems Coordinator
Oxford Archaeology North
-------------------------------------------
This message has been scanned for viruses by BlackSpider MailControl -
www.blackspider.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getcapabilities.xml
Type: text/xml
Size: 7251 bytes
Desc: getcapabilities.xml
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061114/4f99e36e/getcapabilities.xml
More information about the Mapguide-users
mailing list