[mapguide-users] wms: request=get... => save mapagent.fcgi

Walt Welton-Lair walt.welton-lair at autodesk.com
Tue Sep 5 13:19:02 EDT 2006

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.


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.




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]





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:


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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060905/96716426/attachment.html

More information about the Mapguide-users mailing list