How to change the weighting of road types for the HGV profile?

Hello everyone,
I have a local ORS installation using Docker Desktop on Windows 10; so far running without any issues.

I realized, however, that the HGV profile assigns different weightings to different road types through the file “HeavyVehicleFlagEncoder.java”, leading to HGVs taking inefficient highway routes (cf. Recommended routing not taking direct route - #5 by hamzarhaiem). I’d like to change this for my local installation and adapt the assigned weights. I found the file and fought my way through it, and I think I figured out what needs to be changed for what I want - but now I have no idea how to tell Docker to use this changed file instead of the one pulled with the initial image. An extensive Google search didn’t really help me either and I’m getting a bit desperate about it. So any help would be appreciated!

1 Like

Hey,

if you want to run an openrouteservice with changed source files, you’ll either have to directly build from source or re-build the docker image using our Dockerfile.

Best regards

1 Like

Hello,

I would like to know if you could share the commands you use for Docker Desktop on Windows 10. I tried to follow a guide from Specs needed for running openrouteservice locally - #5 by johntdata.

It seems to “work” yet whenever I try to use make a request like this : localhost:8080/ors/v2/directions/driving-car?start=-3.167209,55.974753&end=-3.398842,56.081019. It seems to be loading forever. both localhost:8080/ors/v2/health, localhost:8080/ors/v2/status doesn’t load. (I removed the http in the messages as I can’t write a message with more than 2 links).

Finally I’m working on a similar project as you DGDIW, as I’m trying to make a time matrix with HGV profiles and was wondering if you could help me out on this !

Thank you understanding, and have a great day !

Thanks @jschnell! I’ll have a look at that and will probably come back with some questions.

@Willy: I figured that the by far easiest way is to use docker-compose. To find out if ORS generally works, download the ORS-Github-Repo (https://github.com/GIScience/openrouteservice), open a Console in the folder “Repo/docker”, and type “docker-compose up -d”. After a couple minutes, the system should be reachable via the links you posted.

If that works, change the settings or map files how you need them by adapting the docker-compose.yml or the conf/ors-config.json - and check occasionally if the changes work by restarting or rebuilding the container.

I had quite some trouble in the beginning as well, but am glad to have it running quite stable recently :smiley:

Best regards

2 Likes

Hey again,

I am indeed back with a question. I figured it’s probably easier to work with the Dockerfile than setting up everything manually (on a Windows system no less), so I tried to get ORS running using the Dockerfile based on the exact contents of the Github-Repo (download, extract, docker build). It builds an image without an error; however, when I try to run the image, it gives me the java.util.concurrent.ExecutionException “Directory data/graphs/car does not exist and cannot be created to place lock file there: data/graphs/car/gh.lock” (Entire output of the docker run below)

I tried some changes in the Dockerfile and the config to no avail, and also didn’t get any further searching the forum. It would be great if someone here could help me to solve the issue, or at least let me know how to go on about it.

Best regards

Output of docker run:

### openrouteservice configuration ###
No ors-config.json in ors-conf folder. Copy config from /ors-core/openrouteservice/src/main/resources/ors-config.json
### Package openrouteservice and deploy to Tomcat ###
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.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
24-Mar-2022 15:17:30.444 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/8.5.69
24-Mar-2022 15:17:30.446 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jun 30 2021 18:00:00 UTC
24-Mar-2022 15:17:30.446 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.69.0
24-Mar-2022 15:17:30.446 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
24-Mar-2022 15:17:30.447 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            5.10.60.1-microsoft-standard-WSL2
24-Mar-2022 15:17:30.447 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
24-Mar-2022 15:17:30.447 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/openjdk-11
24-Mar-2022 15:17:30.447 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           11.0.14.1+1
24-Mar-2022 15:17:30.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
24-Mar-2022 15:17:30.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
24-Mar-2022 15:17:30.448 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
24-Mar-2022 15:17:30.450 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
24-Mar-2022 15:17:30.451 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
24-Mar-2022 15:17:30.451 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
24-Mar-2022 15:17:30.451 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
24-Mar-2022 15:17:30.452 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
24-Mar-2022 15:17:30.452 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
24-Mar-2022 15:17:30.452 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
24-Mar-2022 15:17:30.452 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
24-Mar-2022 15:17:30.453 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:TargetSurvivorRatio=75
24-Mar-2022 15:17:30.453 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:SurvivorRatio=64
24-Mar-2022 15:17:30.453 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxTenuringThreshold=3
24-Mar-2022 15:17:30.453 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseG1GC
24-Mar-2022 15:17:30.454 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+ScavengeBeforeFullGC
24-Mar-2022 15:17:30.454 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:ParallelGCThreads=4
24-Mar-2022 15:17:30.454 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1g
24-Mar-2022 15:17:30.454 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2g
24-Mar-2022 15:17:30.454 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
24-Mar-2022 15:17:30.455 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
24-Mar-2022 15:17:30.455 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
24-Mar-2022 15:17:30.455 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote
24-Mar-2022 15:17:30.455 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=9001
24-Mar-2022 15:17:30.456 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.rmi.port=9001
24-Mar-2022 15:17:30.456 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
24-Mar-2022 15:17:30.456 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
24-Mar-2022 15:17:30.456 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=localhost
24-Mar-2022 15:17:30.456 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
24-Mar-2022 15:17:30.457 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
24-Mar-2022 15:17:30.457 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
24-Mar-2022 15:17:30.457 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
24-Mar-2022 15:17:30.457 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
24-Mar-2022 15:17:30.506 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
24-Mar-2022 15:17:30.523 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
24-Mar-2022 15:17:30.542 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 498 ms
24-Mar-2022 15:17:30.607 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
24-Mar-2022 15:17:30.607 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.69]
24-Mar-2022 15:17:30.649 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/usr/local/tomcat/webapps/ors.war]
24-Mar-2022 15:17:35.841 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.
15:17:36.747 [localhost-startStop-1] INFO  org.heigit.ors.config.AppConfig - Default path of 'ors-config.json' used for configuration
15:17:36.759 [localhost-startStop-1] INFO  org.heigit.ors.config.AppConfig - Loading configuration from /usr/local/tomcat/webapps/ors/WEB-INF/classes/ors-config.json

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.3.5.RELEASE)

24 Mar 15:17:37 INFO [ors.Application] - Starting Application v6.7.0 on 4728df9c9516 with PID 139 (/usr/local/tomcat/webapps/ors/WEB-INF/classes started by ors in /ors-core)
24 Mar 15:17:37 DEBUG [ors.Application] - Running with Spring Boot v2.3.5.RELEASE, Spring v5.2.10.RELEASE
24 Mar 15:17:37 INFO [ors.Application] - No active profile set, falling back to default profiles: default
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
24 Mar 15:17:41 INFO [ors.Application] - Started Application in 5.208 seconds (JVM running for 12.086)
24 Mar 15:17:41 INFO [logging.LoggingUtility] - Logging configuration loaded from DEBUG_LOGGING.json, logging to file /var/log/ors/ors-logs.log
24 Mar 15:17:41 INFO [routing.RoutingProfileManager] -  Total - 1.00 GB, Free - 687.39 MB, Max: 2 GB, Used - 338.61 MB
24 Mar 15:17:41 INFO [routing.RoutingProfileManager] -
24-Mar-2022 15:17:41.721 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/usr/local/tomcat/webapps/ors.war] has finished in [11,072] ms
24-Mar-2022 15:17:41.723 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/manager]
24 Mar 15:17:41 INFO [routing.RoutingProfileManager] - ====> Initializing profiles from 'data/osm_file.pbf' (1 threads) ...
24 Mar 15:17:41 INFO [routing.RoutingProfileManager] -
24 Mar 15:17:41 INFO [routing.RoutingProfileManager] -
24-Mar-2022 15:17:41.767 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/manager] has finished in [44] ms
24-Mar-2022 15:17:41.768 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/examples]
24 Mar 15:17:41 INFO [routing.RoutingProfile] - [1] Profiles: 'driving-car', location: 'data/graphs/car'.
24-Mar-2022 15:17:41.955 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/examples] has finished in [187] ms
24-Mar-2022 15:17:41.955 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/docs]
24-Mar-2022 15:17:41.970 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/docs] has finished in [15] ms
24-Mar-2022 15:17:41.970 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/ROOT]
24-Mar-2022 15:17:41.987 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/ROOT] has finished in [17] ms
24-Mar-2022 15:17:41.987 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/host-manager]
24 Mar 15:17:42 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Directory data/graphs/car does not exist and cannot be created to place lock file there: data/graphs/car/gh.lock
24-Mar-2022 15:17:42.012 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/host-manager] has finished in [25] ms
24 Mar 15:17:42 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Directory data/graphs/car does not exist and cannot be created to place lock file there: data/graphs/car/gh.lock
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
        at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
        at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:178) ~[classes/:6.7.0]
        at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:72) ~[classes/:6.7.0]
        at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:42) ~[classes/:6.7.0]
        at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.RuntimeException: Directory data/graphs/car does not exist and cannot be created to place lock file there: data/graphs/car/gh.lock
        at com.graphhopper.storage.NativeFSLockFactory$NativeLock.tryLock(NativeFSLockFactory.java:110) ~[graphhopper-core-v0.13.21.jar:?]
        at com.graphhopper.GraphHopper.process(GraphHopper.java:697) ~[graphhopper-core-v0.13.21.jar:?]
        at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:680) ~[graphhopper-core-v0.13.21.jar:?]
        at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:169) ~[classes/:6.7.0]
        at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:182) ~[classes/:6.7.0]
        at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:126) ~[classes/:6.7.0]
        at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.7.0]
        at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.7.0]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
        ... 1 more
24 Mar 15:17:42 INFO [routing.RoutingProfileManager] - ====> Recycling garbage...
24 Mar 15:17:42 INFO [routing.RoutingProfileManager] - Before:  Total - 1.00 GB, Free - 634.39 MB, Max: 2 GB, Used - 391.61 MB
24 Mar 15:17:42 INFO [routing.RoutingProfileManager] - After:  Total - 1024 MB, Free - 992.52 MB, Max: 2 GB, Used - 31.48 MB
24 Mar 15:17:42 INFO [routing.RoutingProfileManager] - ========================================================================
24 Mar 15:17:42 INFO [routing.RoutingProfileManager] - ====> Memory usage by profiles:
24 Mar 15:17:42 INFO [routing.RoutingProfileManager] - Total: 0 B (0.0%)
24 Mar 15:17:42 INFO [routing.RoutingProfileManager] - ========================================================================
24-Mar-2022 15:17:42.087 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
24-Mar-2022 15:17:42.099 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 11557 ms

Hey,

have a look at our backend documentation - you’re missing the directories created by

mkdir -p elevation_cache graphs # rest omitted for brevity

which you should then mount inside your container using the two following options in your docker run command.

  -v $PWD/graphs:/ors-core/data/graphs 
  -v $PWD/elevation_cache:/ors-core/data/elevation_cache 

Best regards

1 Like

Thank you so much! That solved the issue; currently the system is running without issues and with the changed settings I was looking for. I’ll get back here if any further problems show up, but so far I’m very happy to have figured this out with your help.

Best

1 Like

Hello again,
I’m back with another problem - I’m relatively sure there’s an easy fix for it, but I can’t figure it out myself.

Here’s what I did:

  1. Download and extract ORS-Github-Repo
  2. Remove everything except Dockerfile, docker-entrypoint, and folder “openrouteservice”
  3. Create folders “conf”, “elevation_cache”, “graphs”, “logs/tomcat”, “logs/ors”
  4. Move required pbf-file into folder (“germany-180101.osm.pbf”)
  5. Change Dockerfile to point to this file (“ARG OSM_FILE=./germany-180101.osm.pbf”)
  6. Build image (docker build -t ors-test .) und run (docker run -dt -u "${UID}:${GID}" --name ors-hgv -p 8080:8080 -v $PWD/graphs:/ors-core/data/graphs -v $PWD/elevation_cache:/ors-core/data/elevation_cache -v $PWD/conf:/ors-conf -e "JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:ParallelGCThreads=4 -Xms3g -Xmx6g" -e "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" ors-test)
    => No problems occur.

If, however, I add step 5a between 5 (adapt Dockerfile) and 6 (build image) as
5a. Adapt .\openrouteservice\src\main\resources\ors-config-sample.json by changing lines 94 and 95 ("profiles": {"active": ["hgv", "car", ...]}) => sets HGV as default profile

I get an error in the building of the graphs:

WARN [extensions.ORSOSMReader] - Index 1048576 out of bounds for length 1048576. Way id = 5084340`
[extensions.ORSOSMReader] - null. Way id = 11026496`

The last line is repeated 45 times with different Way-IDs, before the process is aborted. This is the complete docker output:

### openrouteservice configuration ###
No ors-config.json in ors-conf folder. Copy config from /ors-core/openrouteservice/src/main/resources/ors-config.json
### Package openrouteservice and deploy to Tomcat ###
Using CATALINA_BASE:   /usr/local/tomcat
Using CATALINA_HOME:   /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr/local/openjdk-11
Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Using 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
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.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
29-Mar-2022 09:13:16.738 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/8.5.69
29-Mar-2022 09:13:16.740 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jun 30 2021 18:00:00 UTC
29-Mar-2022 09:13:16.740 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.69.0
29-Mar-2022 09:13:16.741 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
29-Mar-2022 09:13:16.741 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            5.10.102.1-microsoft-standard-WSL2
29-Mar-2022 09:13:16.741 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
29-Mar-2022 09:13:16.741 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/openjdk-11
29-Mar-2022 09:13:16.741 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           11.0.14.1+1
29-Mar-2022 09:13:16.741 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
29-Mar-2022 09:13:16.742 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
29-Mar-2022 09:13:16.742 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
29-Mar-2022 09:13:16.743 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
29-Mar-2022 09:13:16.743 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
29-Mar-2022 09:13:16.743 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
29-Mar-2022 09:13:16.743 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
29-Mar-2022 09:13:16.744 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
29-Mar-2022 09:13:16.744 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
29-Mar-2022 09:13:16.744 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
29-Mar-2022 09:13:16.744 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
29-Mar-2022 09:13:16.744 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:TargetSurvivorRatio=75
29-Mar-2022 09:13:16.744 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:SurvivorRatio=64
29-Mar-2022 09:13:16.744 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxTenuringThreshold=3
29-Mar-2022 09:13:16.744 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseG1GC
29-Mar-2022 09:13:16.745 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+ScavengeBeforeFullGC
29-Mar-2022 09:13:16.745 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:ParallelGCThreads=4
29-Mar-2022 09:13:16.745 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms3g
29-Mar-2022 09:13:16.745 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx6g
29-Mar-2022 09:13:16.745 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
29-Mar-2022 09:13:16.745 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
29-Mar-2022 09:13:16.746 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
29-Mar-2022 09:13:16.746 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote
29-Mar-2022 09:13:16.746 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=9001
29-Mar-2022 09:13:16.746 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.rmi.port=9001
29-Mar-2022 09:13:16.746 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
29-Mar-2022 09:13:16.746 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
29-Mar-2022 09:13:16.747 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=localhost
29-Mar-2022 09:13:16.747 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
29-Mar-2022 09:13:16.747 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
29-Mar-2022 09:13:16.747 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
29-Mar-2022 09:13:16.747 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
29-Mar-2022 09:13:16.747 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
29-Mar-2022 09:13:16.778 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
29-Mar-2022 09:13:16.787 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
29-Mar-2022 09:13:16.800 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 340 ms
29-Mar-2022 09:13:16.842 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
29-Mar-2022 09:13:16.843 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.69]
29-Mar-2022 09:13:16.872 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/usr/local/tomcat/webapps/ors.war]
29-Mar-2022 09:13:20.339 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.
09:13:21.155 [localhost-startStop-1] INFO  org.heigit.ors.config.AppConfig - Default path of 'ors-config.json' used for configuration
09:13:21.160 [localhost-startStop-1] INFO  org.heigit.ors.config.AppConfig - Loading configuration from /usr/local/tomcat/webapps/ors/WEB-INF/classes/ors-config.json
  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.3.5.RELEASE)
29 Mar 09:13:21 INFO [ors.Application] - Starting Application v6.7.0 on 4dd87335af20 with PID 146 (/usr/local/tomcat/webapps/ors/WEB-INF/classes started by root in /ors-core)
29 Mar 09:13:21 DEBUG [ors.Application] - Running with Spring Boot v2.3.5.RELEASE, Spring v5.2.10.RELEASE
29 Mar 09:13:21 INFO [ors.Application] - No active profile set, falling back to default profiles: default
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
29 Mar 09:13:25 INFO [ors.Application] - Started Application in 4.156 seconds (JVM running for 9.024)
29 Mar 09:13:25 INFO [logging.LoggingUtility] - Logging configuration loaded from DEBUG_LOGGING.json, logging to file /var/log/ors/ors-logs.log
29 Mar 09:13:25 INFO [routing.RoutingProfileManager] -  Total - 3.00 GB, Free - 2.66 GB, Max: 6 GB, Used - 349.35 MB
29 Mar 09:13:25 INFO [routing.RoutingProfileManager] -       
29 Mar 09:13:25 INFO [routing.RoutingProfileManager] - ====> Initializing profiles from 'data/osm_file.pbf' (1 threads) ...
29-Mar-2022 09:13:25.149 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/usr/local/tomcat/webapps/ors.war] has finished in [8,277] ms
29 Mar 09:13:25 INFO [routing.RoutingProfileManager] -                               
29-Mar-2022 09:13:25.150 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/manager]
29 Mar 09:13:25 INFO [routing.RoutingProfileManager] -                
29-Mar-2022 09:13:25.181 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/manager] has finished in [31] ms
29-Mar-2022 09:13:25.182 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/examples]
29 Mar 09:13:25 INFO [routing.RoutingProfile] - [1] Profiles: 'driving-hgv', location: 'data/graphs/hgv'.
29-Mar-2022 09:13:25.294 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/examples] has finished in [112] ms
29-Mar-2022 09:13:25.294 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/docs]
29-Mar-2022 09:13:25.304 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/docs] has finished in [10] ms
29-Mar-2022 09:13:25.304 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/ROOT]
29-Mar-2022 09:13:25.313 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/ROOT] has finished in [9] ms
29-Mar-2022 09:13:25.313 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/host-manager]
29-Mar-2022 09:13:25.330 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/host-manager] has finished in [17] ms
29-Mar-2022 09:13:25.337 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
29-Mar-2022 09:13:25.344 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 8544 ms
29 Mar 09:26:53 WARN [extensions.ORSOSMReader] - Index 1048576 out of bounds for length 1048576. Way id = 5084340
29 Mar 09:26:56 WARN [extensions.ORSOSMReader] - null. Way id = 11026496
29 Mar 09:26:59 WARN [extensions.ORSOSMReader] - null. Way id = 22745401
29 Mar 09:27:02 WARN [extensions.ORSOSMReader] - null. Way id = 23655578
29 Mar 09:27:05 WARN [extensions.ORSOSMReader] - null. Way id = 24534474
29 Mar 09:27:10 WARN [extensions.ORSOSMReader] - null. Way id = 25402682
29 Mar 09:27:13 WARN [extensions.ORSOSMReader] - null. Way id = 26006990
29 Mar 09:27:16 WARN [extensions.ORSOSMReader] - null. Way id = 26738397
29 Mar 09:27:19 WARN [extensions.ORSOSMReader] - null. Way id = 27542181
29 Mar 09:27:23 WARN [extensions.ORSOSMReader] - null. Way id = 28438448
29 Mar 09:27:27 WARN [extensions.ORSOSMReader] - null. Way id = 30283941
29 Mar 09:27:30 WARN [extensions.ORSOSMReader] - null. Way id = 31966646
29 Mar 09:27:34 WARN [extensions.ORSOSMReader] - null. Way id = 33387848
29 Mar 09:27:37 WARN [extensions.ORSOSMReader] - null. Way id = 35085904
29 Mar 09:27:41 WARN [extensions.ORSOSMReader] - null. Way id = 37276491
29 Mar 09:27:46 WARN [extensions.ORSOSMReader] - null. Way id = 40236770
29 Mar 09:27:49 WARN [extensions.ORSOSMReader] - null. Way id = 43141788
29 Mar 09:27:53 WARN [extensions.ORSOSMReader] - null. Way id = 48012403
29 Mar 09:27:56 WARN [extensions.ORSOSMReader] - null. Way id = 53882534
29 Mar 09:28:00 WARN [extensions.ORSOSMReader] - null. Way id = 60363232
29 Mar 09:28:05 WARN [extensions.ORSOSMReader] - null. Way id = 77461171
29 Mar 09:28:09 WARN [extensions.ORSOSMReader] - null. Way id = 88035939
29 Mar 09:28:12 WARN [extensions.ORSOSMReader] - null. Way id = 95214102
29 Mar 09:28:16 WARN [extensions.ORSOSMReader] - null. Way id = 104370999
29 Mar 09:28:20 WARN [extensions.ORSOSMReader] - null. Way id = 113801816
29 Mar 09:28:27 WARN [extensions.ORSOSMReader] - null. Way id = 128021874
29 Mar 09:28:31 WARN [extensions.ORSOSMReader] - null. Way id = 136909443
29 Mar 09:28:35 WARN [extensions.ORSOSMReader] - null. Way id = 145581175
29 Mar 09:28:38 WARN [extensions.ORSOSMReader] - null. Way id = 152983292
29 Mar 09:28:42 WARN [extensions.ORSOSMReader] - null. Way id = 161569790
29 Mar 09:28:48 WARN [extensions.ORSOSMReader] - null. Way id = 177389226
29 Mar 09:28:52 WARN [extensions.ORSOSMReader] - null. Way id = 189921837
29 Mar 09:28:57 WARN [extensions.ORSOSMReader] - null. Way id = 201956680
29 Mar 09:29:01 WARN [extensions.ORSOSMReader] - null. Way id = 216239377
29 Mar 09:29:05 WARN [extensions.ORSOSMReader] - null. Way id = 228182731
29 Mar 09:29:11 WARN [extensions.ORSOSMReader] - null. Way id = 245296648
29 Mar 09:29:17 WARN [extensions.ORSOSMReader] - null. Way id = 261700622
29 Mar 09:29:22 WARN [extensions.ORSOSMReader] - null. Way id = 281977631
29 Mar 09:29:27 WARN [extensions.ORSOSMReader] - null. Way id = 299378719
29 Mar 09:29:31 WARN [extensions.ORSOSMReader] - null. Way id = 314973328
29 Mar 09:29:39 WARN [extensions.ORSOSMReader] - null. Way id = 342188364
29 Mar 09:29:43 WARN [extensions.ORSOSMReader] - null. Way id = 367380710
29 Mar 09:29:48 WARN [extensions.ORSOSMReader] - null. Way id = 388434942
29 Mar 09:29:53 WARN [extensions.ORSOSMReader] - null. Way id = 419948081
29 Mar 09:29:58 WARN [extensions.ORSOSMReader] - null. Way id = 454523494
29 Mar 09:30:06 WARN [extensions.ORSOSMReader] - null. Way id = 516646040
29 Mar 09:40:08 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
29 Mar 09:40:08 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:178) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:72) ~[classes/:6.7.0]
at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:42) ~[classes/:6.7.0]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
at org.heigit.ors.routing.graphhopper.extensions.core.CoreAlgoFactoryDecorator.prepare(CoreAlgoFactoryDecorator.java:314) ~[classes/:6.7.0]
at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.prepareCore(ORSGraphHopper.java:787) ~[classes/:6.7.0]
at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.postProcessing(ORSGraphHopper.java:690) ~[classes/:6.7.0]
at com.graphhopper.GraphHopper.process(GraphHopper.java:703) ~[graphhopper-core-v0.13.21.jar:?]
at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:680) ~[graphhopper-core-v0.13.21.jar:?]
at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:169) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:182) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:126) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.7.0]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
... 1 more
Caused by: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
at org.heigit.ors.routing.graphhopper.extensions.core.CoreAlgoFactoryDecorator.prepare(CoreAlgoFactoryDecorator.java:310) ~[classes/:6.7.0]
at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.prepareCore(ORSGraphHopper.java:787) ~[classes/:6.7.0]
at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.postProcessing(ORSGraphHopper.java:690) ~[classes/:6.7.0]
at com.graphhopper.GraphHopper.process(GraphHopper.java:703) ~[graphhopper-core-v0.13.21.jar:?]
at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:680) ~[graphhopper-core-v0.13.21.jar:?]
at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:169) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:182) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:126) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.7.0]
at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.7.0]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
... 1 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
at com.graphhopper.util.BitUtilLittle.toShort(BitUtilLittle.java:32) ~[graphhopper-core-v0.13.21.jar:?]
at com.graphhopper.storage.RAMDataAccess.getShort(RAMDataAccess.java:225) ~[graphhopper-core-v0.13.21.jar:?]
at org.heigit.ors.routing.graphhopper.extensions.storages.HeavyVehicleAttributesGraphStorage.hasEdgeRestriction(HeavyVehicleAttributesGraphStorage.java:163) ~[classes/:6.7.0]
at org.heigit.ors.routing.graphhopper.extensions.edgefilters.core.HeavyVehicleCoreEdgeFilter.accept(HeavyVehicleCoreEdgeFilter.java:33) ~[classes/:6.7.0]
at org.heigit.ors.routing.graphhopper.extensions.edgefilters.EdgeFilterSequence.accept(EdgeFilterSequence.java:29) ~[classes/:6.7.0]
at org.heigit.ors.routing.graphhopper.extensions.core.PrepareCore.prepareNodes(PrepareCore.java:190) ~[classes/:6.7.0]
at org.heigit.ors.routing.graphhopper.extensions.core.PrepareCore.doSpecificWork(PrepareCore.java:175) ~[classes/:6.7.0]
at com.graphhopper.routing.util.AbstractAlgoPreparation.doWork(AbstractAlgoPreparation.java:30) ~[graphhopper-core-v0.13.21.jar:?]
at org.heigit.ors.routing.graphhopper.extensions.core.CoreAlgoFactoryDecorator.lambda$prepare$0(CoreAlgoFactoryDecorator.java:300) ~[classes/:6.7.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
... 1 more
29 Mar 09:40:08 INFO [routing.RoutingProfileManager] - ====> Recycling garbage...
29 Mar 09:40:08 INFO [routing.RoutingProfileManager] - Before:  Total - 4.09 GB, Free - 891.66 MB, Max: 6 GB, Used - 3.22 GB
29 Mar 09:40:08 INFO [routing.RoutingProfileManager] - After:  Total - 4.36 GB, Free - 1.75 GB, Max: 6 GB, Used - 2.61 GB
29 Mar 09:40:08 INFO [routing.RoutingProfileManager] - ========================================================================
29 Mar 09:40:08 INFO [routing.RoutingProfileManager] - ====> Memory usage by profiles:
29 Mar 09:40:08 INFO [routing.RoutingProfileManager] - Total: 0 B (0.0%)
29 Mar 09:40:08 INFO [routing.RoutingProfileManager] - ========================================================================

What confuses me is the following:

  • If I do the same process and replace the Germany data with data only for the Saarland, it works.
  • If I don’t use the dockerfile, but instead docker-compose, it works.

So it seems like there are no problems in any configuration except the one I need, and I’m not able to figure out why exactly in this case I run into invalid(?) Way-IDs, whereas docker-compose (with HGV) as well as docker build with the car-profile can process the same file.

Any help would be appreciated!
Best regards

Quick update: As described here, the problem mentioned in the post above has been solved. I’ll get back to the HGV weighting in the next days and hope to get it as I need it without further issues.

Best regards

1 Like