Unable to find walking route on local server

Hi,

I have been trying to create a locally hosted openrouteservice. I use the Belgium PBF from Geofabrik and try to get directions for pedestrians.

The problem that I am facing is that the server does generate a route when using “driving-car”. But when I am trying to generate a route using “foot-walking” I get the following error: “Unable to get an appropriate route profile for RoutePreference = foot-walking”.

I have used exactly the same coordinates and the distance between both points is 371.6. So it is not a big distance.

I have also tried the same queries on the “api.openrouteservice.org/v2/directions/” server and there everything is working fine. But when I exactly the same coordinates locally it generates the error.

This is the API call I try to use locally (This one is not working):
http://localhost:8080/ors/v2/directions/foot-walking?start=5.353218,50.768706&end=5.357486,50.770095

This is the same call but on the public server:
https://api.openrouteservice.org/v2/directions/foot-walking?api_key=mykey&start=5.353218,50.768706&end=5.357486,50.770095

The Belgium PBF I am using on the my server:
https://download.geofabrik.de/europe/belgium.html

Hey,

could you provide

  • your config file
  • the log output that is generated from starting the ors and issueing the API call?

Thank you very much :slight_smile:

Hi,

Thanks for the fast answer :slight_smile: ! I do want to note that I have not added a custom ors configuration.

Here is the ors.log file:

2021-10-01 07:05:02,391 INFO [ors.Application] - Starting Application v6.6.1 on 04e58f76333a with PID 122 (/usr/local/tomcat/webapps/ors/WEB-INF/classes started by root in /ors-core)
2021-10-01 07:05:02,454 DEBUG [ors.Application] - Running with Spring Boot v2.3.5.RELEASE, Spring v5.2.10.RELEASE
2021-10-01 07:05:02,459 INFO [ors.Application] - No active profile set, falling back to default profiles: default
2021-10-01 07:05:07,709 INFO [ors.Application] - Started Application in 7.079 seconds (JVM running for 15.675)
2021-10-01 07:05:08,011 INFO [routing.RoutingProfileManager] -  Total - 1.00 GB, Free - 791.07 MB, Max: 2 GB, Used - 234.93 MB
2021-10-01 07:05:08,019 INFO [routing.RoutingProfileManager] -       
2021-10-01 07:05:08,176 INFO [routing.RoutingProfileManager] - ====> Initializing profiles from 'data/osm_file.pbf' (1 threads) ...
2021-10-01 07:05:08,183 INFO [routing.RoutingProfileManager] -                               
2021-10-01 07:05:08,208 INFO [routing.RoutingProfileManager] -                
2021-10-01 07:05:08,315 INFO [routing.RoutingProfile] - [1] Profiles: 'driving-car', location: 'data/graphs/car'.
2021-10-01 07:15:21,914 INFO [core.PrepareCore] - 0, updates:0, nodes: 902 218, shortcuts:0, dijkstras:3 215 591, t(dijk):31.69, t(period):0.0, t(lazy):0.0, t(neighbor):0.0, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1242
2021-10-01 07:17:55,128 INFO [core.PrepareCore] - 180 444, updates:2, nodes: 721 774, shortcuts:2 491, dijkstras:8 893 934, t(dijk):126.35, t(period):137.73, t(lazy):0.0, t(neighbor):11.88, meanDegree:1, algo:13MB, totalMB:1725, usedMB:934
2021-10-01 07:19:55,685 INFO [core.PrepareCore] - 360 888, updates:4, nodes: 541 330, shortcuts:50 650, dijkstras:13 346 352, t(dijk):200.2, t(period):240.15, t(lazy):0.0, t(neighbor):25.86, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1032
2021-10-01 07:22:13,375 INFO [core.PrepareCore] - 541 332, updates:6, nodes: 360 886, shortcuts:250 931, dijkstras:18 126 817, t(dijk):284.32, t(period):317.74, t(lazy):0.0, t(neighbor):70.94, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1167
2021-10-01 07:24:12,763 INFO [core.PrepareCore] - 721 776, updates:8, nodes: 180 442, shortcuts:439 648, dijkstras:22 109 841, t(dijk):356.1, t(period):368.82, t(lazy):0.0, t(neighbor):123.28, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1282
2021-10-01 07:26:54,483 INFO [core.PrepareCore] - took:757, new shortcuts: 715 026, prepare|fastest|car-ors, dijkstras:28258853, t(dijk):451.13, t(period):378.67, t(lazy):15.18, t(neighbor):235.69, meanDegree:5, initSize:902218, periodic:10, lazy:10, neighbor:90, totalMB:1725, usedMB:984
2021-10-01 07:27:55,112 INFO [core.PrepareCore] - 0, updates:0, nodes: 902 218, shortcuts:0, dijkstras:3 215 591, t(dijk):30.32, t(period):0.0, t(lazy):0.0, t(neighbor):0.0, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1062
2021-10-01 07:30:18,816 INFO [core.PrepareCore] - 180 444, updates:2, nodes: 721 774, shortcuts:1 989, dijkstras:8 905 546, t(dijk):116.72, t(period):131.06, t(lazy):0.0, t(neighbor):10.14, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1188
2021-10-01 07:32:24,763 INFO [core.PrepareCore] - 360 888, updates:4, nodes: 541 330, shortcuts:66 919, dijkstras:13 575 639, t(dijk):192.39, t(period):236.82, t(lazy):0.0, t(neighbor):25.82, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1292
2021-10-01 07:34:52,365 INFO [core.PrepareCore] - 541 332, updates:6, nodes: 360 886, shortcuts:265 829, dijkstras:18 634 930, t(dijk):280.78, t(period):324.27, t(lazy):0.0, t(neighbor):71.75, meanDegree:1, algo:13MB, totalMB:1725, usedMB:989
2021-10-01 07:37:15,919 INFO [core.PrepareCore] - 721 776, updates:8, nodes: 180 442, shortcuts:497 702, dijkstras:23 678 553, t(dijk):365.37, t(period):382.19, t(lazy):0.0, t(neighbor):138.87, meanDegree:2, algo:13MB, totalMB:1725, usedMB:1115
2021-10-01 07:43:50,761 INFO [core.PrepareCore] - took:1017, new shortcuts: 893 993, prepare|shortest|car-ors, dijkstras:39353408, t(dijk):604.28, t(period):400.25, t(lazy):34.75, t(neighbor):441.64, meanDegree:8, initSize:902218, periodic:10, lazy:10, neighbor:90, totalMB:1725, usedMB:1276
2021-10-01 07:47:49,313 INFO [routing.RoutingProfile] - [1] FlagEncoders: 1, bits used [UNKNOWN]/64.
2021-10-01 07:47:49,314 INFO [routing.RoutingProfile] - [1] Capacity: [UNKNOWN]. (edges - 1163561, nodes - 902218)
2021-10-01 07:47:49,317 INFO [routing.RoutingProfile] - [1] Total time: 2561.002s.
2021-10-01 07:47:49,320 INFO [routing.RoutingProfile] - [1] Finished at: 2021-10-01 07:47:49.
2021-10-01 07:47:49,322 INFO [routing.RoutingProfile] -                               
2021-10-01 07:47:49,330 INFO [routing.RoutingProfileManager] - Total time: 2561.307s.
2021-10-01 07:47:49,332 INFO [routing.RoutingProfileManager] - ========================================================================
2021-10-01 07:47:49,339 INFO [routing.RoutingProfileManager] - ====> Recycling garbage...
2021-10-01 07:47:49,341 INFO [routing.RoutingProfileManager] - Before:  Total - 1.88 GB, Free - 337.71 MB, Max: 2 GB, Used - 1.55 GB
2021-10-01 07:47:49,443 INFO [routing.RoutingProfileManager] - After:  Total - 1.88 GB, Free - 1.26 GB, Max: 2 GB, Used - 632.27 MB
2021-10-01 07:47:49,445 INFO [routing.RoutingProfileManager] - ========================================================================
2021-10-01 07:47:49,447 INFO [routing.RoutingProfileManager] - ====> Memory usage by profiles:
2021-10-01 07:47:49,500 INFO [routing.RoutingProfileManager] - [1] 252.03 MB (39.9%)
2021-10-01 07:47:49,502 INFO [routing.RoutingProfileManager] - Total: 252.03 MB (39.9%)
2021-10-01 07:47:49,504 INFO [routing.RoutingProfileManager] - ========================================================================
2021-10-01 08:02:00,791 INFO [util.SystemMessage] - SystemMessage loaded 0 messages.

This is my ors-config.json file:

{
  "ors": {
    "info": {
      "base_url": "https://openrouteservice.org/",
      "support_mail": "support@openrouteservice.org",
      "author_tag": "openrouteservice",
      "content_licence": "LGPL 3.0"
    },
    "services": {
      "matrix": {
        "enabled": true,
        "maximum_routes": 100,
        "maximum_routes_flexible": 25,
        "maximum_search_radius": 5000,
        "maximum_visited_nodes": 100000,
        "allow_resolve_locations": true,
        "attribution": "openrouteservice.org, OpenStreetMap contributors"
      },
      "isochrones": {
        "enabled": true,
        "maximum_range_distance": [
          {
            "profiles": "any",
            "value": 50000
          },
          {
            "profiles": "driving-car, driving-hgv",
            "value": 100000
          }
        ],
        "maximum_range_time": [
          {
            "profiles": "any",
            "value": 18000
          },
          {
            "profiles": "driving-car, driving-hgv",
            "value": 3600
          }
        ],
        "fastisochrones": {
          "maximum_range_distance": [
            {
              "profiles": "any",
              "value": 50000
            },
            {
              "profiles": "driving-car, driving-hgv",
              "value": 500000
            }
          ],
          "maximum_range_time": [
            {
              "profiles": "any",
              "value": 18000
            },
            {
              "profiles": "driving-car, driving-hgv",
              "value": 10800
            }
          ],
          "profiles": {
            "default_params": {
              "enabled": false,
              "threads": 12,
              "weightings": "recommended",
              "maxcellnodes": 5000
            },
            "profile-hgv": {
              "enabled": true,
              "threads": 12,
              "weightings": "recommended, shortest",
              "maxcellnodes": 5000
            }
          }
        },
        "maximum_intervals": 10,
        "maximum_locations": 2,
        "allow_compute_area": true
      },
      "routing": {
        "enabled": true,
        "mode": "normal",
        "routing_description": "This is a routing file from openrouteservice",
        "routing_name": "openrouteservice routing",
        "sources": [
          "data/osm_file.pbf"
        ],
        "init_threads": 1,
        "attribution": "openrouteservice.org, OpenStreetMap contributors",
        "elevation_preprocessed": false,
        "profiles": {
          "active": [
            "car"
          ],
          "default_params": {
            "encoder_flags_size": 8,
            "graphs_root_path": "data/graphs",
            "elevation_provider": "multi",
            "elevation_cache_path": "data/elevation_cache",
            "elevation_cache_clear": false,
            "instructions": true,
            "maximum_distance": 100000,
            "maximum_distance_dynamic_weights": 100000,
            "maximum_distance_avoid_areas": 100000,
            "maximum_waypoints": 50,
            "maximum_snapping_radius": 400,
            "maximum_avoid_polygon_area": 200000000,
            "maximum_avoid_polygon_extent": 20000,
            "maximum_distance_alternative_routes": 100000,
            "maximum_alternative_routes": 3,
            "maximum_distance_round_trip_routes": 100000,
            "maximum_speed_lower_bound": 80,
            "preparation": {
              "min_network_size": 200,
              "min_one_way_network_size": 200,
              "methods": {
                "lm": {
                  "enabled": true,
                  "threads": 1,
                  "weightings": "recommended,shortest",
                  "landmarks": 16
                }
              }
            },
            "execution": {
              "methods": {
                "lm": {
                  "disabling_allowed": true,
                  "active_landmarks": 8
                }
              }
            }
          },
          "profile-car": {
            "profiles": "driving-car",
            "parameters": {
              "encoder_flags_size": 8,
              "encoder_options": "turn_costs=true|block_fords=false|use_acceleration=true",
              "maximum_distance": 100000,
              "elevation": true,
              "maximum_snapping_radius": 350,
              "preparation": {
                "min_network_size": 200,
                "min_one_way_network_size": 200,
                "methods": {
                  "ch": {
                    "enabled": true,
                    "threads": 1,
                    "weightings": "fastest"
                  },
                  "lm": {
                    "enabled": false,
                    "threads": 1,
                    "weightings": "fastest,shortest",
                    "landmarks": 16
                  },
                  "core": {
                    "enabled": true,
                    "threads": 1,
                    "weightings": "fastest,shortest",
                    "landmarks": 64,
                    "lmsets": "highways;allow_all"
                  }
                }
              },
              "execution": {
                "methods": {
                  "ch": {
                    "disabling_allowed": true
                  },
                  "lm": {
                    "disabling_allowed": true,
                    "active_landmarks": 6
                  },
                  "core": {
                    "disabling_allowed": true,
                    "active_landmarks": 6
                  }
                }
              },
              "ext_storages": {
                "WayCategory": {},
                "HeavyVehicle": {},
                "WaySurfaceType": {},
                "RoadAccessRestrictions": {
                  "use_for_warnings": true
                }
              }
            }
          },
          "profile-hgv": {
            "profiles": "driving-hgv",
            "parameters": {
              "encoder_flags_size": 8,
              "encoder_options": "turn_costs=true|block_fords=false|use_acceleration=true",
              "maximum_distance": 100000,
              "elevation": true,
              "preparation": {
                "min_network_size": 200,
                "min_one_way_network_size": 200,
                "methods": {
                  "ch": {
                    "enabled": true,
                    "threads": 1,
                    "weightings": "recommended"
                  },
                  "core": {
                    "enabled": true,
                    "threads": 1,
                    "weightings": "recommended,shortest",
                    "landmarks": 64,
                    "lmsets": "highways;allow_all"
                  }
                }
              },
              "execution": {
                "methods": {
                  "ch": {
                    "disabling_allowed": true
                  },
                  "core": {
                    "disabling_allowed": true,
                    "active_landmarks": 6
                  }
                }
              },
              "ext_storages": {
                "WayCategory": {},
                "HeavyVehicle": {
                  "restrictions": true
                },
                "WaySurfaceType": {}
              }
            }
          },
          "profile-bike-regular": {
            "profiles": "cycling-regular",
            "parameters": {
              "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
              "elevation": true,
              "ext_storages": {
                "WayCategory": {},
                "WaySurfaceType": {},
                "HillIndex": {},
                "TrailDifficulty": {}
              }
            }
          },
          "profile-bike-mountain": {
            "profiles": "cycling-mountain",
            "parameters": {
              "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
              "elevation": true,
              "ext_storages": {
                "WayCategory": {},
                "WaySurfaceType": {},
                "HillIndex": {},
                "TrailDifficulty": {}
              }
            }
          },
          "profile-bike-road": {
            "profiles": "cycling-road",
            "parameters": {
              "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
              "elevation": true,
              "ext_storages": {
                "WayCategory": {},
                "WaySurfaceType": {},
                "HillIndex": {},
                "TrailDifficulty": {}
              }
            }
          },
          "profile-bike-electric": {
            "profiles": "cycling-electric",
            "parameters": {
              "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
              "elevation": true,
              "ext_storages": {
                "WayCategory": {},
                "WaySurfaceType": {},
                "HillIndex": {},
                "TrailDifficulty": {}
              }
            }
          },
          "profile-walking": {
            "profiles": "foot-walking",
            "parameters": {
              "encoder_options": "block_fords=false",
              "elevation": true,
              "ext_storages": {
                "WayCategory": {},
                "WaySurfaceType": {},
                "HillIndex": {},
                "TrailDifficulty": {}
              }
            }
          },
          "profile-hiking": {
            "profiles": "foot-hiking",
            "parameters": {
              "encoder_options": "block_fords=false",
              "elevation": true,
              "ext_storages": {
                "WayCategory": {},
                "WaySurfaceType": {},
                "HillIndex": {},
                "TrailDifficulty": {}
              }
            }
          },
          "profile-wheelchair": {
            "profiles": "wheelchair",
            "parameters": {
              "encoder_options": "block_fords=true",
              "elevation": true,
              "maximum_snapping_radius": 50,
              "ext_storages": {
                "WayCategory": {},
                "WaySurfaceType": {},
                "Wheelchair": {
                  "KerbsOnCrossings": "true"
                },
                "OsmId": {}
              }
            }
          }
        }
      }
    },
    "logging": {
      "enabled": true,
      "level_file": "DEBUG_LOGGING.json",
      "location": "/var/log/ors",
      "stdout": true
    },
    "system_message": [
      {
        "active": false,
        "text": "This message would be sent with every routing bike fastest request",
        "condition": {
          "request_service": "routing",
          "request_profile": "cycling-regular,cycling-mountain,cycling-road,cycling-electric",
          "request_preference": "fastest"
        }
      },
      {
        "active": false,
        "text": "This message would be sent with every request for geojson response",
        "condition": {
          "api_format": "geojson"
        }
      },
      {
        "active": false,
        "text": "This message would be sent with every request on API v1 from January 2020 until June 2050",
        "condition": {
          "api_version": 1,
          "time_after": "2020-01-01T00:00:00Z",
          "time_before": "2050-06-01T00:00:00Z"
        }
      },
      {
        "active": false,
        "text": "This message would be sent with every request"
      }
    ]
  }
}

My localhost.2020-10-01.log:

01-Oct-2021 07:04:59.817 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log 2 Spring WebApplicationInitializers detected on classpath
01-Oct-2021 07:05:04.742 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring embedded WebApplicationContext
01-Oct-2021 07:05:08.651 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
01-Oct-2021 07:05:08.652 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
01-Oct-2021 07:05:08.656 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@60f7c8ee')
01-Oct-2021 07:29:27.142 INFO [http-nio-8080-exec-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcherServlet'

This is my docker-compose:

version: '2.4'
services:
  ors-app:
    container_name: ors-app
    ports:
      - 8080:8080
      - 9001:9001
    image: openrouteservice/openrouteservice:latest
#    build:
#      context: ../
#      args:
#        ORS_CONFIG: ./openrouteservice/src/main/resources/ors-config-sample.json
#        OSM_FILE: ./openrouteservice/src/main/files/heidelberg.osm.gz
    user: "${ORS_UID:-0}:${ORS_GID:-0}"
    volumes:
      - ./graphs:/ors-core/data/graphs
      - ./elevation_cache:/ors-core/data/elevation_cache
      - ./logs/ors:/var/log/ors
      - ./logs/tomcat:/usr/local/tomcat/logs
      - ./conf:/ors-conf
      - ./belgium-latest.osm.pbf:/ors-core/data/osm_file.pbf
    environment:
      - BUILD_GRAPHS=True  # Forces the container to rebuild the graphs, e.g. when PBF is changed
      - "JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:ParallelGCThreads=4 -Xms1g -Xmx2g"
      - "CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.rmi.port=9001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost"

Hey,

the problem here is the following line in your config:

This means that the only profile that graphs are being built for is the car-profile, and this leads to your error:

Why this happens is not that obvious.
You are using a docker setup, and this uses the Dockerfile. Lines 49 and 50 are your problem: They delete all but the car profile.

You can provide a custom config (i.e. the copied ors-config-sample.json, named ors-config.json, in the conf-directory, and change this line:

to

-  ./conf:/ors-conf:ro

such that it gets mounted read-only.

Hope that helps,
best regards

Dear jschnell,

Thank you for the help. I have made a file called “ors-config.json” inside the directory of the “docker-compose.yml” file. Inside this file I have pasted exactly the same JSON as the dockerfile on github.

Now I have noticed that inside my folder structure inside the “conf” folder there no longer is a conf file. This is I think due to using my own config file?

But I still cannot get a walking route. I have now switched to the Andorra file in order to make the build process a bit faster for testing.

Then I have tried to update the “docker-compose.yml” file to change the conf file :

./conf:/ors-conf:ro

The docker-compose file:

version: '2.4'
services:
  ors-app:
    container_name: ors-app
    ports:
      - 8080:8080
      - 9001:9001
    image: openrouteservice/openrouteservice:latest
#    build:
#      context: ../
#      args:
#        ORS_CONFIG: ./openrouteservice/src/main/resources/ors-config-sample.json
#        OSM_FILE: ./openrouteservice/src/main/files/heidelberg.osm.gz
    user: "${ORS_UID:-0}:${ORS_GID:-0}"
    volumes:
      - ./graphs:/ors-core/data/graphs
      - ./elevation_cache:/ors-core/data/elevation_cache
      - ./logs/ors:/var/log/ors
      - ./logs/tomcat:/usr/local/tomcat/logs
      - ./conf:/ors-conf:ro
      - ./andorra-latest.osm.pbf:/ors-core/data/osm_file.pbf
    environment:
      - BUILD_GRAPHS=True  # Forces the container to rebuild the graphs, e.g. when PBF is changed
      - "JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:ParallelGCThreads=4 -Xms1g -Xmx2g"
      - "CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.rmi.port=9001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost"


the ors-config.json file:

{
    "ors": {
        "info": {
            "base_url": "https://openrouteservice.org/",
            "support_mail": "support@openrouteservice.org",
            "author_tag": "openrouteservice",
            "content_licence": "LGPL 3.0"
        },
        "services": {
            "matrix": {
                "enabled": true,
                "maximum_routes": 100,
                "maximum_routes_flexible": 25,
                "maximum_search_radius": 5000,
                "maximum_visited_nodes": 100000,
                "allow_resolve_locations": true,
                "attribution": "openrouteservice.org, OpenStreetMap contributors"
            },
            "isochrones": {
                "enabled": true,
                "maximum_range_distance": [
                    {
                        "profiles": "any",
                        "value": 50000
                    },
                    {
                        "profiles": "driving-car, driving-hgv",
                        "value": 100000
                    }
                ],
                "maximum_range_time": [
                    {
                        "profiles": "any",
                        "value": 18000
                    },
                    {
                        "profiles": "driving-car, driving-hgv",
                        "value": 3600
                    }
                ],
                "fastisochrones": {
                    "maximum_range_distance": [
                        {
                            "profiles": "any",
                            "value": 50000
                        },
                        {
                            "profiles": "driving-car, driving-hgv",
                            "value": 500000
                        }
                    ],
                    "maximum_range_time": [
                        {
                            "profiles": "any",
                            "value": 18000
                        },
                        {
                            "profiles": "driving-car, driving-hgv",
                            "value": 10800
                        }
                    ],
                    "profiles": {
                        "default_params": {
                            "enabled": false,
                            "threads": 12,
                            "weightings": "recommended",
                            "maxcellnodes": 5000
                        },
                        "profile-hgv": {
                            "enabled": true,
                            "threads": 12,
                            "weightings": "recommended, shortest",
                            "maxcellnodes": 5000
                        }
                    }
                },
                "maximum_intervals": 10,
                "maximum_locations": 2,
                "allow_compute_area": true
            },
            "routing": {
                "enabled": true,
                "mode": "normal",
                "routing_description": "This is a routing file from openrouteservice",
                "routing_name": "openrouteservice routing",
                "sources": [
                    "openrouteservice/src/main/files/heidelberg.osm.gz"
                ],
                "init_threads": 2,
                "attribution": "openrouteservice.org, OpenStreetMap contributors",
                "elevation_preprocessed": false,
                "profiles": {
                    "active": [
                        "car",
                        "hgv",
                        "bike-regular",
                        "bike-mountain",
                        "bike-road",
                        "bike-electric",
                        "walking",
                        "hiking",
                        "wheelchair"
                    ],
                    "default_params": {
                        "encoder_flags_size": 8,
                        "graphs_root_path": "graphs",
                        "elevation_provider": "multi",
                        "elevation_cache_path": "cgiar_provider",
                        "elevation_cache_clear": false,
                        "instructions": true,
                        "maximum_distance": 100000,
                        "maximum_distance_dynamic_weights": 100000,
                        "maximum_distance_avoid_areas": 100000,
                        "maximum_waypoints": 50,
                        "maximum_snapping_radius": 400,
                        "maximum_avoid_polygon_area": 200000000,
                        "maximum_avoid_polygon_extent": 20000,
                        "maximum_distance_alternative_routes": 100000,
                        "maximum_alternative_routes": 3,
                        "maximum_distance_round_trip_routes": 100000,
                        "maximum_speed_lower_bound": 80,
                        "preparation": {
                            "min_network_size": 200,
                            "min_one_way_network_size": 200,
                            "methods": {
                                "lm": {
                                    "enabled": true,
                                    "threads": 1,
                                    "weightings": "recommended,shortest",
                                    "landmarks": 16
                                }
                            }
                        },
                        "execution": {
                            "methods": {
                                "lm": {
                                    "disabling_allowed": true,
                                    "active_landmarks": 8
                                }
                            }
                        }
                    },
                    "profile-car": {
                        "profiles": "driving-car",
                        "parameters": {
                            "encoder_flags_size": 8,
                            "encoder_options": "turn_costs=true|block_fords=false|use_acceleration=true",
                            "maximum_distance": 100000,
                            "elevation": true,
                            "maximum_snapping_radius": 350,
                            "preparation": {
                                "min_network_size": 200,
                                "min_one_way_network_size": 200,
                                "methods": {
                                    "ch": {
                                        "enabled": true,
                                        "threads": 1,
                                        "weightings": "fastest"
                                    },
                                    "lm": {
                                        "enabled": false,
                                        "threads": 1,
                                        "weightings": "fastest,shortest",
                                        "landmarks": 16
                                    },
                                    "core": {
                                        "enabled": true,
                                        "threads": 1,
                                        "weightings": "fastest,shortest",
                                        "landmarks": 64,
                                        "lmsets": "highways;allow_all"
                                    }
                                }
                            },
                            "execution": {
                                "methods": {
                                    "ch": {
                                        "disabling_allowed": true
                                    },
                                    "lm": {
                                        "disabling_allowed": true,
                                        "active_landmarks": 6
                                    },
                                    "core": {
                                        "disabling_allowed": true,
                                        "active_landmarks": 6
                                    }
                                }
                            },
                            "ext_storages": {
                                "WayCategory": {},
                                "HeavyVehicle": {},
                                "WaySurfaceType": {},
                                "RoadAccessRestrictions": {
                                    "use_for_warnings": true
                                }
                            }
                        }
                    },
                    "profile-hgv": {
                        "profiles": "driving-hgv",
                        "parameters": {
                            "encoder_flags_size": 8,
                            "encoder_options": "turn_costs=true|block_fords=false|use_acceleration=true",
                            "maximum_distance": 100000,
                            "elevation": true,
                            "preparation": {
                                "min_network_size": 200,
                                "min_one_way_network_size": 200,
                                "methods": {
                                    "ch": {
                                        "enabled": true,
                                        "threads": 1,
                                        "weightings": "recommended"
                                    },
                                    "core": {
                                        "enabled": true,
                                        "threads": 1,
                                        "weightings": "recommended,shortest",
                                        "landmarks": 64,
                                        "lmsets": "highways;allow_all"
                                    }
                                }
                            },
                            "execution": {
                                "methods": {
                                    "ch": {
                                        "disabling_allowed": true
                                    },
                                    "core": {
                                        "disabling_allowed": true,
                                        "active_landmarks": 6
                                    }
                                }
                            },
                            "ext_storages": {
                                "WayCategory": {},
                                "HeavyVehicle": {
                                    "restrictions": true
                                },
                                "WaySurfaceType": {}
                            }
                        }
                    },
                    "profile-bike-regular": {
                        "profiles": "cycling-regular",
                        "parameters": {
                            "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
                            "elevation": true,
                            "ext_storages": {
                                "WayCategory": {},
                                "WaySurfaceType": {},
                                "HillIndex": {},
                                "TrailDifficulty": {}
                            }
                        }
                    },
                    "profile-bike-mountain": {
                        "profiles": "cycling-mountain",
                        "parameters": {
                            "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
                            "elevation": true,
                            "ext_storages": {
                                "WayCategory": {},
                                "WaySurfaceType": {},
                                "HillIndex": {},
                                "TrailDifficulty": {}
                            }
                        }
                    },
                    "profile-bike-road": {
                        "profiles": "cycling-road",
                        "parameters": {
                            "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
                            "elevation": true,
                            "ext_storages": {
                                "WayCategory": {},
                                "WaySurfaceType": {},
                                "HillIndex": {},
                                "TrailDifficulty": {}
                            }
                        }
                    },
                    "profile-bike-electric": {
                        "profiles": "cycling-electric",
                        "parameters": {
                            "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
                            "elevation": true,
                            "ext_storages": {
                                "WayCategory": {},
                                "WaySurfaceType": {},
                                "HillIndex": {},
                                "TrailDifficulty": {}
                            }
                        }
                    },
                    "profile-walking": {
                        "profiles": "foot-walking",
                        "parameters": {
                            "encoder_options": "block_fords=false",
                            "elevation": true,
                            "ext_storages": {
                                "WayCategory": {},
                                "WaySurfaceType": {},
                                "HillIndex": {},
                                "TrailDifficulty": {}
                            }
                        }
                    },
                    "profile-hiking": {
                        "profiles": "foot-hiking",
                        "parameters": {
                            "encoder_options": "block_fords=false",
                            "elevation": true,
                            "ext_storages": {
                                "WayCategory": {},
                                "WaySurfaceType": {},
                                "HillIndex": {},
                                "TrailDifficulty": {}
                            }
                        }
                    },
                    "profile-wheelchair": {
                        "profiles": "wheelchair",
                        "parameters": {
                            "encoder_options": "block_fords=true",
                            "elevation": true,
                            "maximum_snapping_radius": 50,
                            "ext_storages": {
                                "WayCategory": {},
                                "WaySurfaceType": {},
                                "Wheelchair": {
                                    "KerbsOnCrossings": "true"
                                },
                                "OsmId": {}
                            }
                        }
                    }
                }
            }
        },
        "logging": {
            "enabled": true,
            "level_file": "DEBUG_LOGGING.json",
            "location": "/var/log/ors",
            "stdout": true
        },
        "system_message": [
            {
                "active": false,
                "text": "This message would be sent with every routing bike fastest request",
                "condition": {
                    "request_service": "routing",
                    "request_profile": "cycling-regular,cycling-mountain,cycling-road,cycling-electric",
                    "request_preference": "fastest"
                }
            },
            {
                "active": false,
                "text": "This message would be sent with every request for geojson response",
                "condition": {
                    "api_format": "geojson"
                }
            },
            {
                "active": false,
                "text": "This message would be sent with every request on API v1 from January 2020 until June 2050",
                "condition": {
                    "api_version": 1,
                    "time_after": "2020-01-01T00:00:00Z",
                    "time_before": "2050-06-01T00:00:00Z"
                }
            },
            {
                "active": false,
                "text": "This message would be sent with every request"
            }
        ]
    }
}

My folder structure:

Hey,

have you rebuilt the graphs?
Check the environment variables for this.

Best regards

Hi,

I have set the BUILD_GRAPHS variable to true in the “docker-compose.yml”. I think this is variable that forces the graphs to be rebuild.

I do have noticed that when i open “http://localhost:8080/ors/v2/status”. That inside the “profiles” only “driving-car” is present.

Hey,

then this is still a problem related to docker not correctly setting up your config file.
The config file should go inside of the conf-directory, if I’m not mistaken…

Best regards

Hi,

I have changed the location of the config file. This made the project build and when I am looking at the server status all profiles are enabled. But when I try to execute a direction query now I get the following error:

Could not find routable point within a radius of 350.0 meters of specified coordinate 0: 1.5289372 42.5074260

I find this strange because before using the same PBF. The routing for car did work and now both driving and walking give the above error.

The output of my docker CLI looks as follows:

Starting ors-app ... done
Attaching to ors-app
ors-app    | ### openrouteservice configuration ###
ors-app    | Tomcat already built: Copying /ors-conf/ors-config.json to tomcat webapp folder
ors-app    | NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
ors-app    | 01-Oct-2021 10:03:15.436 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.39
ors-app    | 01-Oct-2021 10:03:15.439 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 14 2019 11:24:26 UTC
ors-app    | 01-Oct-2021 10:03:15.439 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.39.0
ors-app    | 01-Oct-2021 10:03:15.440 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
ors-app    | 01-Oct-2021 10:03:15.440 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            5.10.47-linuxkit
ors-app    | 01-Oct-2021 10:03:15.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
ors-app    | 01-Oct-2021 10:03:15.441 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/openjdk-11
ors-app    | 01-Oct-2021 10:03:15.442 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           11.0.12+7
ors-app    | 01-Oct-2021 10:03:15.443 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
ors-app    | 01-Oct-2021 10:03:15.444 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
ors-app    | 01-Oct-2021 10:03:15.445 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
ors-app    | 01-Oct-2021 10:03:15.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
ors-app    | 01-Oct-2021 10:03:15.449 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
ors-app    | 01-Oct-2021 10:03:15.450 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
ors-app    | 01-Oct-2021 10:03:15.450 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
ors-app    | 01-Oct-2021 10:03:15.451 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
ors-app    | 01-Oct-2021 10:03:15.453 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
ors-app    | 01-Oct-2021 10:03:15.454 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:TargetSurvivorRatio=75
ors-app    | 01-Oct-2021 10:03:15.455 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:SurvivorRatio=64
ors-app    | 01-Oct-2021 10:03:15.456 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxTenuringThreshold=3
ors-app    | 01-Oct-2021 10:03:15.457 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseG1GC
ors-app    | 01-Oct-2021 10:03:15.458 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+ScavengeBeforeFullGC
ors-app    | 01-Oct-2021 10:03:15.459 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:ParallelGCThreads=4
ors-app    | 01-Oct-2021 10:03:15.460 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1g
ors-app    | 01-Oct-2021 10:03:15.461 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2g
ors-app    | 01-Oct-2021 10:03:15.461 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
ors-app    | 01-Oct-2021 10:03:15.461 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
ors-app    | 01-Oct-2021 10:03:15.461 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
ors-app    | 01-Oct-2021 10:03:15.462 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote
ors-app    | 01-Oct-2021 10:03:15.462 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=9001
ors-app    | 01-Oct-2021 10:03:15.462 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.rmi.port=9001
ors-app    | 01-Oct-2021 10:03:15.463 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
ors-app    | 01-Oct-2021 10:03:15.463 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
ors-app    | 01-Oct-2021 10:03:15.464 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=localhost
ors-app    | 01-Oct-2021 10:03:15.464 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
ors-app    | 01-Oct-2021 10:03:15.465 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
ors-app    | 01-Oct-2021 10:03:15.465 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
ors-app    | 01-Oct-2021 10:03:15.466 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
ors-app    | 01-Oct-2021 10:03:15.466 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
ors-app    | 01-Oct-2021 10:03:15.520 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
ors-app    | 01-Oct-2021 10:03:15.529 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
ors-app    | 01-Oct-2021 10:03:15.546 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
ors-app    | 01-Oct-2021 10:03:15.549 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
ors-app    | 01-Oct-2021 10:03:15.554 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 463 ms
ors-app    | 01-Oct-2021 10:03:15.624 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
ors-app    | 01-Oct-2021 10:03:15.624 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.39
ors-app    | 01-Oct-2021 10:03:15.678 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/usr/local/tomcat/webapps/ors.war]
ors-app    | 10:03:20.767 [localhost-startStop-1] INFO  org.heigit.ors.config.AppConfig - Default path of 'ors-config.json' used for configuration
ors-app    | 10:03:20.782 [localhost-startStop-1] INFO  org.heigit.ors.config.AppConfig - Loading configuration from /usr/local/tomcat/webapps/ors/WEB-INF/classes/ors-config.json
ors-app    | 
ors-app    |   .   ____          _            __ _ _
ors-app    |  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
ors-app    | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
ors-app    |  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
ors-app    |   '  |____| .__|_| |_|_| |_\__, | / / / /
ors-app    |  =========|_|==============|___/=/_/_/_/
ors-app    |  :: Spring Boot ::        (v2.3.5.RELEASE)
ors-app    | 
ors-app    | 01 Oct 10:03:21 INFO [ors.Application] - Starting Application v6.6.1 on 29ea2a8e0f94 with PID 10 (/usr/local/tomcat/webapps/ors/WEB-INF/classes started by root in /ors-core)
ors-app    | 01 Oct 10:03:21 DEBUG [ors.Application] - Running with Spring Boot v2.3.5.RELEASE, Spring v5.2.10.RELEASE
ors-app    | 01 Oct 10:03:21 INFO [ors.Application] - No active profile set, falling back to default profiles: default
ors-app    | SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
ors-app    | SLF4J: Defaulting to no-operation (NOP) logger implementation
ors-app    | SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
ors-app    | 01 Oct 10:03:25 INFO [ors.Application] - Started Application in 5.384 seconds (JVM running for 11.294)
ors-app    | 01-Oct-2021 10:03:26.058 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ors-app    | <?xml version="1.0" ?>
ors-app    | <Configuration>
ors-app    |   <Properties>
ors-app    |     <Property name="filename">/var/log/ors/ors-logs.log</Property>
ors-app    |   </Properties>
ors-app    | </Configuration>
ors-app    | 01 Oct 10:03:26 INFO [routing.RoutingProfileManager] -  Total - 1.00 GB, Free - 792.07 MB, Max: 2 GB, Used - 233.93 MB
ors-app    | 01 Oct 10:03:26 INFO [routing.RoutingProfileManager] -       
ors-app    | 01-Oct-2021 10:03:26.165 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/usr/local/tomcat/webapps/ors.war] has finished in [10,486] ms
ors-app    | 01-Oct-2021 10:03:26.167 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/examples]
ors-app    | 01 Oct 10:03:26 INFO [routing.RoutingProfileManager] - ====> Initializing profiles from 'openrouteservice/src/main/files/heidelberg.osm.gz' (2 threads) ...
ors-app    | 01 Oct 10:03:26 INFO [routing.RoutingProfileManager] -                               
ors-app    | 01 Oct 10:03:26 INFO [routing.RoutingProfileManager] -                
ors-app    | 01 Oct 10:03:26 INFO [routing.RoutingProfile] - [1] Profiles: 'driving-car', location: 'graphs/car'.
ors-app    | 01 Oct 10:03:26 INFO [routing.RoutingProfile] - [2] Profiles: 'driving-hgv', location: 'graphs/hgv'.
ors-app    | 01-Oct-2021 10:03:26.480 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/examples] has finished in [313] ms
ors-app    | 01-Oct-2021 10:03:26.481 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/docs]
ors-app    | 01-Oct-2021 10:03:26.538 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/docs] has finished in [57] ms
ors-app    | 01-Oct-2021 10:03:26.539 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/manager]
ors-app    | 01-Oct-2021 10:03:26.589 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/manager] has finished in [49] ms
ors-app    | 01-Oct-2021 10:03:26.589 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/ROOT]
ors-app    | 01-Oct-2021 10:03:26.608 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/ROOT] has finished in [19] ms
ors-app    | 01-Oct-2021 10:03:26.609 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/host-manager]
ors-app    | 01-Oct-2021 10:03:26.639 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/host-manager] has finished in [30] ms
ors-app    | 01-Oct-2021 10:03:26.657 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
ors-app    | 01-Oct-2021 10:03:26.692 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
ors-app    | 01-Oct-2021 10:03:26.706 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 11151 ms
ors-app    | 01 Oct 10:03:28 INFO [routing.RoutingProfile] - [1] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:03:28 INFO [routing.RoutingProfile] - [1] Capacity: [UNKNOWN]. (edges - 20863, nodes - 15462)
ors-app    | 01 Oct 10:03:28 INFO [routing.RoutingProfile] - [1] Total time: 1.874s.
ors-app    | 01 Oct 10:03:28 INFO [routing.RoutingProfile] - [1] Finished at: 2021-10-01 10:03:28.
ors-app    | 01 Oct 10:03:28 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:03:28 INFO [routing.RoutingProfile] - [3] Profiles: 'cycling-regular', location: 'graphs/bike-regular'.
ors-app    | 01 Oct 10:03:35 INFO [core.PrepareCore] - 0, updates:0, nodes: 12 679, shortcuts:0, dijkstras:39 572, t(dijk):0.04, t(period):0.0, t(lazy):0.0, t(neighbor):0.0, meanDegree:1, algo:0MB, totalMB:1026, usedMB:362
ors-app    | 01 Oct 10:03:36 INFO [core.PrepareCore] - 2 536, updates:2, nodes: 10 143, shortcuts:28, dijkstras:108 868, t(dijk):0.58, t(period):0.54, t(lazy):0.0, t(neighbor):0.07, meanDegree:1, algo:0MB, totalMB:1026, usedMB:438
ors-app    | 01 Oct 10:03:36 INFO [core.PrepareCore] - 5 072, updates:4, nodes: 7 607, shortcuts:402, dijkstras:159 171, t(dijk):0.92, t(period):0.88, t(lazy):0.0, t(neighbor):0.11, meanDegree:1, algo:0MB, totalMB:1026, usedMB:516
ors-app    | 01 Oct 10:03:37 INFO [routing.RoutingProfile] - [3] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:03:37 INFO [routing.RoutingProfile] - [3] Capacity: [UNKNOWN]. (edges - 39723, nodes - 28820)
ors-app    | 01 Oct 10:03:37 INFO [routing.RoutingProfile] - [3] Total time: 9.022s.
ors-app    | 01 Oct 10:03:37 INFO [routing.RoutingProfile] - [3] Finished at: 2021-10-01 10:03:37.
ors-app    | 01 Oct 10:03:37 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:03:37 INFO [routing.RoutingProfile] - [4] Profiles: 'cycling-mountain', location: 'graphs/bike-mountain'.
ors-app    | 01 Oct 10:03:37 INFO [core.PrepareCore] - 7 608, updates:6, nodes: 5 071, shortcuts:2 919, dijkstras:210 629, t(dijk):1.31, t(period):1.12, t(lazy):0.0, t(neighbor):0.25, meanDegree:2, algo:0MB, totalMB:1026, usedMB:605
ors-app    | 01 Oct 10:03:37 INFO [core.PrepareCore] - 10 144, updates:8, nodes: 2 535, shortcuts:5 733, dijkstras:255 610, t(dijk):1.62, t(period):1.22, t(lazy):0.0, t(neighbor):0.44, meanDegree:2, algo:0MB, totalMB:1026, usedMB:663
ors-app    | 01 Oct 10:03:37 INFO [core.PrepareCore] - took:2, new shortcuts: 8 625, prepare|recommended|heavyvehicle, dijkstras:288992, t(dijk):1.76, t(period):1.22, t(lazy):0.0, t(neighbor):0.56, meanDegree:4, initSize:12679, periodic:10, lazy:10, neighbor:90, totalMB:1026, usedMB:692
ors-app    | 01 Oct 10:03:38 INFO [core.PrepareCore] - 0, updates:0, nodes: 12 679, shortcuts:0, dijkstras:39 572, t(dijk):0.07, t(period):0.0, t(lazy):0.0, t(neighbor):0.0, meanDegree:1, algo:0MB, totalMB:1026, usedMB:715
ors-app    | 01 Oct 10:03:38 INFO [core.PrepareCore] - 2 536, updates:2, nodes: 10 143, shortcuts:10, dijkstras:108 870, t(dijk):0.4, t(period):0.32, t(lazy):0.0, t(neighbor):0.04, meanDegree:1, algo:0MB, totalMB:1026, usedMB:784
ors-app    | 01 Oct 10:03:38 INFO [core.PrepareCore] - 5 072, updates:4, nodes: 7 607, shortcuts:479, dijkstras:160 692, t(dijk):0.64, t(period):0.57, t(lazy):0.0, t(neighbor):0.07, meanDegree:1, algo:0MB, totalMB:1026, usedMB:836
ors-app    | 01 Oct 10:03:39 INFO [core.PrepareCore] - 7 608, updates:6, nodes: 5 071, shortcuts:3 046, dijkstras:214 788, t(dijk):0.91, t(period):0.75, t(lazy):0.0, t(neighbor):0.17, meanDegree:1, algo:0MB, totalMB:1026, usedMB:232
ors-app    | 01 Oct 10:03:39 INFO [core.PrepareCore] - 10 144, updates:8, nodes: 2 535, shortcuts:6 168, dijkstras:269 042, t(dijk):1.27, t(period):0.87, t(lazy):0.0, t(neighbor):0.39, meanDegree:2, algo:0MB, totalMB:1026, usedMB:285
ors-app    | 01 Oct 10:03:39 INFO [core.PrepareCore] - took:1, new shortcuts: 9 647, prepare|shortest|heavyvehicle, dijkstras:317737, t(dijk):1.45, t(period):0.87, t(lazy):0.0, t(neighbor):0.56, meanDegree:5, initSize:12679, periodic:10, lazy:10, neighbor:90, totalMB:1026, usedMB:316
ors-app    | 01 Oct 10:03:45 INFO [routing.RoutingProfile] - [2] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:03:45 INFO [routing.RoutingProfile] - [2] Capacity: [UNKNOWN]. (edges - 17395, nodes - 12679)
ors-app    | 01 Oct 10:03:45 INFO [routing.RoutingProfile] - [2] Total time: 18.61s.
ors-app    | 01 Oct 10:03:45 INFO [routing.RoutingProfile] - [2] Finished at: 2021-10-01 10:03:45.
ors-app    | 01 Oct 10:03:45 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:03:45 INFO [routing.RoutingProfile] - [5] Profiles: 'cycling-road', location: 'graphs/bike-road'.
ors-app    | 01 Oct 10:03:45 INFO [bike.CommonBikeFlagEncoder] - NextGen RoadBike FlagEncoder is active...
ors-app    | 01 Oct 10:03:46 INFO [routing.RoutingProfile] - [4] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:03:46 INFO [routing.RoutingProfile] - [4] Capacity: [UNKNOWN]. (edges - 39763, nodes - 28845)
ors-app    | 01 Oct 10:03:46 INFO [routing.RoutingProfile] - [4] Total time: 8.726s.
ors-app    | 01 Oct 10:03:46 INFO [routing.RoutingProfile] - [4] Finished at: 2021-10-01 10:03:46.
ors-app    | 01 Oct 10:03:46 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:03:46 INFO [routing.RoutingProfile] - [6] Profiles: 'cycling-electric', location: 'graphs/bike-electric'.
ors-app    | 01 Oct 10:03:51 INFO [routing.RoutingProfile] - [5] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:03:51 INFO [routing.RoutingProfile] - [5] Capacity: [UNKNOWN]. (edges - 39378, nodes - 28618)
ors-app    | 01 Oct 10:03:51 INFO [routing.RoutingProfile] - [5] Total time: 6.964s.
ors-app    | 01 Oct 10:03:52 INFO [routing.RoutingProfile] - [5] Finished at: 2021-10-01 10:03:52.
ors-app    | 01 Oct 10:03:52 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:03:52 INFO [routing.RoutingProfile] - [7] Profiles: 'foot-walking', location: 'graphs/walking'.
ors-app    | 01 Oct 10:03:53 INFO [routing.RoutingProfile] - [6] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:03:53 INFO [routing.RoutingProfile] - [6] Capacity: [UNKNOWN]. (edges - 39723, nodes - 28820)
ors-app    | 01 Oct 10:03:53 INFO [routing.RoutingProfile] - [6] Total time: 6.967s.
ors-app    | 01 Oct 10:03:53 INFO [routing.RoutingProfile] - [6] Finished at: 2021-10-01 10:03:53.
ors-app    | 01 Oct 10:03:53 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:03:53 INFO [routing.RoutingProfile] - [8] Profiles: 'foot-hiking', location: 'graphs/hiking'.
ors-app    | 01 Oct 10:04:00 INFO [routing.RoutingProfile] - [7] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:04:00 INFO [routing.RoutingProfile] - [7] Capacity: [UNKNOWN]. (edges - 41453, nodes - 30366)
ors-app    | 01 Oct 10:04:00 INFO [routing.RoutingProfile] - [7] Total time: 8.253s.
ors-app    | 01 Oct 10:04:00 INFO [routing.RoutingProfile] - [7] Finished at: 2021-10-01 10:04:00.
ors-app    | 01 Oct 10:04:00 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:04:00 INFO [routing.RoutingProfile] - [9] Profiles: 'wheelchair', location: 'graphs/wheelchair'.
ors-app    | 01 Oct 10:04:01 INFO [routing.RoutingProfile] - [8] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:04:01 INFO [routing.RoutingProfile] - [8] Capacity: [UNKNOWN]. (edges - 41512, nodes - 30403)
ors-app    | 01 Oct 10:04:01 INFO [routing.RoutingProfile] - [8] Total time: 8.221s.
ors-app    | 01 Oct 10:04:01 INFO [routing.RoutingProfile] - [8] Finished at: 2021-10-01 10:04:01.
ors-app    | 01 Oct 10:04:01 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfile] - [9] FlagEncoders: 1, bits used [UNKNOWN]/64.
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfile] - [9] Capacity: [UNKNOWN]. (edges - 38069, nodes - 26888)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfile] - [9] Total time: 8.327s.
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfile] - [9] Finished at: 2021-10-01 10:04:08.
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfile] -                               
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - Total time: 42.468s.
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - ========================================================================
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - ====> Recycling garbage...
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - Before:  Total - 1.00 GB, Free - 294.48 MB, Max: 2 GB, Used - 731.52 MB
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - After:  Total - 1.00 GB, Free - 647.91 MB, Max: 2 GB, Used - 378.09 MB
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - ========================================================================
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - ====> Memory usage by profiles:
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [1] 20.03 MB (5.3%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [2] 15.03 MB (4.0%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [3] 18.03 MB (4.8%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [4] 15.03 MB (4.0%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [5] 15.03 MB (4.0%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [6] 15.03 MB (4.0%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [7] 14.03 MB (3.7%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [8] 14.03 MB (3.7%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - [9] 13.03 MB (3.4%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - Total: 139.28 MB (36.8%)
ors-app    | 01 Oct 10:04:08 INFO [routing.RoutingProfileManager] - ========================================================================

Hey,

It seems you’re using the provided heidelberg.osm.gz-file, probably to not changing it in the config?

Best regards