maplibre/martin

martin-cp: better nullness/bbox handling for vastly increased performance

Aperta

#2212 aperta il 20 set 2025

 (3 commenti) (0 reazioni) (1 assegnatario)Rust (377 fork)auto 404
good first issuehelp wantedmartin-cpperformancerust

Metriche repository

Star
 (3761 stelle)
Metriche merge PR
 (Merge medio 2g 16h) (78 PR mergiate in 30 g)

Descrizione

Currently, when martin-cp sees the following, the green area will be attempted to copy.

This is suboptimal, as the green area cannot ever have tiles. We should either

  • if the query is taking very long (more than 10 minutes, or something) calculate the bboxes for each source and see if we can skip tiles
  • use the bboxes of sources to pre-filter sources (This might also apply to martin itsself, I have not checked)

The motivation for this is the following observation:

Guida contributor