Function process_geojson_features

Source
pub fn process_geojson_features<T: VectorTransferables, C: Context>(
    geojson_value: &Value,
    request: GeoJsonTileRequest,
    context: &C,
) -> Result<(), ProcessGeoJsonError>
Expand description

Process inline GeoJSON data and tessellate features for each matching style layer.

This mirrors crate::vector::process_vector_tile but works with geographic (lon/lat) coordinates rather than pre-projected MVT tile coordinates.

For each style layer that references the named GeoJSON source (and has no source_layer), ALL features in the GeoJSON are tessellated and sent back via context. The tessellated bucket’s virtual source-layer name is set to style_layer.id, matching the fallback in upload_system.