[Geomoose-users] Question on Jump To list
Jim Klassen
klassen.js at gmail.com
Mon Aug 20 15:04:12 PDT 2012
1) We already have selects/drop down lists that can be automatically populated on a service call.
2) I implemented a few versions of generic search service (that implements option 2) a number of years ago. Having GeoMoose loop through all (or a subset) of layers was too inefficient.
What I found was to reliably and quickly handle queries I needed to cache the indexed fields, geometry (or at least bounding box), and source layer (from the perspective of the catalog to turn activate the layer). I wrote a crawler (implies scheduled task) that read the mapbook and connected to the map-sources and ended up caching this information in PostGIS. At the time this "connection" was handled by adding a mode to mapserver (via mapscript) to use some metadata in each mapfile to indicate which layers and fields to index and the human friendly name of said fields. In practice, this was simply a second template format (from the popups) and also disabled min/maxscaledenom. The reason for this method is it allowed for non-local MapServers (we had more than one host that served our data).
This does make the site a lot more user friendly, but it comes at a cost of additional components/complexity for the administrator and will be difficult to achieve if we are limiting ourselves to thing that can run out of the box using only MS4W.
On Aug 20, 2012, at 3:35 PM, Mark Volz wrote:
> Hello,
>
> Just my two cents on the subject.
>
> 1) I actually like the jump-to boxes. I think they work really well when there are less than 35 or so jump-to locations.
>
> 2) One idea I had that might be interesting for searching is having the option to include an generic search box similar to how browsers have web search built directly into the browser. This way the user wouldn’t have to be concerned about changing the search to “search parcel” or “search township” etc. Instead they would just type in what they are looking for and the GeoMOOSE configuration could store what layers and fields that it should search. I don’t know if that would be possible or not, or if it would be difficult. However I think that it might make the site more user friendly.
>
> Mark Volz
> GIS Specialist
>
> From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Jim Klassen
> Sent: Monday, August 20, 2012 1:53 PM
> To: Bistrais, Bob
> Cc: geomoose-users at lists.osgeo.org
> Subject: Re: [Geomoose-users] Question on Jump To list
>
> This is exactly why I don't like the jump to list (and have lobbied for its removal since at least GeoMoose 2.0). It works (sort of) for smaller installations, but even then it is a hassle of having to calculate and place bounding boxes in the mapbook when you probably already had them in a vector format somewhere.
>
> Personally, I think it is more useful and more maintainable to implement the jump to functionality as a search on a layer that has your polygons. Find town by name (or partial name); return a list of matches; user selects the one they want and the map zooms/pans to the selection. This also lets you have more than one category of jump-to... say counties, zip codes, park names, and even potentially addresses.
>
> Just my 2 cents.
>
> Jim
>
> On Aug 20, 2012, at 1:08 PM, Bistrais, Bob wrote:
>
>
> I have modified the Jump To list on my GM 2.6 applications so they contain a complete list of Maine town names (over 900 entities). While this works, we have a few issues with it-
> -It’s a bit slow to load, at least initially
> -If you try to type the first few letters of a town name, the list does not scroll down toward your intended selection (it did in GM 2.2)
> -can’t scroll the list using arrow keys
>
> I don’t know if this has anything to do with the switch to Dojo or something else, but in any case, is there anything I can do to rectify these issues?
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120820/dfbd2dcf/attachment-0001.html>
More information about the Geomoose-users
mailing list