agrc / deq-enviro

DEQ Environmental Data Viewer
MIT License
6 stars 1 forks source link

Multi-part Polygon Searches #373

Open stdavis opened 6 years ago

stdavis commented 6 years ago

Mark Stanger is requesting the ability to search by multiple polygons.

@steveoh Do you think that the web api for this project will be able to handle multi-part polygons?

Mark's email for reference:

The DEQ Interactive Map (DEQ-IM) already performs a single selected polygon search. I am very interested to know the amount of work required to enhance the single polygon search so as to enable a IM user to select multiple polygons as a search method.

Question: Would adding a multiple selected polygon search to the IM be considered a 'tweak' or would it need to be negotiated/funded as part of an upgrade?

As you may remember, while upgrading/adding DWQ searches on the DEQ-IM, you described how to search for features in a searchable data layer using a previously selected polygon. I then made a training video to demonstrate the "selected polygon" search technique (go to 'training videos' in the upper right corner of the DEDQ-IM and on the DWQ tab select the last, or third, training video titled "Feature Search Within a Selected Polygon").

I recall briefly mentioning this topic as an unrelated 'in passing' comment a few months ago (via email or phone) while discussing another issue. Your reply was that it might be possible to simultaneously hold the 'shift' key and select multiple polygons.

stdavis commented 6 years ago

I did some research yesterday and confirmed that the search API for this app already supports multi-part polygons. So the only work would be on the client. I would need to enable the selection of multiple polygons and merge them before sending them to the API.

Harold sent me an email today asking me to hold off for now on this request.