<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Garamond;
}
@font-face {
        font-family: Verdana;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
SPAN.tx1 {
        FONT-WEIGHT: bold
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=blue link=blue leftMargin=5 topMargin=5>
<DIV dir=ltr align=left><SPAN class=968282217-05092006><FONT face=Arial
color=#0000ff size=2>Thanks - yes I got confused.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Jason Birch
[mailto:Jason.Birch@nanaimo.ca] <BR><B>Sent:</B> Tuesday, September 05, 2006
1:21 PM<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B> RE:
[mapguide-users] wms: request=get... => save
mapagent.fcgi<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=417222017-05092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=417222017-05092006><FONT face=Arial
color=#0000ff size=2>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)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=417222017-05092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=417222017-05092006><FONT face=Arial
color=#0000ff size=2>Jason</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Walt Welton-Lair
[mailto:walt.welton-lair@autodesk.com] <BR><B>Sent:</B> Tuesday, September 05,
2006 10:19<BR><B>To:</B> users@mapguide.osgeo.org<BR><B>Subject:</B> RE:
[mapguide-users] wms: request=get... => save
mapagent.fcgi<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left>
<DIV dir=ltr align=left><SPAN class=953011317-05092006><FONT face=Arial><FONT
color=#0000ff><FONT size=2>Actually GetMap returns a DWF EMap<SPAN
class=671021417-05092006>, and yo</SPAN>u need to have the DWF Viewer installed
in order to view EMaps<SPAN
class=671021417-05092006>. </SPAN></FONT></FONT></FONT></SPAN><SPAN
class=953011317-05092006><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=671021417-05092006>GetMapImage is the request which uses the FORMAT
parameter.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953011317-05092006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=671021417-05092006></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=953011317-05092006><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=671021417-05092006>Walt</SPAN></FONT></FONT></FONT></SPAN></DIV></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Chris Claydon <BR><B>Sent:</B> Tuesday,
September 05, 2006 12:57 PM<BR><B>To:</B>
users@mapguide.osgeo.org<BR><B>Subject:</B> RE: [mapguide-users] wms:
request=get... => save mapagent.fcgi<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">As dictated by the Open
GIS Consortium’s WMS spec, the default mime type returned for these requests is:
</SPAN></FONT><SPAN class=tx1><B><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">application/vnd.ogc.wms_xml<o:p></o:p></SPAN></FONT></B></SPAN></P>
<P class=MsoNormal><SPAN class=tx1><B><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></B></SPAN></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Garamond color=black size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Garamond"><A
href="http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&SERVICE=WMS&FORMAT=text/xml">http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&SERVICE=WMS&FORMAT=text/xml</A><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Garamond color=black size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Garamond"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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 (<B><SPAN
style="FONT-WEIGHT: bold">note that you should always back up your registry
before making any modifications</SPAN></B>):<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Garamond color=black size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Garamond"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">[HKEY_CLASSES_ROOT\Mime\Database\Content
Type\application/vnd.ogc.wms_xml]<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">"CLSID"="{48123BC4-99D9-11D1-A6B3-00C04FD91555}"<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">"Extension"=".xml"<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">"Encoding"=hex:08,00,00,00<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I hope this information
helps.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Chris
Claydon.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Axel Dörr
[mailto:a.doerr@doerrib.de] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> martedì 5 settembre 2006
10.36<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
users@mapguide.osgeo.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [mapguide-users] wms:
request=get... => save mapagent.fcgi</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face=Garamond color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Garamond"><BR><BR></SPAN></FONT><FONT
face=Garamond color=black><SPAN
style="COLOR: black; FONT-FAMILY: Garamond">Hello List,<BR><BR>when i send the
following request to my server:<BR><BR><A
href="http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&SERVICE=WMS">http://.../mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES&SERVICE=WMS</A><BR><BR>i
dont get the expected answer but i'm asked if want to open or save the
mapagent.fcgi.<BR>It is of course the same thing with getmap.<BR><BR>What's
wrong?<BR><BR>I think i've seen this question already from someone else, but i
can't find it anymore. Sorry for
this.<BR><BR>Regards,<BR><BR>Axel</SPAN></FONT><FONT face=Arial color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P></DIV></DIV></BODY></HTML>