-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add filters for data to make it easier to edit dense multilevel areas #1871
Comments
Related / possibly duplicate: #1299 |
@jfirebaugh I have some time to hack on this today.. Any thoughts on what I did so far? Obviously I'm just displaying the object keys of the thing right now, will replace with t() strings and tooltips later. |
Yeah, this would definitely be useful in dense areas and is worth spending some time on. Some thoughts: How are features categorized? This should be tied into the preset system somehow and be flexible enough to support a "Water" layer that includes both Instead of adding another hamburger menu, should we include this in a redesigned "Layers" panel that includes both imagery and data? (cc @samanpwbb, @peterqliu) The status bar is a good idea. Are there other ways we can preempt concerns that this might encourage edits that accidentally break geometry that is shared with a hidden layer? One thing I thought of was to make "hidden" layers not fully hidden but wireframes (1px semitransparent lines) instead. |
My plan was to implement each featureset as a filter function that operates on entities, then I think these could be passed as a filter function in the d3 rendering code. So a filter to remove "Water" might look like:
I thought about this too, but the Background pane is already pretty crowded. And it will get even more crowded if we do #1141 (WMS support), but that's a good thing if there are better background imagery sources locked up in WMS servers (I know where I live that is the case). I would make the Map Features icon maybe more like stacked lines instead of reusing the existing hamburger. Or I guess it could work if the pane opens and there are separate ui tabs for background and foreground features.
I was planning to disable actions involving hidden features. e.g. if a path crosses a road, and the path is hidden, obviously the user shouldn't delete that vertex. Maybe add an |
Addressed by feature filtering (#2357). |
In areas where features are in multiple levels, it would make editing much easier and clearer if there was a way of filtering shown features.
The text was updated successfully, but these errors were encountered: