PiRSquared17 / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

Add configurable (by the programmer) set of dropdown menus for zooming to a feature #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Overview:

Currently a user can zoom to a feature by performing an identify on all 
features in all layers in a bounding box, then choosing a layer and then 
choosing a feature.  MassGIS seeks an additional tool for identifying and 
zooming to a feature which would be a highly configurable (by the programmer) 
set of dropdown menus/text searches.  For example, the user could be directed 
to choose (or search for) a town, then a street within that town, then a house 
number on that street.  These dropdown menus/text searches would be data-driven 
and once completed, the user would zoom to that feature.  In this way MassGIS 
can improve upon previous existing functionality, the Z button (used to provide 
zooming to various datalayer features such as town, county, state agency 
region, legislative district, etc.)

Detailed Description:

The configurable parameters of a given “zoom-to” element would be:
 1. Is the element to be represented by a select-box (dropdown) or a type-ahead-find text search?
 2. What WFS FeatureType (table) and Attribute (column) are to be searched?
 3. A reference to other zoom-to elements to be used to restrict the options available in this quick-zoom.  For each “restricting” zoom-to that is referenced, identify the Attribute in the FeatureType configured in (2) is to be matched to the value of the “restricting” zoom-to and whether that “restricting” zoom-to needs to have a value before this zoom-to is enabled.

The following is an example configuration showing two quick-zoom elements, one 
selecting a town and the other selecting a street within that town:

Zoom-to #1: 
ID: 1
Label:  Pick a Town
FeatureType:    massgis:GISDATA.TOWNS_POLYM
Attribute:  TOWN
Display:    select-box
Hotkey: Control,Shift,T

Zoom-to #2:

ID: 2
Label:  Pick a Street
FeatureType:    massgis:GISDATA.NAVTEQRDS_ARC
Attribute:  ST_NAME
Display:    text
Restrict-with:  
    ID: 1
    Attribute:  LTOWN_REAL
    Required:   Yes

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 21 Mar 2011 at 4:19

GoogleCodeExporter commented 9 years ago
Due June 30, 2011 from PeopleGIS

Original comment by Aleda.Fr...@state.ma.us on 21 Mar 2011 at 4:30

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 29 Jul 2011 at 3:27

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 29 Jul 2011 at 3:29

GoogleCodeExporter commented 9 years ago
The dropdown works fine in Custom basemap.
For Google Satellite basemap for example it zooms outside the state.

Original comment by Aleda.Fr...@state.ma.us on 30 Aug 2011 at 9:16

GoogleCodeExporter commented 9 years ago
Also for OSM and Google Terrain basemap.

Original comment by Aleda.Fr...@state.ma.us on 30 Aug 2011 at 9:17

GoogleCodeExporter commented 9 years ago
I would like the dropdowns to be potentially wider, some data is being cut off 
in the list.  Can this be configurable in the toolSetting.js? 

Original comment by Aleda.Fr...@state.ma.us on 30 Aug 2011 at 9:20

GoogleCodeExporter commented 9 years ago
Issue resolved as of r102

Original comment by its.s...@gmail.com on 13 Oct 2011 at 10:02

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 4 Nov 2011 at 8:32