Skip to content

Give envelope boxes the CRS of their geometry - #11868

Merged
HarukiMoriarty merged 0 commit into
nemo/spatial-crs-checkfrom
nemo/spatial-envelope-crs
Nov 23, 2026
Merged

HarukiMoriarty merged 0 commit into
nemo/spatial-crs-checkfrom
nemo/spatial-envelope-crs

Conversation

@HarukiMoriarty

Copy link
Copy Markdown
Contributor

Stacked on #11859

vortex.st.envelope always returned boxes with no CRS, so the envelope of a geometry in EPSG:32633 could no longer be compared with other EPSG:32633 geometries once #11859 requires equal CRSs, and mixing it with another CRS would have gone unnoticed before. The output Rect now takes the operand's CRS, read through the AnyNativeGeometry matcher.

Behaviour change: the output dtype of vortex.st.envelope now carries the operand's CRS instead of none.

🤖 Generated with Claude Code

@HarukiMoriarty HarukiMoriarty added the changelog/fix A bug fix label Nov 23, 2026
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/spatial-envelope-crs branch from f3085e4 to 40dfb05 Compare November 23, 2026 19:54
@HarukiMoriarty
HarukiMoriarty force-pushed the nemo/spatial-envelope-crs branch from 40dfb05 to dde0727 Compare November 23, 2026 19:56
@HarukiMoriarty
HarukiMoriarty merged commit dde0727 into develop Nov 23, 2026
@HarukiMoriarty
HarukiMoriarty deleted the nemo/spatial-envelope-crs branch November 23, 2026 19:56
@HarukiMoriarty
HarukiMoriarty restored the nemo/spatial-envelope-crs branch November 23, 2026 19:57
@codspeed

codspeed Bot commented Nov 23, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

2 warnings, 1 note

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

ℹ️ This run is excluded from the branch history

This commit was force-pushed, so this run no longer appears in the branch's performance history.

✅ 2030 untouched benchmarks
🆕 22 new benchmarks
⏩ 136 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
🆕 CPU Simulation bitpacked[(16, 32768, false)] N/A 802.8 µs N/A
🆕 CPU Simulation bitpacked[(16, 64, false)] N/A 225.8 µs N/A
🆕 CPU Simulation bitpacked[(16, 64, true)] N/A 90 µs N/A
🆕 CPU Simulation dictionary[(16, 32768, false)] N/A 909.9 µs N/A
🆕 CPU Simulation dictionary[(16, 64, false)] N/A 385.1 µs N/A
🆕 CPU Simulation dictionary[(16, 64, true)] N/A 101.8 µs N/A
🆕 CPU Simulation pco[(16, 32768, false)] N/A 5.8 ms N/A
🆕 CPU Simulation pco[(16, 64, false)] N/A 5 ms N/A
🆕 CPU Simulation pco[(16, 64, true)] N/A 410.2 µs N/A
🆕 CPU Simulation primitive_values[(16, 32768, false)] N/A 855.9 µs N/A
🆕 CPU Simulation primitive_values[(16, 64, false)] N/A 210.9 µs N/A
🆕 CPU Simulation primitive_values[(16, 64, true)] N/A 74.6 µs N/A
🆕 CPU Simulation run_end[(16, 32768, false)] N/A 900.9 µs N/A
🆕 CPU Simulation run_end[(16, 64, false)] N/A 324 µs N/A
🆕 CPU Simulation run_end[(16, 64, true)] N/A 106.5 µs N/A
🆕 CPU Simulation string_views[(16, 32768, false)] N/A 4.5 ms N/A
🆕 CPU Simulation string_views[(16, 64, false)] N/A 205.4 µs N/A
🆕 CPU Simulation string_views[(16, 64, true)] N/A 91.7 µs N/A
🆕 CPU Simulation chunk_routing[(1024, 16, false)] N/A 171.1 µs N/A
🆕 CPU Simulation chunk_routing[(1024, 32768, false)] N/A 7.9 ms N/A
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Comparing nemo/spatial-envelope-crs (40dfb05) with nemo/spatial-crs-check (6cfd123)2

Open in CodSpeed

Footnotes

  1. 136 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on nemo/spatial-crs-check (695dc31) during the generation of this report, so 4c45db0 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant