I have got empty results after trying to call for routing

In my case, I have 2 GTFS files. When I build only 1 file, the route can be found. However, when I build 2 files and find the route for same number as I did in 1 file.

This is the result I receieve

{'hints': {'visited_nodes.sum': 1000000, 'visited_nodes.average': 1000000},
 'info': {'copyrights': ['GraphHopper', 'OpenStreetMap contributors'],
  'took': 2003},
 'paths': []}

However, I think the cause is from very large GTFS files (combined 2 files). So I try to config routing.max_visited_nodes: 15000000 in my config

graphhopper:
  # OpenStreetMap input file PBF or XML, can be changed via command line -Ddw.graphhopper.datareader.file=some.pbf
  datareader.file: try.pbf
  gtfs.file: gtfs1.zip,gtfs2.zip

  gtfs:
    include_file: true
    log_file: gtfs-debug.log
    debug: true
  graph.location: graph-cache-test
  profiles:
    - name: foot
      custom_model_files:
        - foot.json
    

  import.osm.ignored_highways: motorway,trunk
  graph.encoded_values: foot_access, foot_average_speed, foot_priority, hike_rating, mtb_rating, country, road_class
  routing.max_visited_nodes: 15000000

server:
  application_connectors:
    - type: http
      port: 8989
      bind_host: localhost
  admin_connectors:
    - type: http
      port: 8990
      bind_host: localhost

logging:
  appenders:
    - type: file
      time_zone: UTC
      current_log_filename: logs/graphhopper.log
      log_format: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
      archive: true
      archived_log_filename_pattern: ./logs/graphhopper-%d.log.gz
      archived_file_count: 30
      never_block: true
    - type: console
      time_zone: UTC
      log_format: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
  loggers:
    "com.graphhopper.osm_warnings":
      level: DEBUG
      additive: false
      appenders:
        - type: file
          currentLogFilename: logs/osm_warnings.log
          archive: false
          logFormat: '[%level] %msg%n'

The output is still the same

{'hints': {'visited_nodes.sum': 1000000, 'visited_nodes.average': 1000000},
 'info': {'copyrights': ['GraphHopper', 'OpenStreetMap contributors'],
  'took': 2003},
 'paths': []}

How to fix it ? Thank you in advance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.