Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Cross-CRS raster predicates reproject the footprint corner-only, missing most of a polar raster's extent

Aperta
#3,323 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
data

Direzione di ricerca

Inizia con la suite integration/spark-parity, dove sono emersi i casi polari EPSG:3413 rispetto a EPSG:4326, e riproduci i predicati sui punti elencati. Ispeziona il percorso di riproiezione della footprint raster tra CRS diversi e la sua gestione dei bordi della footprint. Il lavoro è completato quando le footprint densificate coprono la vera estensione polare, così che i punti interni elencati restituiscano true, mentre il punto esterno rimanga false.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When a raster predicate must compare across CRSs, the raster's footprint appears to be reprojected using its corner vertices only. Reprojection bends straight footprint edges into curves, so the corner-to-corner chords under-cover the true extent — dramatically so for polar rasters, where the chords miss most of the cap.

Repro: a 20x20 EPSG:3413 raster with extent (-1e6, -1e6, 1e6, 1e6) (a 2000 km square on the north pole), queried with EPSG:4326 points that transform to well inside the square:

point (4326) in EPSG:3413 truly inside? RS_Intersects
POINT(45 82) (867972, 0) yes false
POINT(180 85) (-383228, 383228) yes false
POINT(0 85) (383228, -383228) yes false
POINT(90 85) (383228, 383228) yes false (also via RS_Contains)
POINT(0 60) (2349829, -2349829) no false ✓

POINT(45 82) sits on the +x axis at 87% of the half-width — nowhere near an edge curve subtlety — yet reads false; the four corners transform to lon/lat points near latitude 77-78, and everything poleward of their chords is lost. Densifying each footprint edge before reprojecting (a handful of interior points per edge) makes the reprojected footprint follow the curve; SedonaDB's integration/spark-parity suite (where this surfaced) shows its densified footprint matching the exact point-in-square truth on every probed case.

Related, observed while probing: RS_Within(polar_raster, pole-spanning 4326 polygon) throws rather than answering — the pole/antimeridian degeneracy in flat lon/lat space.

Lingua principale
Java
Stelle
2.4k
Fork
787
Merge medio
1g 20h
PR unite (30g)
52

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/sedona

Tutte le issue di apache/sedona

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.