This task generates the pmtiles for a provided dataset. pmtiles are used for displaying routes and stops in the UI
Use task Id: build_pmtiles
The function receive the following payload:
{
"feed_stable_id": str,
"dataset_stable_id*: str
}
Example:
{
"feed_stable_id": "mdb-1004",
"dataset_stable_id": "mdb-1004-202507081807"
}The task will verify that the dataset stable id starts with the feed stable id (mdb-1004 in our example)
The function uses the following environment variables:
ENV: The environment to use. It can bedev,stagingorprod. Default isdev.DATASETS_BUCKET_NAME: The bucket name where the datasets are stored. The task will fail if this is not defined. The variable has to include the suffix, like-dev,-qaor-prod.