<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">GeoMOOSE is using AJAX.<br><br>It goes a little something like this...<br><br>The service definition is used to tell GeoMOOSE two things.&nbsp; First, what inputs need to be "taken in" be it spatial (via the shape attribute) or something considered more "tabular" like a type="user" input.&nbsp; The second thing it tells GeoMOOSE is how to format a URL and send it to a CGI program (mapserver, a PHP script, whatever).&nbsp; <br><br>So GeoMOOSE takes in the input, formats the URL (or XML request...), and send it to a service (CGI program).&nbsp; The service returns some information in one of many formats:<br>1) Text/XML - GeoMOOSE can take in a *lot* of different commands from an XML return but they aren't formatted the prettiest.<br>2)
 Text/Plain - GeoMOOSE will format this into HTML by converting the '\n's into '&lt;br/&gt;'.<br>3) Text/CSV - GeoMOOSE will turn this into an HTML table.<br>4) Text/HTML - This content is placed inside of the div by a little bit of javascript code, "div.innerHTML = ajaxRequest.responseText;".&nbsp; That's not the actual code, but there is a line in there that is entirely similar and performs the same function.<br><br>This process of abstractly defining how to talk with a Service and then getting a Return and reacting is at the core of the GeoMOOSE design.&nbsp; GeoMOOSE strives to comply to a "Service Oriented Architecture" where small unrelated programs can work in harmony with each other but WORK nonetheless.&nbsp; GeoMOOSE also strives to respect REST, a web design philosophy that does not require that the "state" of the application be known by the server.&nbsp; So things look a little bit different in the hope that it actually can be MORE of a swiss
 army knife to more people.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Jay Kapalczynski &lt;jkapalczynski@ci.maple-grove.mn.us&gt;<br>To: geomoose-users@lists.sourceforge.net; geomoose-developers@lists.sourceforge.net<br>Sent: Wednesday, March 19, 2008 12:06:36 PM<br>Subject: [Geomoose-users] XY indentifyer<br><br>



 
 
<style>
<!--
 _filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.EmailStyle17
        {font-family:"Calibri", "sans-serif";color:windowtext;}
.MsoChpDefault
        {}
 _filtered {margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {}
-->
</style>



<div class="Section1">

<p class="MsoNormal">Sorry for the loaded questions.&nbsp; Trying to really learn
this stuff….If anyone can be of assistance I would be appreciative….</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">Question1:</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">I am looking at the Identify Tool Code. (see Below)</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">I see the call to the identify.map</p> 

<p class="MsoNormal">Once in the identify.map there is a call to you specify
layer "TEMPLATE 'parcels/identify_parcels.html'"</p> 

<p class="MsoNormal">Once there you tell it what fields to show values on…</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">Where in that process does the code tell it to place all the
values from the TEMPLATE above into the Info Tab in GeoMoose?</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">Is this whats going on???</p> 

<p class="MsoNormal">Is the code below passing all those input types to
MapServer?&nbsp; Is this being done in the URL?&nbsp; Then MapServer reads them
and passes them back?&nbsp; To where…how does that get passed back to the
Info Tab?</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&lt;service
title="Identify" default="true"
cursor="url(cursors/identify2.cur), auto"
icon="shared/images/toolbar/identify.jpg"
highlight="shared/images/toolbar/identify_selected.jpg"
locked="true" shape="point"&gt;</span></p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;url&gt;/cgi-bin/mapserv.exe&lt;/url&gt;</span></p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input
type="hidden" name="map"
value="/ms4w/apps/GeoMOOSE/Maple_Grove_GeoMoose/identify.map"/&gt;</span></p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input
type="point" name="mapxy" delim=" "/&gt;</span></p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input
type="extent" name="imgext" delim=" "/&gt;</span></p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input
type="layertitles" name="layers" delim=" "/&gt;</span></p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input
type="imagesize" name="imgsize" delim=" "/&gt;</span></p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input
type="hidden" name="mode" value="nquery"/&gt;</span></p> 

<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&lt;/service&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p> 

<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">Question2:</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">I see in the Identify Code above that it is getting the
mapXY….how would I go about stripping all the other stuff above and just create
the button "onClick" write the XY to a variable and pop up a
messagebox giving the user the XY?</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">Any thoughts would be appreciated…trying to learn how
to code in the Web Environment……Something I can do in ArcGIS easily
but confused with all the calls and requests back and forth….</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">THanks Again</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal"> &nbsp;</p> 

</div>

</div><br></div></div><br>
      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>