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

chore(spatial index): Remove duplicate rectangleToRegion code #60114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lbartoletti
Copy link
Member

@lbartoletti lbartoletti commented Jan 10, 2025

Description

rectToRegion and rect2region are the same functions as better named rectangleToRegion in QgsSpatialIndexUtils. This PR removes the duplicated code and uses only one from QgsSpatialIndexUtils

cc @ptitjano

@github-actions github-actions bot added this to the 3.42.0 milestone Jan 10, 2025
@lbartoletti lbartoletti added API API improvement only, no visible user interface changes Cleanup Code cleanup labels Jan 10, 2025
@lbartoletti lbartoletti self-assigned this Jan 10, 2025
Copy link

github-actions bot commented Jan 10, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 90e4d2f)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 90e4d2f)

@ptitjano
Copy link
Contributor

This looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API improvement only, no visible user interface changes Cleanup Code cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants