Closed smalers closed 3 years ago
I talked to Catherine. My understanding is that she uses a separate layer to track selected items. So, on the layer side, maybe do the following for design:
The new branch has been merged with the updates for the layer search tool. The only layers that are currently supported are points, built-in images, and images. Searching will commence on pressing the enter key in the search bar. Deleting everything in the search bar will automatically toggle off all highlights on the map, as will closing the data table dialog. Highlighting is not yet implemented for lines or polygons yet.
Zoom to the entire layer, and zooming to selected features of the layer for point, built-in images and images has also been pushed. Clicking on the kebab menu in the lower right of the dialog will and selecting Zoom to Feature(s) will do the trick. Again, lines and polygons have not been updated to the zooming function as of yet.
The main issue I see is that if the data table is used for search, it is kind of big and not resizable. A typical use case is to use the table to search and then zoom to the features. Then I want to close the data table to have the map not be obscured. But then the selections go away. It may also be useful to have selections from multiple layers at the same time. So, I am thinking that automatically clearing selections when the data table closes is actually bad. What about adding "Clear selections" kebab menu on the layer? It could be added similar on the map, but at the moment there is no kebab menu on the map.
Being able to resize the dialog would help, or maybe get into the habit of sliding to the bottom? Or, if there was a way to minimize the dialog and have it "dock" in the window, using the window manager as if a virtual desktop?
More feedback based on latest version:
A new push has been done with fixes/updates to issues 3
and 7
from the above message.
I also forgot that there are 6 dialogs, not 5 as previously thought. The one I forgot is a documentation markdown dialog, created when there is an info button on the layer. Before this push, the dialog could be resized to any dimension, and the upper close button positioning did not work well.
A maximum and minimum height and width has been added with this push, and the dialog now works as well as the 4 other dialogs. So now, 5 out of 6 dialogs can now be resized, with the exception of the time series graph dialog mentioned in an earlier comment. I'll attempt to work on the other feedback points
I added zoomLevelMax
property to the layer in the GeoProcessor GeoMapProject documentation and published to OWF AWS cloud.
Also, is it possible to disable the "Clear selections" layer kebab menu if no features are selected?
The use of words matched
and selected
for layer data table is confusing. Consider making the following changes:
3 selected
and change the kebab menu to Zoom to selected features
.3 matched, 1 selected
and Zoom to selected features
will still make sense.select
is important.I suggest changing the filter text to: Filter all columns using the filter string. Press Enter to execute the filter.
or maybe Filter all columns using the filter string. Press Enter to execute the filter and show on map.
This will suffice rather than a tooltip or help.
Also, change so that show on map has a larger buffer. If only one point is found it zooms in too far and there is not enough context to know where you are. Maybe if one point always have a buffer of a mile on each side? A good test is Bonanza City
on the municipalities map.
After thinking about it some more, how about this for the label. In this example, the filter has been used and results in 50 rows shown.
110 rows, 50 rows from filter, 50 rows selected
If the filter is not used, then the text would say:
110 rows, 110 rows from filter, 110 rows selected
The above will work without the checkboxes. Then the kebab menu can say Zoom to selected features.
If the checkboxes are implemented, the same label can be used and an additional menu Zoom to filter results can be added. Using the checkboxes will be an additional level of selection.
If the checkboxes are easy to enable, then do it and all of the above makes sense, right?
The language has been updated to
110 rows, 110 rows selected from filter
The implementation of the check boxes presented too many issues to be looked into right now, and it's not a high priority, so the filter and selected options were combined so the other buttons and text options still made sense.
The core functionality of this issue has been completed. Any other issues can be opened up to work on more granular issues in the future. Closing this issue.
The StateMod viewer has a lot of stations and it difficult to find one of interest in order to view a graph. A tool is needed to search the layer attributes for match. See issue #169, which has more general requirements. Getting a search tool working for one layer first will help with a general tool. The following are technical considerations: