<!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> </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. I also
think it would be easier to do the spatial query for names via PHP
mapscript. 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. 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> </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. The only way we could get this to work was to return an iframe
with an onLoad event. See below:</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008><iframe
src="/zzz.html" onload="Map.zoomToViewString('<?php echo $firstExtent
?>');" style="position: absolute; width: 0px; height: 0px"/></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=488055319-14032008>Dan my have other ideas,
but I think this would work. It would definetely take me a little playing
around to get it to work.</SPAN></DIV>
<DIV> </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> </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> </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? What I was
attempting to 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, as well as a new set
of tags for the layers themselves. I realized some new
functions would be needed for the geomoose.js file, which made me nervous.
What I thought I could do was to pass the layer name to the geomoose.js
function, then by using the layer name, the function would select the
appropriate set of feature names/bounding box coordinates from the mapbook
file, using the appropriate filter, and populate the Jump To drop
down. 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. Was I just
chasing my tail here or might this be possible?</FONT></SPAN></DIV>
<DIV> </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 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> </DIV>
<DIV><SPAN class=906470615-01112006><FONT face="Comic Sans MS"
size=2></FONT></SPAN> </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> </DIV>
<DIV>It was materializing in my mind the same way. I was wondering if
both the Drop down, and a Tabbed method of display could be could be
implemented. 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. It also seems like it abstracts things related to
selects a bit better as well.</DIV>
<DIV> </DIV>
<DIV>The dynamic Jump-To menu as a feature has me worried as an
idea. 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. 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. 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. 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. 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> </DIV>
<DIV>bobb</DIV>
<DIV><BR><BR>>>> "Fischer, Brian"
<bfischer@houstonengineeringinc.com> 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. 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" right below the "Zoom To" menu. 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. The idea is you can only have
one layer active (selectable at a time) and one layer that has popups on at at
time. I think this would be much more intuitive for the end user.
These layers would always remain active on any navigate command until the user
changed them in the drop down menu. 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. If no the application is not using any popups or select service
then these drop down menus would not appear on the interface. 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. What do others think about this
idea? 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> </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. This still would not address Lee's
needs for a dynamic "Jump To" menu, but is along the same lines.
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> </DIV>
<DIV dir=ltr align=left><SPAN class=519193016-14032008>-Brian</SPAN></DIV>
<DIV> </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> </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> </DIV>
<DIV>Some thoughts about this, more from a global perspective . . .</DIV>
<DIV><BR>Hmm, this seems like a good idea on the surface, but I seem to
remember trying this idea out at some previous GeoMoose development version,
and there were some capabilities that implementing it mitigated.
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> </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. Things like
having a selection layer that doesn't have a companion viewable layer, or at
least may not be loaded.</DIV>
<DIV> </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. 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> </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> </DIV>
<DIV>bobb</DIV>
<DIV> </DIV>
<DIV><BR>>>> "Fischer, Brian"
<bfischer@houstonengineeringinc.com> 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> </DIV>
<DIV dir=ltr align=left><SPAN class=590510115-14032008><FONT face=Arial
color=#0000ff>Currently this is not possibly with GeoMOOSE. I'm not sure
it ever will be...it seems like a custom feature. It would also be
hard to program this to handle all situations. With that said you could
either try to customize GeoMOOSE yourself or you could easily find a
consultant that could likely do this customization for a reasonable
price. Maybe the cusomtization could be contributed back to the
GeoMOOSE project. Essentially</FONT></SPAN><SPAN
class=590510115-14032008><FONT face=Arial color=#0000ff> 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> </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. 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> </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> </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> </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> </DIV>
<DIV><SPAN class=984373914-14032008><FONT face="Comic Sans MS">I saw
Jay's post on being able to setup an additional layer to select on. Has
anyone been able to setup multiple layers to select on? I'd like to have
a pulldown with multiple layers. As a layer is selected, the Jump To
options would change for the layer selected. 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> </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> </DIV>
<DIV><SPAN class=984373914-14032008><FONT face="Comic Sans MS">There's a Jump
To Layer pulldown with multiple layers. As a layer is selected, the Jump
To list would change accordingly. Any ideas? </FONT></SPAN></DIV>
<DIV><SPAN class=984373914-14032008><FONT
face="Comic Sans MS"></FONT></SPAN> </DIV>
<DIV><SPAN class=984373914-14032008><FONT
face="Comic Sans MS">Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=984373914-14032008></SPAN> </DIV>
<DIV> </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 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> </DIV>
<DIV><SPAN class=906470615-01112006><FONT
face="Comic Sans MS"></FONT></SPAN> </DIV></FONT></DIV>
<DIV> </DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>