[mapguide-users] wms: request=get... => save mapagent.fcgi
Walt Welton-Lair
walt.welton-lair at autodesk.com
Tue Sep 5 13:23:02 EDT 2006
Thanks - yes I got confused.
_____
From: Jason Birch [mailto:Jason.Birch at nanaimo.ca]
Sent: Tuesday, September 05, 2006 1:21 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] wms: request=get... => save mapagent.fcgi
I think you're thinking of the MapGuide API request rather than the OGC WMS request. The WMS request is GetMap (which I'm sure is internally translated into GetMapImage or something like that)
Jason
_____
From: Walt Welton-Lair [mailto:walt.welton-lair at autodesk.com]
Sent: Tuesday, September 05, 2006 10:19
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] wms: request=get... => save mapagent.fcgi
Actually GetMap returns a DWF EMap, and you need to have the DWF Viewer installed in order to view EMaps. GetMapImage is the request which uses the FORMAT parameter.
Walt
_____
From: Chris Claydon
Sent: Tuesday, September 05, 2006 12:57 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] wms: request=get... => save mapagent.fcgi
As dictated by the Open GIS Consortium's WMS spec, the default mime type returned for these requests is: application/vnd.ogc.wms_xml
A WMS client program should support this mime type. However your browser probably doesn't know what to do with it, and it prompts you to save the response to a file.
If you want to look at the capabilities in your browser, you can add an extra parameter to request a text/xml response instead. i.e.
http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&SERVICE=WMS&FORMAT=text/xml
A more complex approach would be to add the following registry key definition, so that your browser knows what to do with the original mime type (note that you should always back up your registry before making any modifications):
[HKEY_CLASSES_ROOT\Mime\Database\Content Type\application/vnd.ogc.wms_xml]
"CLSID"="{48123BC4-99D9-11D1-A6B3-00C04FD91555}"
"Extension"=".xml"
"Encoding"=hex:08,00,00,00
The GetMap request requires a mandatory format parameter, such as FORMAT=image/png. However if something goes wrong it will return an error message in application/vnd.ogc.wms_xml format. In such cases you can simply save the response to a file and open it with a text editor.
I hope this information helps.
Chris Claydon.
_____
From: Axel Dörr [mailto:a.doerr at doerrib.de]
Sent: martedì 5 settembre 2006 10.36
To: users at mapguide.osgeo.org
Subject: [mapguide-users] wms: request=get... => save mapagent.fcgi
Hello List,
when i send the following request to my server:
http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&SERVICE=WMS
i dont get the expected answer but i'm asked if want to open or save the mapagent.fcgi.
It is of course the same thing with getmap.
What's wrong?
I think i've seen this question already from someone else, but i can't find it anymore. Sorry for this.
Regards,
Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060905/030e75c9/attachment.html
More information about the Mapguide-users
mailing list