Code Monkey home page Code Monkey logo

Comments (7)

MichaelsJP avatar MichaelsJP commented on June 12, 2024 1

@aukfood thanks for opening the issue. You need to remove the ors. part from the logging config. The reason is that the logging part is handled by a library that listens to the logging.* namespace only. Be careful, it becomes very noisy in DEBUG ;).

So valid should be:

    environment:
      - BUILD_GRAPHS=False
      - ors.engine.source_file=/home/ors/files/europe-latest.osm.pbf
      - ors.engine.graphs_root_path=/home/ors/graphs
      - ors.engine.elevation.cache_path=/home/ors/elevation_cache
      - ors.engine.profiles.car.enabled=true
      - logging.level.root=DEBUG
      - logging.level.org.heigit=DEBUG

Here are two links for you with hopefully helpful information:

from openrouteservice.

sfendrich avatar sfendrich commented on June 12, 2024

No, this is not normal. If this is all of its output, it seems ORS is not even building the graphs.
Sometimes downloading the elevation tiles is slow.

from openrouteservice.

aukfood avatar aukfood commented on June 12, 2024

@sfendrich there is no progress status information with a curl request for exemple ?

from openrouteservice.

MatsGej avatar MatsGej commented on June 12, 2024

I have the same problem. But the container exited without any messages. I have added some data here:https://ask.openrouteservice.org/t/other-v8-problem-exiting-without-explanation/5934

from openrouteservice.

sfendrich avatar sfendrich commented on June 12, 2024

There is no option to get more information about the graph building process through the API. You might try enabling debug logging to get more information: https://giscience.github.io/openrouteservice/run-instance/configuration/spring/logging

from openrouteservice.

MatsGej avatar MatsGej commented on June 12, 2024

I could not get it to create any debug logs even though I set both root and heigit to DEBUG.

But after fiddling with the file permissions I got it to run. I was using the dach-lastest pbf file and I got two errors in the generation that was strange:
2024-04-04 19:30:39 2024-04-04 17:30:39 ERROR car_ors_fastest_with_turn_costs_highways [ c.g.r.l.LandmarkStorage ] method findLandmarks for 53.3114637,10.1669325 (10149016) resulted in too few visited nodes: 1 vs expected minimum 10000, see #2256
2024-04-04 19:30:42 2024-04-04 17:30:42 ERROR car_ors_fastest_with_turn_costs_highways [ c.g.r.l.LandmarkStorage ] method findLandmarks for 52.4989297,7.9763652 (7147299) resulted in too few visited nodes: 1 vs expected minimum 10000, see #2256

from openrouteservice.

aukfood avatar aukfood commented on June 12, 2024

@sfendrich and @MatsGej I restart my stack with these in configuration :

    environment:
      - BUILD_GRAPHS=False
      - ors.engine.source_file=/home/ors/files/europe-latest.osm.pbf
      - ors.engine.graphs_root_path=/home/ors/graphs
      - ors.engine.elevation.cache_path=/home/ors/elevation_cache
      - ors.engine.profiles.car.enabled=true
      - ors.logging.level.root=DEBUG
      - ors.logging.level.org.heigit=DEBUG

But no more logs.

2024-04-09 08:53:04 INFO [o.h.o.a.Application                     ] - The following 1 profile is active: "default"
2024-04-09 08:53:04 INFO [o.h.o.a.ORSEnvironmentPostProcessor     ] - 
2024-04-09 08:53:04 INFO [o.h.o.a.ORSEnvironmentPostProcessor     ] - Configuration lookup started.
2024-04-09 08:53:04 INFO [o.h.o.a.ORSEnvironmentPostProcessor     ] - Configuration file set by environment variable.
2024-04-09 08:53:04 INFO [o.h.o.a.ORSEnvironmentPostProcessor     ] - Loaded file '/home/ors/config/ors-config.yml'
2024-04-09 08:53:04 INFO [o.h.o.a.ORSEnvironmentPostProcessor     ] - Configuration lookup finished.
2024-04-09 08:53:04 INFO [o.h.o.a.ORSEnvironmentPostProcessor     ] - 
2024-04-09 08:53:07 INFO [o.h.o.a.s.l.ORSInitContextListener      ] - Initializing ORS...
2024-04-09 08:53:07 INFO [o.h.o.r.RoutingProfileManager           ] - Total - 1024 MB, Free - 953.57 MB, Max: 2 GB, Used - 70.93 MB
2024-04-09 08:53:07 INFO [o.h.o.r.RoutingProfileManager           ] - ====> Initializing profiles from '/home/ors/files/europe-latest.osm.pbf' (1 threads) ...
2024-04-09 08:53:07 INFO [o.h.o.r.RoutingProfileManager           ] - 1 profile configurations submitted as tasks.
2024-04-09 08:53:07 INFO [o.h.o.r.RoutingProfile                  ] - [1] Profiles: 'driving-car', location: '/home/ors/graphs/car'.
2024-04-09 08:53:08 INFO [o.h.o.r.g.e.c.CoreLMPreparationHandler  ] - Loaded landmark splitting collection from 
2024-04-09 08:53:08 INFO [o.h.o.r.g.e.ORSGraphHopper              ] - version v4.9.1|2024-01-17T09:08:46Z (7,20,5,4,5,7)
2024-04-09 08:53:08 INFO [o.h.o.r.g.e.ORSGraphHopper              ] - graph CH|car_ors|RAM_STORE|3D|turn_cost|,,,,, details:edges:0(0MB), nodes:0(0MB), name:(0MB), geo:0(0MB), bounds:1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308, shortcuts:0 (0MB), nodesCH:-1 (0MB), shortcuts:0 (0MB), nodesCH:-1 (0MB), shortcuts:0 (0MB), nodesCH:-1 (0MB)
2024-04-09 08:53:08 INFO [o.h.o.r.g.e.ORSGraphHopper              ] - No custom areas are used, custom_areas.directory not given
2024-04-09 08:53:08 INFO [o.h.o.r.g.e.ORSGraphHopper              ] - start creating graph from /home/ors/files/europe-latest.osm.pbf
2024-04-09 08:53:08 INFO [o.h.o.r.g.e.ORSGraphHopper              ] - using CH|car_ors|RAM_STORE|3D|turn_cost|,,,,, memory:totalMB:1024, usedMB:276
2024-04-09 08:53:09 INFO [o.h.o.a.Application                     ] - Started Application in 5.567 seconds (process running for 7.105)
2024-04-09 08:53:09 INFO [o.h.o.a.Application                     ] - openrouteservice {"build_date":"2024-03-21T13:55:54Z","version":"8.0.0"}

from openrouteservice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.