<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=iso-8859-1">
<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="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
@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;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Trebuchet MS";
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@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="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Albert,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>If you end up
frustrated with the URL approach then try adding an ID to your form and adding
a body onload event to submit the form:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>&lt;html&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>&lt;body
onload=javascript:document.f.submit();&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>            &lt;form
id=f name=f method=get action=&quot;/cgi-bin/mapserv&quot;&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>                        &lt;!--
form elements here --&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>            &lt;/form&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>&lt;/body&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>&lt;/html&gt;<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>David Lowther</span></font><o:p></o:p></p>

</div>

<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'> UMN MapServer
Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Albert Anderson<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, August 03, 2006
10:23 AM<br>
<b><span style='font-weight:bold'>To:</span></b> MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [UMN_MAPSERVER-USERS]
how do I get rid of clicking the button and loading it my html? {Scanned}
{Scanned}</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>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Manfred,<br>
<br>
&nbsp;Yup your right with the button.&nbsp; Here is the code for the initializa
button<br>
<br>
&lt;html&gt;<br>
&nbsp; &lt;head&gt;&lt;title&gt;<st1:place w:st="on"><st1:PlaceName w:st="on">Mapserver</st1:PlaceName>
 <st1:PlaceName w:st="on">Richland</st1:PlaceName> <st1:PlaceType w:st="on">County</st1:PlaceType></st1:place>&lt;/title&gt;&lt;/head&gt;<br>
&lt;body&gt;<br>
&nbsp; &lt;form method=GET action=&quot;/cgi-bin/mapserv&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;submit&quot; value=&quot;Richland
County MapServer&quot;&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;program&quot; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
value=&quot;mapserv&quot;&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;map&quot; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
value=&quot;/home/mapdata/richland.map&quot;&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;mapext&quot; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
value=&quot;625173.309834 5085113.091715 718065.960556 5160035.212592&quot;&gt;<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;layers&quot; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
value=&quot;aerial <st1:City w:st="on"><st1:place w:st="on">richland</st1:place></st1:City>
boundary cities roads sections rivers lakes railroad parcels&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;zoomsize&quot; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
size=&quot;1&quot; value=&quot;1&quot;&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot;
name=&quot;qstring&quot;&nbsp;&nbsp;&nbsp; value=&quot;&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot;
name=&quot;qlayer&quot;&nbsp;&nbsp;&nbsp;&nbsp; value=&quot;&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot;
name=&quot;qitem&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value=&quot;&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot;
name=&quot;savequery&quot;&nbsp; value=&quot;&quot;&gt;<br>
<br>
&nbsp; &lt;/form&gt;<br>
&nbsp;&lt;/body&gt;<br>
&lt;/html&gt;<br>
<br>
<br>
I would like the map to load up when I go to the url right away. So right when
you type it in the address box and html page load that the map would too.<br>
&nbsp;Thanks for you time.<br>
<br>
Albert<br>
<br>
<b><i><span style='font-weight:bold;font-style:italic'>Manfred Meier
&lt;m.meier@SPIEKERMANN.DE&gt;</span></i></b> wrote:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Albert,<br>
<br>
if I understand right, you have a page with an initialize button and <br>
when you click it you get a page with a map and this works fine, ok?<br>
<br>
So send us the html-code of your page with the button. Perhaps we can <br>
&quot;create&quot; an example url for you which you can put in the adress field
of <br>
the browser.<br>
<br>
&gt; You must pass the name of your map file.<br>
&gt; For example:<br>
&gt; http://your.server/cgi-bin/mapserv.exe?map=path/to/your/file.map<br>
<br>
&gt; Where do I put that example at? Also I look at map context support<br>
<br>
It could be helpful, if you explain to us, how you want to load the map:<br>
<br>
- do want to load it from a menu or from a link?<br>
- or should your map be part of an html-page and and shall sit in a div <br>
or an iframe?<br>
<br>
Manfred<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Albert Anderson schrieb:<br>
<br>
&gt; hi,<br>
&gt; <br>
&gt; Where do I put that example at? Also I look at map context support <br>
&gt; through cgi and I dont understand it. The site is <br>
&gt; http://mapserver.gis.umn.edu/docs/reference/cgi/mapcontext<br>
&gt; Could you help me.<br>
&gt; <br>
&gt; Albert<br>
&gt; <br>
&gt; Siki Zoltan <siki @agt.bme.hu="">wrote:<br>
&gt; <br>
&gt; Hi Albert!<br>
&gt; <br>
&gt; You can pass parameters through the url.<br>
&gt; You must pass the name of your map file.<br>
&gt; For example:<br>
&gt; http://your.server/cgi-bin/mapserv.exe?map=path/to/your/file.map<br>
&gt; <br>
&gt; Zoltan<br>
&gt; <br>
&gt; There aremany parameters you can set through the url, see the cgi<br>
&gt; mapserver reference.<br>
&gt; <br>
&gt; On Wed, 2 Aug 2006, Albert Anderson wrote:<br>
&gt; <br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I am using intializing button as a submit button. The html<br>
&gt; template is using the get method. I would like to know how to get<br>
&gt; rid of the submit button. Just have the mapserver auto load into the<br>
&gt; html without clicking the intializing and get the information from<br>
&gt; the mapserver. Thanks<br>
&gt; &gt;<br>
&gt; &gt; Albert<br>
&gt; &gt;<br>
&gt; &gt; Manfred Meier wrote: I don't know your application and so don't<br>
&gt; know which initialzing button<br>
&gt; &gt; you mean. But if there is a button then it is most likely a submit<br>
&gt; &gt; button of a form. Look at the source code of the html page in your<br>
&gt; &gt; browser and try to find out, to what url the action property in<br>
&gt; the form<br>
&gt; &gt; tag points.<br>
&gt; &gt;<br>
&gt; &gt; If there are no other hidden or visible input tags, try to point<br>
&gt; your<br>
&gt; &gt; browser to the url in the action property. If there are input<br>
&gt; tags, try<br>
&gt; &gt; to append the neccessary values to the url.<br>
&gt; &gt;<br>
&gt; &gt; I don't know if that works in your case. But its a often used<br>
&gt; method to<br>
&gt; &gt; circumvent the manual filling of forms.<br>
&gt; &gt;<br>
&gt; &gt; Manfred<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Albert Anderson schrieb:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi List,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; My question is how do I get my page to load auto like without<br>
&gt; using<br>
&gt; &gt; &gt; initialzing button. I dont want to use the button. I just want<br>
&gt; to page<br>
&gt; &gt; &gt; just load. Is there a way around this? I'm using a linux<br>
&gt; machine with<br>
&gt; &gt; &gt; mapsever 4. Could someone help me?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt; Albert<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt; &gt; &gt; Do you Yahoo!?<br>
&gt; &gt; &gt; Next-gen email? Have it all with the all-new Yahoo! Mail Beta.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ---------------------------------<br>
&gt; &gt; Groups are talking. We´re listening. Check out the handy changes<br>
&gt; to Yahoo! Groups.<br>
&gt; <br>
&gt; <br>
&gt; __________________________________________________<br>
&gt; Do You Yahoo!?<br>
&gt; Tired of spam? Yahoo! Mail has the best spam protection around<br>
&gt; http://mail.yahoo.com<br>
&gt; <br>
<br>
<o:p></o:p></span></font></p>

</siki>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>  <o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Do you Yahoo!?<br>
Everyone is raving about the <a
href="http://us.rd.yahoo.com/evt=42297/*http:/advision.webevents.yahoo.com/handraisers">all-new
Yahoo! Mail Beta.</a><o:p></o:p></span></font></p>

</div>

</body>

</html>