Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Reduce routing time calculation by scripts and tile management. #554

@MJokar67

Description

@MJokar67

Given the following repository link and terminal command:
Alpimaps valhalla route package

Create routing package command:
python ./scripts/build_valhalla_package.py --id $AREA --poly $AREA.poly --polymaxzoom=11 valhalla_tiles ${OUTPUT_DIR}/${AREA}/${AREA}.vtiles

What is the effect of changing --tilemask? There is also a tile_mask=10 hardcoded in the scripts.
What is the effect of changing --polymaxzoom=14 instead of 11?

I want to increase the speed of route calculation and file size is not my concern.

I have generated Iran and Russia map packages separately with --polymaxzoom=11
The route calculation performance of the Iran map is about 3 seconds in the worst case.
But for the Russia map with two route points 500 meters apart, the calculation time takes 3 seconds in the best case.

How can route calculation time be improved?

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