gis-ops / docker-valhalla

This is our flexible Docker repository for the Valhalla routing engine
MIT License
228 stars 69 forks source link

Including construction roads #109

Closed aez99 closed 1 year ago

aez99 commented 1 year ago

Hello,

Here is my docker-compose.yml

version: '3.0'
services:
  valhalla:
    image: gisops/valhalla:latest
    ports:
      - "8002:8002"
    volumes:
      - ./custom_files/:/custom_files
    environment:.
      - tile_urls=https://download.geofabrik.de/europe/turkey-latest.osm.pbf
      # Get correct bounding box from e.g. https://boundingbox.klokantech.com/
      - min_x=26 
      - min_y=36 
      - max_x=44 
      - max_y=41 
      - use_tiles_ignore_pbf=False #True
      - force_rebuild=True #False
      - force_rebuild_elevation=True #False
      - build_elevation=True
      - build_admins=True
      - build_time_zones=True

In order to include roads under construction in route planning I set include_construction to true in valhalla.json. Then I tried restarting the container, re-building (docker-compose up --build), and changing use_tiles_ignore_pbf/force_rebuild/force_rebuild_elevation to the commented out values then re-building but Valhalla still couldn't manage to set a route through the road under construction after any of these changes. Any ideas? Thanks in advance!

nilsnolde commented 1 year ago

force_rebuild=True should be enough to trigger another build. So:

aez99 commented 1 year ago

The logs are like this:

Attaching to gisopsdocker_valhalla_1
valhalla_1  | 
valhalla_1  | INFO: Running container with user valhalla UID 59999 and GID 59999.
valhalla_1  | 
valhalla_1  | WARNING: force_rebuild True.
valhalla_1  | INFO: Running build tiles with: /custom_files/valhalla.json /custom_files/turkey-latest.osm.pbf
valhalla_1  | 
valhalla_1  | ============================
valhalla_1  | = Build the initial graph. =
valhalla_1  | ============================
valhalla_1  | 2023/06/09 18:00:22.118176 [INFO] Start stage = initialize End stage = build
valhalla_1  | 2023/06/09 18:00:22.118302 [WARN] Non-empty /custom_files/valhalla_tiles/0 will be purged of tiles
valhalla_1  | 2023/06/09 18:00:22.122885 [WARN] Non-empty /custom_files/valhalla_tiles/1 will be purged of tiles
valhalla_1  | 2023/06/09 18:00:22.142332 [WARN] Non-empty /custom_files/valhalla_tiles/2 will be purged of tiles
valhalla_1  | 2023/06/09 18:00:22.213097 [INFO] Parsing files for ways: /custom_files/turkey-latest.osm.pbf
valhalla_1  | 2023/06/09 18:00:22.213210 [INFO] Parsing ways...
valhalla_1  | 2023/06/09 18:00:57.539522 [INFO] Added 935 culdesac roundabouts from 3301 candidates.
valhalla_1  | 2023/06/09 18:00:57.539540 [INFO] Finished with 1894955 routable ways containing 27405797 nodes
valhalla_1  | 2023/06/09 18:00:57.602899 [INFO] Sorting osm access tags by way id...
valhalla_1  | 2023/06/09 18:00:57.687553 [INFO] Sorting pronunciation indexes by way id...
valhalla_1  | 2023/06/09 18:00:57.687609 [INFO] Finished
valhalla_1  | 2023/06/09 18:00:57.695499 [INFO] Write OSMData to temp files
valhalla_1  | 2023/06/09 18:00:57.703477 [INFO] Done
valhalla_1  | 2023/06/09 18:00:57.704353 [INFO] Parsing files for relations: /custom_files/turkey-latest.osm.pbf
valhalla_1  | 2023/06/09 18:00:57.704409 [INFO] Parsing relations...
valhalla_1  | 2023/06/09 18:01:05.076279 [INFO] Finished with 2312 simple restrictions
valhalla_1  | 2023/06/09 18:01:05.076295 [INFO] Finished with 0 lane connections
valhalla_1  | 2023/06/09 18:01:05.076435 [INFO] Sorting complex restrictions by from id...
valhalla_1  | 2023/06/09 18:01:05.076951 [INFO] Sorting complex restrictions by to id...
valhalla_1  | 2023/06/09 18:01:05.077031 [INFO] Finished
valhalla_1  | 2023/06/09 18:01:05.077310 [INFO] Write OSMData to temp files
valhalla_1  | 2023/06/09 18:01:05.100299 [INFO] Done
valhalla_1  | 2023/06/09 18:01:05.101219 [INFO] Parsing files for nodes: /custom_files/turkey-latest.osm.pbf
valhalla_1  | 2023/06/09 18:01:05.101236 [INFO] Sorting osm way node references by node id...
valhalla_1  | 2023/06/09 18:01:10.246978 [INFO] Parsing nodes...
valhalla_1  | 2023/06/09 18:01:54.201959 [INFO] Finished with 24375018 nodes contained in routable ways
valhalla_1  | 2023/06/09 18:01:54.201975 [INFO] Sorting osm way node references by way index and node shape index...
valhalla_1  | 2023/06/09 18:01:59.720500 [INFO] Finished: max_osm_id 9718996897
valhalla_1  | 2023/06/09 18:01:59.720514 [INFO] Number of nodes with refs (exits) = 1277
valhalla_1  | 2023/06/09 18:01:59.720516 [INFO] Number of nodes with exit_to = 9
valhalla_1  | 2023/06/09 18:01:59.720518 [INFO] Number of nodes with names = 1646
valhalla_1  | 2023/06/09 18:01:59.720520 [INFO] Number of way refs = 0
valhalla_1  | 2023/06/09 18:01:59.720521 [INFO] Number of reverse way refs = 0
valhalla_1  | 2023/06/09 18:01:59.720523 [INFO] Unique Node Strings (names, refs, etc.) = 916
valhalla_1  | 2023/06/09 18:01:59.720524 [INFO] Unique Strings (names, refs, etc.) = 91521
valhalla_1  | 2023/06/09 18:01:59.720920 [INFO] Write OSMData to temp files
valhalla_1  | 2023/06/09 18:01:59.729162 [INFO] Done
valhalla_1  | 2023/06/09 18:01:59.729187 [INFO] Creating graph edges from ways...
valhalla_1  | 2023/06/09 18:02:00.408062 [INFO] Finished with 4384909 graph edges
valhalla_1  | 2023/06/09 18:02:00.463926 [INFO] Sorting graph...
valhalla_1  | 2023/06/09 18:02:02.009820 [INFO] Nodes processed. Sorting begin and end nodes by edge.
valhalla_1  | 2023/06/09 18:02:02.640590 [INFO] Sorting begin and end nodes done. Populating edges...
valhalla_1  | 2023/06/09 18:02:02.691926 [INFO] Finished with 3249085 graph nodes
valhalla_1  | 2023/06/09 18:02:02.712925 [INFO] Writing tile manifest to /custom_files/valhalla_tiles/tile_manifest.json
valhalla_1  | 2023/06/09 18:02:02.713092 [INFO] Reclassifying_V2 link graph edges...
valhalla_1  | 2023/06/09 18:02:03.105624 [INFO] Class: 0 exit count = 945
valhalla_1  | 2023/06/09 18:02:03.105639 [INFO] Class: 1 exit count = 11170
valhalla_1  | 2023/06/09 18:02:03.105641 [INFO] Class: 2 exit count = 6075
valhalla_1  | 2023/06/09 18:02:03.105643 [INFO] Class: 3 exit count = 6929
valhalla_1  | 2023/06/09 18:02:03.105644 [INFO] Class: 4 exit count = 5452
valhalla_1  | 2023/06/09 18:02:03.105645 [INFO] Class: 5 exit count = 803
valhalla_1  | 2023/06/09 18:02:03.105646 [INFO] Class: 6 exit count = 6091
valhalla_1  | 2023/06/09 18:02:03.105647 [INFO] Class: 7 exit count = 0
valhalla_1  | 2023/06/09 18:02:03.246380 [INFO] Finished with 27779 reclassified.  Turn channel count = 15623
valhalla_1  | 2023/06/09 18:02:03.286889 [INFO] Reclassifying ferry connection graph edges...
valhalla_1  | 2023/06/09 18:02:03.732702 [INFO] Finished ReclassifyFerryEdges: ferry_endpoint_count = 74, 1715 edges reclassified.
valhalla_1  | 2023/06/09 18:02:03.760380 [INFO] Building 1525 tiles with 16 threads...
valhalla_1  | 2023/06/09 18:04:26.772861 [INFO] Finished
valhalla_1  | 2023/06/09 18:04:26.773011 [INFO] Node Count = 3249085
valhalla_1  | 2023/06/09 18:04:26.773018 [INFO] Directed Edge Count = 8769818
valhalla_1  | 2023/06/09 18:04:26.773039 [INFO] EdgeInfo Count = 4428200
valhalla_1  | 
valhalla_1  | =================================
valhalla_1  | = Download the elevation tiles =
valhalla_1  | =================================
valhalla_1  | 2023-06-09 18:04:26,867  INFO: Downloaded 0 tiles. Exiting.
valhalla_1  | 
valhalla_1  | ===============================
valhalla_1  | = Enhancing the initial graph =
valhalla_1  | ===============================
valhalla_1  | 2023/06/09 18:04:26.893478 [INFO] Start stage = enhance End stage = cleanup
valhalla_1  | 2023/06/09 18:04:26.893567 [INFO] Read OSMData unique_names from temp file
valhalla_1  | 2023/06/09 18:04:26.914559 [INFO] Done
valhalla_1  | 2023/06/09 18:04:26.914583 [INFO] Enhancing local graph...
valhalla_1  | 2023/06/09 18:04:26.966939 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.968202 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.969287 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.969833 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.970043 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.970704 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.970706 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.970768 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.970996 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.971052 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.971425 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.971470 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.971621 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.971680 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.971720 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:26.971966 [INFO] Disabled default speeds assignment from config
valhalla_1  | 2023/06/09 18:04:40.427918 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:40.428307 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:40.428330 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:40.428339 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:46.450634 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:46.450671 [WARN] Local index 9 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:46.576240 [WARN] Local index 9 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:47.355988 [WARN] Local index 9 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:47.356161 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:47.356436 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:47.435715 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:47.435759 [WARN] Local index 10 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:04:56.935949 [WARN] Local index 8 exceeds max value of 7, returning heading of 0
valhalla_1  | 2023/06/09 18:05:07.482784 [INFO] Finished with max_density 37.460537
valhalla_1  | 2023/06/09 18:05:07.482799 [INFO] internal intersection = 103513
valhalla_1  | 2023/06/09 18:05:07.483335 [INFO] GraphFilter - nothing to filter. Skipping...
valhalla_1  | 2023/06/09 18:05:07.483349 [INFO] Transit directory not found. Transit will not be added.
valhalla_1  | 2023/06/09 18:05:07.483355 [INFO] HierarchyBuilder
valhalla_1  | 2023/06/09 18:05:16.507242 [INFO] Done HierarchyBuilder
valhalla_1  | 2023/06/09 18:05:16.508870 [INFO] Creating shortcuts on level 1
valhalla_1  | 2023/06/09 18:05:20.635435 [INFO] Finished with 262308 shortcuts
valhalla_1  | 2023/06/09 18:05:20.635448 [INFO] Creating shortcuts on level 0
valhalla_1  | 2023/06/09 18:05:21.440173 [INFO] Finished with 52276 shortcuts
valhalla_1  | 2023/06/09 18:05:21.456198 [INFO] Adding elevation to 1626 tiles with 16 threads...
valhalla_1  | 2023/06/09 18:05:22.758137 [INFO] Finished
valhalla_1  | 2023/06/09 18:05:22.797797 [INFO] Adding Restrictions at level 2
valhalla_1  | 2023/06/09 18:05:25.084154 [INFO] --Forward restrictions added: 1715510866
valhalla_1  | 2023/06/09 18:05:25.084173 [INFO] --Reverse restrictions added: 130404
valhalla_1  | 2023/06/09 18:05:25.084470 [INFO] Adding Restrictions at level 1
valhalla_1  | 2023/06/09 18:05:25.956520 [INFO] --Forward restrictions added: 86
valhalla_1  | 2023/06/09 18:05:25.956540 [INFO] --Reverse restrictions added: 84
valhalla_1  | 2023/06/09 18:05:25.956629 [INFO] Adding Restrictions at level 0
valhalla_1  | 2023/06/09 18:05:26.243778 [INFO] --Forward restrictions added: 99
valhalla_1  | 2023/06/09 18:05:26.243797 [INFO] --Reverse restrictions added: 96
valhalla_1  | 2023/06/09 18:05:26.243806 [INFO] Finished
valhalla_1  | 2023/06/09 18:05:26.243822 [INFO] Validating, finishing and binning tiles...
valhalla_1  | 2023/06/09 18:05:28.844782 [INFO] Finished
valhalla_1  | 2023/06/09 18:05:28.844800 [INFO] Binning inter-tile edges...
valhalla_1  | 2023/06/09 18:05:29.008473 [INFO] Finished
valhalla_1  | 2023/06/09 18:05:29.008497 [WARN] Possible duplicates at level: 0 = 0
valhalla_1  | 2023/06/09 18:05:29.008501 [WARN] Possible duplicates at level: 1 = 90
valhalla_1  | 2023/06/09 18:05:29.008503 [WARN] Possible duplicates at level: 2 = 0
valhalla_1  | 2023/06/09 18:05:29.075856 [INFO] Cleaning up temporary *.bin files within /custom_files/valhalla_tiles/
valhalla_1  | INFO: Successfully built files: /custom_files/turkey-latest.osm.pbf
valhalla_1  | INFO: Hashing files: /custom_files/turkey-latest.osm.pbf
valhalla_1  | INFO: Hashing file: /custom_files/turkey-latest.osm.pbf
valhalla_1  | e0cdf9b432e10a331afe32749fbe4eda5e188ea59f45265baa4b80b3e8b3ffef
valhalla_1  | 2023-06-09 18:05:30,439  INFO: Finished tarring 1878 tiles to /custom_files/valhalla_tiles.tar
valhalla_1  | WARNING: User valhalla is running with sudo privileges. Try building the image with a host user's UID & GID.
valhalla_1  | INFO: Found config file. Starting valhalla service!
valhalla_1  | 2023/06/09 18:05:31.159989 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.159995 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.160066 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.160099 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.160115 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160114 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160120 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160121 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.160123 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.160139 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.160155 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160162 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.160422 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.160444 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160447 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.160622 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.160644 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160647 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.160657 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.160674 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160678 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.160843 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.160885 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160890 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.160900 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.160916 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.160935 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.161140 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.161154 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.161157 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.162393 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.162410 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.162412 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.162769 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.162790 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.162807 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.163001 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.163023 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.163027 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.163035 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.163053 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.163056 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.163295 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.163333 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.163337 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.163340 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.163349 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.163353 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.163526 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.163543 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.163547 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.163880 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.163893 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.163896 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.168208 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.168269 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.168273 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.168458 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.168460 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.168483 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.168487 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.168503 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.168509 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.168883 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.168902 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.168907 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.168979 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.168994 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.168997 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.169784 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.169804 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.169810 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.169911 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.169930 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.169934 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.170187 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.170205 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.170209 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.170334 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.170354 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.170359 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.171724 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.171737 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.171739 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.173959 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.173979 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.173984 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.174539 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.174553 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.174556 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.213359 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.213381 [INFO] Tile extract successfully loaded with tile count: 1878
valhalla_1  | 2023/06/09 18:05:31.213391 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.213393 [WARN] Traffic tile extract could not be loaded
valhalla_1  | 2023/06/09 18:05:31.213402 [WARN] (stat):  No such file or directory
valhalla_1  | 2023/06/09 18:05:31.213406 [WARN] Traffic tile extract could not be loaded

So I think it's building a new graph?

Also, inside the custom_files folder, based on the timestamps only (duplicateways.txt, file_hashes.txt, valhalla.json, valhalla_tiles/) were updated while (admin_data/, elevation_data/, timezone_data/, turkey-latest.osm.pbf, valhalla_tiles.tar) weren't updated. I tried deleting valhalla_tiles.tar and let it create a new one. Still didn't work. Do I need to delete the other files/folders and let it generate new ones?

nilsnolde commented 1 year ago

Hm.. maybe there's a small bug where valhalla_tiles.tar isn't really updated..

I tried deleting valhalla_tiles.tar and let it create a new one. Still didn't work.

what does that mean? the tar wasn't re-created? then it should still work, though not ideal..

aez99 commented 1 year ago

It created a new tar after I deleted the existing one then re-built. However, it still won't generate a route through the closed road

The generated polyline avoids the closed road see here, although the given start (41.2276519027, 28.8426411152) and end (41.2316096885, 28.8437837362) points are both within the closed road so it should return a small straight route along the ongoing road.

aez99 commented 1 year ago

@nilsnolde I'm checking the pr https://github.com/valhalla/valhalla/pull/3455 which introduced the include_construction flag and even though the construction roads will be added to the graph if the flag is set to true, it seems that roads under construction are still non-routable, is that right?

nilsnolde commented 1 year ago

Oh yeah, you’re right, it even says it in the PR description: „Such roads are still completely excluded from routing“. You can alter the source code and build a custom docker image, I think it’d be fairly straightforward.