nakijun / morisoliver

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

Open OLIVER to a particular layer's column's value #224

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We had a request to open OLIVER to a particular parcel based on it's id.  In 
that case, we'd need to query to get the bounding box of the parcel, then zoom 
to it. 

This would be similar to passing an address in on the initial OLIVER URL (Issue 
186) - in that case there was a geocode, then a zoom.  The user would be 
constructing these URLs probably based on a spreadsheet or program.  This is 
not a Permalink, Permalink functionality would not change.

There are 3 pieces of info: layer name, column (attribute) name and value.

I would suggest suggest something like:

&qrylayer=massgis:GISDATA.TOWNS_POLYM&qrycol=TOWN&qryval='MALDEN'

so

http://maps.massgis.state.ma.us/map_ol/oliver.php&qrylayer=massgis:GISDATA.COUNT
IES_POLYM&qrycol=FIPS_ID&qryval=25019

would open zoomed in on the county with that ID (happens to be Nantucket 
County).

http://maps.massgis.state.ma.us/map_ol/oliver.php&qrylayer=massgis:GISDATA.LIGHT
HOUSES_PT&qrycol=NAME&qryval='Chatham Light' 

would open zoomed in on the Chatham Light lighthouse.

http://maps.massgis.state.ma.us/map_ol/oliver.php&qrylayer=massgis:GISDATA.L3_TA
XPAR_POLY_ASSESS&qrycol=LOC_ID&qryval='F_1079864_2711454' 

would open zoomed in on the that parcel (happens to be 20 Shore Road Chatham).

If more than one feature returns from the query, the combined bounding box 
should be used.  If a point is returned, the bounding box should back out 
(similar to geocoding distance).  

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 5 Aug 2013 at 5:02

GoogleCodeExporter commented 9 years ago
If there is a way to highlight the feature that would be good. 

Original comment by Aleda.Fr...@state.ma.us on 5 Sep 2013 at 5:45

GoogleCodeExporter commented 9 years ago
Perhaps highlighting is identify.

Original comment by Aleda.Fr...@state.ma.us on 5 Sep 2013 at 5:46