Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a new
skewerselection mode for interactive footprint selection in the loaders infrastructure. The skewer mode selects footprints by evaluating whether a clicked sky coordinate lies within a footprint’s spherical polygon, and is available in addition to the existing nearest-edge footprint selection behavior.This work was initially developed for the Footprints plugin (see #3794), but has since been refactored and integrated into the loaders infrastructure. By implementing this in loaders, the skewer selection mode is now available wherever loader-based footprint selection is used.
Screen.Recording.2026-01-20.at.1.55.09.PM.mov
To make it easier to visualize how the skewer selection mode works, check the demo with well-separated footprints.
When clicking inside overlapping footprints, the skewer mode automatically selects the one with the smallest polygon area. This ensures that when a smaller footprint is nested within a larger one, clicking in the overlap region will correctly select the more specific (smaller) footprint.
Screen.Recording.2026-01-20.at.3.06.50.PM.mov
Change log entry
CHANGES.rst? If you want to avoid merge conflicts,list the proposed change log here for review and add to
CHANGES.rstbefore merge. If no, maintainershould add a
no-changelog-entry-neededlabel.Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
triviallabel.cache-download.ymlworkflow?