terra-draw
terra-draw copied to clipboard
[Feature Request] Bulk geometry point deletion
trafficstars
Is your feature request related to a problem? Please describe. I am using Terradraw for an OSM street editor interface. There are situations where a user needs to delete some part of a street. An example is in the screenshot below. The problem is that to achieve the desired result, a user needs to do five right-clicks on the points from the red region. In addition, the process is complicated by this behavior, which seems to be a bug. Now imagine a real-world street with dozens of points and the task of "halving" a street
Describe your proposed idea for the solution to this problem The proposal is to either:
- add a "delete before/after" popup that appears on point click and allows deletion of all of the points that are located before/after the current one
- add a multi-select lasso/rectangle tool, that allows bulk point selection and consecutive deletion
Describe alternatives you've considered
- As far as I know, only manual one-by-one deletion of points is possible, which is not pleasant for user experience
- Another manual way is to completely delete and redraw the geometry, but that might be even more time-consuming for situations when a user needs to select half of a street, for example
- An additional way to implement that is to write some logic on top of Terradraw, which I will resort to if Terradraw has no plans of supporting this feature. But I think it might be useful for other users who use Terradraw for geometry editing