<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Comic Sans MS">
<DIV dir=ltr align=left><SPAN class=488055319-14032008>Lee,</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008>I think this is 
definetely possible, but it would require some JS code for sure.&nbsp; I also 
think it would be easier to do the spatial query for names via PHP 
mapscript.&nbsp; So you may also need to write a little PHP mapscript that takes 
in the layer name, mapfile name and bounding box and returns to GeoMOOSE a 
javascript function that will change your drop down menu with the new 
list.&nbsp; The difficult part with this is triggering that javasript function 
from your php return.</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008>We did something like 
this for the mosquito control district where when they do an address search it 
will display the results but then automatically zoom the map to the first 
results.&nbsp; The only way we could get this to work was to return an iframe 
with an onLoad event.&nbsp; See below:</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008>&lt;iframe 
src="/zzz.html" onload="Map.zoomToViewString('&lt;?php echo $firstExtent 
?&gt;');" style="position: absolute; width: 0px; height: 0px"/&gt;</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008>Dan my have other ideas, 
but I think this would work.&nbsp; It would definetely take me a little playing 
around to get it to work.</SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT face=Arial>Brian Fischer</FONT></DIV>
<DIV align=left><FONT face=Arial>Houston Engineering, Inc.</FONT></DIV>
<DIV align=left><FONT face=Arial>Maple Grove, MN</FONT></DIV>
<DIV align=left><FONT face=Arial>(763) 493-4522</FONT></DIV>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> Lee Meilleur [mailto:lee.meilleur@gis.leg.mn] 
<BR><B>Sent:</B> Friday, March 14, 2008 2:51 PM<BR><B>To:</B> 'Bob Basques'; 
Fischer, Brian; geomoose-users@lists.sourceforge.net<BR><B>Subject:</B> RE: 
[Geomoose-users] multiple layer selection<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT color=#0000ff size=3></FONT>&nbsp;</DIV>
<DIV><SPAN class=078354418-14032008><FONT color=#0000ff size=3>What if there 
were limitations to the number of layers that could be applied?&nbsp; What I was 
attempting to&nbsp;accomplish was to add all of the Jump To features with 
bounding box coordinates (let's say 3 layers worth) to the mapbook file, with a 
unique target value for filtering each of the layers,&nbsp;as well as a new set 
of tags for the layers themselves.&nbsp;&nbsp;&nbsp;I realized&nbsp;some new 
functions would be needed for the geomoose.js file, which made me nervous.&nbsp; 
What I thought I could do was to&nbsp;pass the layer name to the geomoose.js 
function, then by using the layer name, the function would&nbsp;select the 
appropriate set of feature names/bounding box coordinates&nbsp;from the mapbook 
file, using the appropriate filter, and&nbsp;populate&nbsp;the Jump To drop 
down.&nbsp; I program more in php than javascript (I'm a js hack), so thought it 
might be do-able, but realized quickly I was in over my head.&nbsp; Was I just 
chasing my tail here or might this be possible?</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT face=Arial>
<DIV align=left><SPAN class=906470615-01112006><FONT face="Comic Sans MS" 
size=2>Lee Meilleur</FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" size=2>LCC-GIS 
Office</FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" size=2>Minnesota 
Legislature</FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" size=2>100 Rev. 
Dr. MLK Jr Blvd.</FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" size=2>55 State 
Office Building</FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" size=2>St. Paul, 
MN 55155</FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" 
size=2>651.296.0098&nbsp; Fax: 651.297.3697</FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" size=2><A 
href="mailto:lee.meilleur@gis.leg.mn">lee.meilleur@gis.leg.mn</A></FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" size=2><A 
href="http://www.gis.leg.mn/">http://www.gis.leg.mn</A></FONT></SPAN></DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS" 
size=2></FONT></SPAN>&nbsp;</DIV></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Bob Basques 
  [mailto:Bob.Basques@ci.stpaul.mn.us] <BR><B>Sent:</B> Friday, March 14, 2008 
  1:32 PM<BR><B>To:</B> Lee Meilleur; Brian Fischer; 
  geomoose-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Geomoose-users] 
  multiple layer selection<BR><BR></FONT></DIV>
  <DIV>Brian,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>It was materializing in my mind the same way.&nbsp; I was wondering if 
  both the Drop down, and a Tabbed method of display could be could be 
  implemented.&nbsp; I think it just amounts to abstracting the view of the 
  Visible catalog via a filter of some sort for choosing, so the same underlying 
  request code that is present still works, it's just the options for display 
  that are added to.&nbsp; It also seems like it abstracts things related to 
  selects a bit better as well.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>The dynamic Jump-To menu as a feature has me worried as an 
  idea.&nbsp;&nbsp; While I think this could be implemented as a service, rather 
  easily, there will be problems with how to handle display thresholding and 
  such related to sending down a list that is simply too big for the 
  browser.&nbsp;&nbsp; You could even make this work with MapServer CGI only by 
  sending the right extents to the server and using the appropriate Jump-To 
  template for the output.&nbsp; My biggest problem with it is that there is no 
  easy way to manage/limit the results that MapServer sends back to the Jump-To 
  list.&nbsp; I often thought there should be a companion tool with the GeoMoose 
  distribution, that could generate a Jump-To Drop down list from any SHP file, 
  possibly even adding in some form of filtering as well.&nbsp;&nbsp; I'm not 
  sure that a generic (and redistributable) version would be a good idea, but I 
  can see ways of implementing it.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>bobb</DIV>
  <DIV><BR><BR>&gt;&gt;&gt; "Fischer, Brian" 
  &lt;bfischer@houstonengineeringinc.com&gt; wrote:<BR></DIV>
  <DIV 
  style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">
  <DIV dir=ltr align=left><SPAN class=519193016-14032008>Bob,</SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=519193016-14032008>I agree with 
  this.&nbsp; Although instead of having a seperate tab for the selectable 
  layers I was thinking if a layer was listed in the selection service to be 
  selectable then it would appear in a drop down menu called "Active 
  Layer"&nbsp;right below the "Zoom To" menu.&nbsp; The same thing could be done 
  with the popup service, if a layer was listed to have popups it would be 
  listed in a "Popup Layer" drop down menu.&nbsp; The idea is you can only have 
  one layer active (selectable at a time) and one layer that has popups on at at 
  time.&nbsp; I think this would be much more intuitive for the end user.&nbsp; 
  These layers would always remain active on any navigate command until the user 
  changed them in the drop down menu.&nbsp; That way you could set the most 
  popular layer as the default and then they wouldn't even have to change 
  anything on start up and could start using the popups or select tool right 
  away.&nbsp; If no the application is not using any popups or select service 
  then these drop down menus would not appear on the interface.&nbsp; I through 
  this out as an idea to Dan last week, but haven't got his reaction yet on the 
  level of effort to make this happen.&nbsp; What do others think about this 
  idea?&nbsp; I'm mainly thinking about simplying it as much as possible for the 
  end users.</SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=519193016-14032008></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=519193016-14032008>In particular I'm 
  thinking this makes a lot of sense for Counties and cities that primarily deal 
  with people using the parcel layer.&nbsp; This still would not address Lee's 
  needs for&nbsp;a dynamic "Jump To" menu, but is along the same lines.&nbsp; 
  Just some thoughts on my end and what I am hearing from my 
  clients.</SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=519193016-14032008></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=519193016-14032008>-Brian</SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=left><FONT face=Arial>Brian Fischer</FONT></DIV>
  <DIV align=left><FONT face=Arial>Houston Engineering, Inc.</FONT></DIV>
  <DIV align=left><FONT face=Arial>Maple Grove, MN</FONT></DIV>
  <DIV align=left><FONT face=Arial>(763) 493-4522</FONT></DIV>
  <DIV>&nbsp;</DIV><BR>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma><B>From:</B> Bob Basques 
  [mailto:Bob.Basques@ci.stpaul.mn.us] <BR><B>Sent:</B> Friday, March 14, 2008 
  11:28 AM<BR><B>To:</B> Lee Meilleur; Fischer, Brian; 
  geomoose-users@lists.sourceforge.net<BR><B>Subject:</B> Re: [Geomoose-users] 
  multiple layer selection<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>All,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Some thoughts about this, more from a global perspective . . .</DIV>
  <DIV><BR>Hmm, this seems like a good idea on the surface,&nbsp; but I seem to 
  remember trying this idea out at some previous GeoMoose development version, 
  and there were some capabilities that implementing it mitigated.&nbsp;&nbsp; 
  In the end, the idea was to use a general associative method of having the 
  selection controls aligned with the particular viewable layer.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Now, since this was implemented in it's current fashion, I've also run 
  into some occasional what-if scenarios that this new idea would help with, but 
  I managed to get the existing method to work in the end.&nbsp; Things like 
  having a selection layer that doesn't have a companion viewable layer, or at 
  least may not be loaded.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>It's almost point towards another "TAB" in my mind, at least if you keep 
  the operational aspects the same as they are now.&nbsp; For example, if the 
  MapBook defines a selection layer, then the control for that selection layer 
  would appear under the "Select" Tab, or some such.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>With some of the recent discussions around separating out the user 
  configs from the system configs, I think this new method of applying the 
  capability of selections in a more generic way has come up at the right 
  time.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>bobb</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><BR>&gt;&gt;&gt; "Fischer, Brian" 
  &lt;bfischer@houstonengineeringinc.com&gt; wrote:<BR></DIV>
  <DIV 
  style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">
  <DIV dir=ltr align=left><SPAN class=590510115-14032008><FONT face=Arial 
  color=#0000ff>Lee,</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=590510115-14032008><FONT face=Arial 
  color=#0000ff></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=590510115-14032008><FONT face=Arial 
  color=#0000ff>Currently this is not possibly with GeoMOOSE.&nbsp; I'm not sure 
  it&nbsp;ever will be...it seems like a custom feature.&nbsp; It would also be 
  hard to program this to handle all situations.&nbsp; With that said you could 
  either try to customize GeoMOOSE yourself or you could easily find a 
  consultant that could likely do this customization&nbsp;for a reasonable 
  price.&nbsp; Maybe the cusomtization could be contributed&nbsp;back to the 
  GeoMOOSE&nbsp;project.&nbsp; Essentially</FONT></SPAN><SPAN 
  class=590510115-14032008><FONT face=Arial color=#0000ff>&nbsp;you would have 
  to write some of your own javascript code so on the "OnChange" event of the 
  dropdown would have it do something with the other drop 
  down.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=590510115-14032008><FONT face=Arial 
  color=#0000ff></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=590510115-14032008><FONT face=Arial 
  color=#0000ff>On this note I think I am going to get GeoMOOSE so you can have 
  an active layer list in a drop down and use that to have users select which 
  layer is active and selectable.&nbsp; This is different than how GeoMOOSE 
  currently handles users specifying which layer is 
  selectable.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=590510115-14032008><FONT face=Arial 
  color=#0000ff></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=590510115-14032008><FONT face=Arial 
  color=#0000ff>-Brian</FONT></SPAN></DIV>
  <DIV><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
  <DIV align=left><FONT face=Arial>Brian Fischer</FONT></DIV>
  <DIV align=left><FONT face=Arial>Houston Engineering, Inc.</FONT></DIV>
  <DIV align=left><FONT face=Arial>Maple Grove, MN</FONT></DIV>
  <DIV align=left><FONT face=Arial>(763) 493-4522</FONT></DIV>
  <DIV>&nbsp;</DIV><BR>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma><B>From:</B> geomoose-users-bounces@lists.sourceforge.net 
  [mailto:geomoose-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Lee 
  Meilleur<BR><B>Sent:</B> Friday, March 14, 2008 9:52 AM<BR><B>To:</B> 
  'geomoose-users@lists.sourceforge.net'<BR><B>Subject:</B> [Geomoose-users] 
  multiple layer selection<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face="Comic Sans MS"></FONT>&nbsp;</DIV>
  <DIV><SPAN class=984373914-14032008><FONT face="Comic Sans MS">I&nbsp;saw 
  Jay's post on being able to setup an additional layer to select on.&nbsp; Has 
  anyone been able to setup multiple layers to select on?&nbsp; I'd like to have 
  a pulldown with multiple layers.&nbsp; As a layer is selected, the Jump To 
  options would change for the layer selected.&nbsp; A non-working example of 
  what I'm trying to do can be viewed at:</FONT></SPAN></DIV>
  <DIV><SPAN class=984373914-14032008><FONT 
  face="Comic Sans MS"></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=984373914-14032008><FONT face="Comic Sans MS"><A 
  href="http://www.gis.leg.mn/geomoose/atlas/">http://www.gis.leg.mn/geomoose/atlas/</A></FONT></SPAN></DIV>
  <DIV><SPAN class=984373914-14032008><FONT 
  face="Comic Sans MS"></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=984373914-14032008><FONT face="Comic Sans MS">There's a Jump 
  To Layer pulldown with multiple layers.&nbsp; As a layer is selected, the Jump 
  To list would change accordingly.&nbsp; Any ideas?&nbsp; </FONT></SPAN></DIV>
  <DIV><SPAN class=984373914-14032008><FONT 
  face="Comic Sans MS"></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=984373914-14032008><FONT 
  face="Comic Sans MS">Thanks.</FONT></SPAN></DIV>
  <DIV><SPAN class=984373914-14032008></SPAN>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=left><FONT face=Arial>
  <DIV align=left><SPAN class=906470615-01112006><FONT face="Comic Sans MS">Lee 
  Meilleur</FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS">LCC-GIS 
  Office</FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS">Minnesota 
  Legislature</FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS">100 Rev. Dr. 
  MLK Jr Blvd.</FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS">55 State Office 
  Building</FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS">St. Paul, MN 
  55155</FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT 
  face="Comic Sans MS">651.296.0098&nbsp; Fax: 651.297.3697</FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS"><A 
  href="mailto:lee.meilleur@gis.leg.mn">lee.meilleur@gis.leg.mn</A></FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS"><A 
  href="http://www.gis.leg.mn/">http://www.gis.leg.mn</A></FONT></SPAN></DIV>
  <DIV><SPAN class=906470615-01112006><FONT 
  face="Comic Sans MS"></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=906470615-01112006><FONT 
  face="Comic Sans MS"></FONT></SPAN>&nbsp;</DIV></FONT></DIV>
  <DIV>&nbsp;</DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>