Skip to content

valhalla issue with non-planet pbf extract. #2

@farfromrefug

Description

@farfromrefug

So i am testing the whole generation of valhalla vtiles.
Obviously i am trying on a small extract
https://download.geofabrik.de/europe/france/rhone-alpes.html
Now i generate my valhalla tiles like this:

 valhalla_build_tiles -c conf/valhalla.json ../rhone-alpes-latest.osm.pbf

then i generate the packages.json.template like this (the pbf file being in ../)

python3 scripts/build_poly_tilemasks.py ../ ../ 

So i get that json template

{"packages": [{"id": "rhone-alpes", "version": 1, "tile_mask": "wPzMwMwwMDAwMRzDDAwXDBA8MMBMwHBXPAcFXwVV/UXEVV90dFXwwQPRDRcEH3RHRDdEXDRQ8zMTUTAwEzMRMQAzMxExUzUAMwwVPUUf19RcVV9dRXxFVd3dEdFVfXXUVfxVVVczMTUTMRMRMzUVEzzATEXwHFcVXMxExENdcQXXX1dE9RcQ0DdATMBMRUzPM/EXEXV1QAD/1QDMQAP1HRMQPUUxEzETEA1/UUEU88Q1ExEzEA111FT8RcRXxFwFTM/EUxDdQ1AAAAAD/DwzAzAwHAwHwVXMzATEDATMxExAP8FwVcDAV8xXBVXXXEVfwwMBwwQwwMEPMVxV9FwVV/AVfRDRB9FwVcMwMB8FVfDBA9FEH1d0RPdE1AA3dEdEdHRA/8MFDcFXB0TDAxHwHBV3dEVfMQwXFVf8VVVVXfd0RHcEdFwwwUHTdEdFHfdQdFNdU0A3cEVfDRcEHcFV1d1dUfVPRAN0RcMEPDDDBwUA/dEfRDBA30Q0U1dE9EAD90TUAAAA/1119E1DRD1FVd3dNEN1BB9EN0VcMFH3XVMRfRMR0TEd3RFXdHRV8xAwX1FwUd0Vf/QAXEV81AE8RVXz1FxFMcRXPEXEUzUQ111FdXV3RHQNdf0QDxFxFPEEdXV1TdXXVH1dU9AxAPRAD1ADw/DBA9ENEAwwwQAP/RDRA0dED3RHRBA/dEdEN0BAAPz8RcRXxBMQ1NRD3V0R9UA/QAAPxDQAAA8/UUPUAAAAAAAAAAAA", "url": "", "metainfo": {"name_en": "rhone-alpes"}, "size": 0}], "metainfo": {}}

But when i try to generate the vtiles

python3 scripts/build_valhalla_packages.py ../packages.json.template ../valhalla_build/valhalla_tiles ../ 

i end up with an empty vtiles and get those warnings:

valhalla_build/valhalla_tiles/2/000/548/107.gph does not exist!
Warning: File ../valhalla_build/valhalla_tiles/2/000/549/547.gph does not exist!
Warning: File ../valhalla_build/valhalla_tiles/2/000/550/987.gph does not exist!
Warning: File ../valhalla_build/valhalla_tiles/2/000/552/427.gph does not exist!
Warning: File ../valhalla_build/valhalla_tiles/2/000/553/867.gph does not exist!
Warning: File ../valhalla_build/valhalla_tiles/2/000/555/307.gph does not exist!
Warning: File ../valhalla_build/valhalla_tiles/2/000/556/747.gph does not exist!
Warning: File ../valhalla_build/valhalla_tiles/2/000/558/187.gph does not exist!
....

Indeed those tiles do not exists. The ids seems wrong.
Those are the dir that i actually have in
Screen Shot 2020-04-19 at 22 54 16

Could the tilemask be computed wrong?
Or do you think it valhalla generating the wrong tiles?

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