Skip to content

Mapbox Tileset Processors #11

@dichapabe

Description

@dichapabe

Processing Multilayer in a Single Tileset

In this process, we followed an example for multilayer tileset. We combined multiple layers uploaded in a different source but processed and published in a single tileset.

Ref: https://github.com/UPRI-NOAH/mapbox-processor/blob/main/multilayer_processor.py

Pipeline

  1. Create and upload tileset source of all the hazards in a province
  2. Using multilayer recipe, we include all the hazards in the source (Sample Multilayer Recipe)
  3. Create and publish tileset using the multilayer recipe

Output

Screenshot from 2021-08-24 09-44-08



Processing Multiple Source Uploaded in a Single Container

In this process, we uploaded all the tileset source into a single container to optimize the tileset.

Ref: https://github.com/UPRI-NOAH/mapbox-processor/blob/main/single_container_processor.py

Pipeline

  1. Bulk upload all the tileset source in a single container. In this case we combined all the provinces of a certain region for a single hazard only.
  2. Create a recipe for the container (Sample Recipe)
  3. Create and publish tileset

Output

Screenshot from 2021-08-24 09-42-04

Findings

  • Multiple layers have their own file data source meaning it was uploaded with a different container which has less optimization process.

  • Multiple source processor optimizes the tiled area and the tileset itself because it is being loaded from a single container. This might reduce the process of loading the tiles in the map.

  • We can't process the multiple source of hazards in a single province tileset because it overlaps to other layers which contain the same field names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions