<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Just came to the same conclusion…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>;-)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName
w:st="on">Chris Claydon</st1:PersonName> <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, March 28, 2006
12:18 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">users@mapguide.osgeo.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapguide-users] RE:
Newbie Questions</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>The sample
request below contains an unwanted ampersand (&) directly after the
question mark (?). This probably interferes with the detection of the
“REQUEST” parameter.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>I tried
removing the ampersand (I also had to change “LAYERS=Zoning_2005”
to “LAYERS=Layers/Zoning_2005”) and I got back a valid, but empty
image, without being prompted for authentication.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>This is the
request I made:<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'><a
href="http://12.144.53.43/mapguide/mapagent/mapagent.fcgi?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=Layers/Zoning_2005&STYLES=default&FORMAT=image/gif&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-74.77294921875,40.613952441166596,-74.761962890625,40.622291783092706&WIDTH=256&HEIGHT=256&reaspect=false">http://12.144.53.43/mapguide/mapagent/mapagent.fcgi?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=Layers/Zoning_2005&STYLES=default&FORMAT=image/gif&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-74.77294921875,40.613952441166596,-74.761962890625,40.622291783092706&WIDTH=256&HEIGHT=256&reaspect=false</a></span></font><span
class=MsoHyperlink><u><font color=blue><o:p></o:p></font></u></span></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>Chris.</span></font><br>
<br>
----- Original Message ----<br>
From: Brian Flood <BFLOOD@SPATIALDATALOGIC.COM><br>
To: "<st1:PersonName w:st="on">users@mapguide.osgeo.org</st1:PersonName>"
<<st1:PersonName w:st="on">users@mapguide.osgeo.org</st1:PersonName>><br>
Sent: Tuesday, March 28, 2006 11:22:03 AM<br>
Subject: [mapguide-users] RE: Newbie Questions<o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>thanks<br>
<br>
yea, it does contain both a REQUEST and SERVICE parameter...<br>
<br>
I am just typing the request into the browser directly, I should get back<br>
the image like any other WMS service.<br>
<a
href="http://12.144.53.43/mapguide/mapagent/mapagent.fcgi?&REQUEST=GetMap&SERVICE"
target="_blank">http://12.144.53.43/mapguide/mapagent/mapagent.fcgi?&REQUEST=GetMap&SERVICE</a>=<br>
WMS&VERSION=1.1.1&LAYERS=Zoning_2005&STYLES=default&FORMAT=image/gif&BGCOLOR<br>
=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-74.77294921875,40.61395244116<br>
6596,-74.761962890625,40.622291783092706&WIDTH=256&HEIGHT=256&reaspect=false<br>
<br>
I've tried it without the "reaspect" parameter as well...<br>
<br>
this is from the Error log:<br>
<2006-03-28T14:10:04> Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.2;<br>
SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR
2.0.50727) 12.144.53.43<br>
<br>
Error: Session has expired or is invalid. Please log in again.<br>
StackTrace:<br>
- MgOpAuthenticate.Execute line 111 file<br>
c:\build_tux_area\mgdev\server\src\services\site\OpAuthenticate.cpp<br>
- MgSecurityManager.Authenticate line 227 file<br>
c:\build_tux_area\mgdev\server\src\common\manager\SecurityManager.cpp<br>
- MgSessionCache.GetSessionInfo line 157 file<br>
c:\build_tux_area\mgdev\server\src\common\manager\SessionCache.cppSession<br>
has expired or is invalid. Please log in again.<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Brian Flood <br>
Sent: Tuesday, March 28, 2006 1:42 PM<br>
To: '<st1:PersonName w:st="on">users@mapguide.osgeo.org</st1:PersonName>'<br>
Subject: Newbie Questions<br>
<br>
greetings<br>
<br>
<br>
<br>
just digging into mgos so please forgive the simple questions...<br>
<br>
<br>
<br>
got everything working on a Windows 2003 server. Imported data using the<br>
Autodesk Preview program (quite nice). Figured out how to enable WMS<br>
services and I can query the GetCapabilities file successfully.<br>
<br>
<br>
<br>
1) Whenever I try use the mapagent to make a WMS request (other then<br>
GetCapabilities) it requires a logon. I must be missing the simple setting<br>
to allow anonymous users access to WMS mapping...<br>
<br>
<br>
<br>
2) in the designer, is there an easy way to set the initial extent of a map<br>
to the full extent of any layer/feature class? There is handy link to make<br>
the initial extent the current exent of the preview map but nothing that<br>
would set it to the extent of any one layer inside the map. Also, I know my<br>
data is NAD83 SPC in NJ but it looks like the coords in the extent bounds<br>
for the data are wrong? any thoughts?<br>
<br>
<br>
<br>
cheers<br>
<br>
brian<br>
<br>
<br>
<br>
<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: users-unsubscribe@mapguide.osgeo.org<br>
For additional commands, e-mail: users-help@mapguide.osgeo.org<o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>