maplibre/martin

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

Open

#2,212 opened on Sep 20, 2025

 (3 comments) (0 reactions) (1 assignee)Rust (377 forks)auto 404
good first issuehelp wantedmartin-cpperformancerust

Repository metrics

Stars
 (3,761 stars)
PR merge metrics
 (PR metrics pending)

Description

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:

Contributor guide