Skip to content

Fix task splitting when drawing area#7195

Merged
ramyaragupathy merged 1 commit intohotosm:developfrom
sumitdahal7:fix/7135-draw-to-split-polygon-scaling
Mar 23, 2026
Merged

Fix task splitting when drawing area#7195
ramyaragupathy merged 1 commit intohotosm:developfrom
sumitdahal7:fix/7135-draw-to-split-polygon-scaling

Conversation

@sumitdahal7
Copy link
Copy Markdown
Collaborator

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation
  • 🧑‍💻 Refactor
  • ✅ Test
  • 🤖 Build or CI
  • ❓ Other (please specify)

Related Issue

Fixes #7135

Describe this PR

This PR fixes the issue where the "split by drawing" tool only split some of the selected tasks instead of all tasks that touched the drawn area.

Changes:
The scaling factor (0.5) has been removed from the splitDrawing logic. Now uses the 100% full geometry as drawn by the user, ensuring every task touched by the polygon is correctly identified and split.

@sonarqubecloud
Copy link
Copy Markdown

@ramyaragupathy ramyaragupathy merged commit 7a37ead into hotosm:develop Mar 23, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 'Draw area to split' during project creation not working

3 participants