martin-core 0.15.0

Basic building blocks of MapLibre's Martin tile server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Assembles a 3x3 tile neighbourhood into one RGBA field.
//! This is for a pass whose kernel reads past a tile's edge sees real neighbouring terrain to avoid seams.

mod assemble;
mod etag;

#[cfg(feature = "processing")]
pub(crate) use crate::tiles::neighbourhood::assemble::CHANNELS;
pub use crate::tiles::neighbourhood::assemble::{
    DEFAULT_TILE_SIZE, GRID_SIDE, NEIGHBOURHOOD_LEN, Neighbourhood, NeighbourhoodError, RgbaField,
};
pub use crate::tiles::neighbourhood::etag::{InputEtag, neighbourhood_etag};