Skip to content
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

[Feature Request] Bulk geometry point deletion #438

Open
Sarrasor opened this issue Jan 22, 2025 · 0 comments
Open

[Feature Request] Bulk geometry point deletion #438

Sarrasor opened this issue Jan 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Sarrasor
Copy link

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

Image

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
@Sarrasor Sarrasor added the enhancement New feature or request label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant