Skip to main content

postprocess_tile

Function postprocess_tile 

Source
pub fn postprocess_tile(
    features: Vec<TileFeature>,
    zoom: u8,
) -> Vec<TileFeature>
Expand description

Post-process the features of one tile at zoom zoom.

Building heights are quantized first, as the protomaps basemap does, so that neighbouring buildings of similar height share attributes and can merge; then protomaps_merge::merge_tile merges each layer.