Skip to content

Elevation data downloaded OK, but no query will get it !!! #2286

Description

@Namec999

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

had my new 9.9 ors backend working well, but the elevation is not sent in the response, when i specify it in my query as true

here my settings :

services:
ors-app:
container_name: ors-app
image: openrouteservice/openrouteservice:v9.9.0
ports:
- "8080:8082"
- "9001:9001"
volumes:
- ./config:/home/ors/config
- ./graphs:/home/ors/graphs
- ./elevation_cache:/home/ors/elevation_cache
- ./logs:/home/ors/logs
- ./files:/home/ors/files
environment:
REBUILD_GRAPHS: "True"
BUILD_GRAPHS: "True"
CONTAINER_LOG_LEVEL: DEBUG # was DEBUG — reduces log noise on prod
ORS_CONFIG_LOCATION: /home/ors/config/my-ors-config.yml
XMS: 512m # was 1g — no need to pre-allocate that much
XMX: 4g
ORS_ENGINE_GRAPHS_DATA_ACCESS: MMAP
ORS_ENGINE_ELEVATION_CACHE_PATH: /home/ors/elevation_cache
ORS_ENGINE_PROFILE_DEFAULT_GRAPH_PATH: /home/ors/graphs
ADDITIONAL_JAVA_OPTS: >-
-Djava.awt.headless=true
-server
-XX:+UseG1GC
-XX:G1HeapRegionSize=4m
-XX:MaxGCPauseMillis=200
-XX:+ScavengeBeforeFullGC

==================================

logging:
level:
root: ERROR
org.heigit: WARN

ors:

endpoints:
routing:
enabled: true
attribution: Augmented Telematics
maximum_avoid_polygon_area: 200000000
maximum_avoid_polygon_extent: 20000
maximum_alternative_routes: 3

matrix:
  enabled: true
  maximum_routes: 2500
  maximum_routes_flexible: 50
  maximum_visited_nodes: 1000000
  maximum_search_radius: 2000
  u_turn_costs: -1

isochrones:
  enabled: true
  maximum_locations: 2
  maximum_intervals: 10
  allow_compute_area: true
  maximum_range_distance_default: 500000
  maximum_range_distance:
    - profiles: driving-car
      value: 500000
  maximum_range_time_default: 18000
  maximum_range_time:
    - profiles: driving-car
      value: 36000

snap:
  enabled: false

engine:
init_threads: 1
preparation_mode: false
graphs_data_access: MMAP # RAM_STORE will OOM your 8GB VPS

elevation:
  preprocessed: false
  data_access: MMAP
  cache_clear: false
  provider: srtm

profile_default:
  enabled: false
  build:
    source_file: /home/ors/files/algeria.osm.pbf
    elevation: true
    elevation_smoothing: true
    encoder_flags_size: 8
    instructions: true
    optimize: false
    interpolate_bridges_and_tunnels: true
    preparation:
      min_network_size: 200
      methods:
        lm:
          enabled: false            # disabled globally, CH+Core handle everything
  service:
    maximum_distance: 5000000
    maximum_distance_dynamic_weights: 5000000
    maximum_distance_avoid_areas: 5000000
    maximum_waypoints: 1000
    maximum_snapping_radius: 400
    maximum_distance_alternative_routes: 5000000
    maximum_distance_round_trip_routes: 5000000
    maximum_visited_nodes: 1000000
    force_turn_costs: false
    allow_custom_models: true

profiles:

  driving-car:
    enabled: true
    encoder_name: driving-car
    build:
      elevation: true
      elevation_smoothing: true
      encoder_options:
        turn_costs: true
        block_fords: false
        use_acceleration: true
        enable_custom_models: false
      preparation:
        min_network_size: 200
        methods:
          ch:
            enabled: true
            threads: 2
            weightings: fastest
          lm:
            enabled: false
          core:
            enabled: true
            threads: 2
            weightings: fastest,shortest
            landmarks: 32
            lmsets: highways;allow_all
      ext_storages:
        WayCategory:
        WaySurfaceType:
        Tollways:
        RoadAccessRestrictions:
          use_for_warnings: true
    service:
      execution:
        methods:
          core:
            active_landmarks: 6

  driving-hgv:
    enabled: true
    encoder_name: driving-hgv
    build:
      elevation: true
      elevation_smoothing: true
      encoder_options:
        turn_costs: true
        block_fords: false
        use_acceleration: true
        enable_custom_models: false
      preparation:
        min_network_size: 200
        methods:
          ch:
            enabled: true
            threads: 2
            weightings: recommended
          lm:
            enabled: false
          core:
            enabled: true
            threads: 2
            weightings: recommended,shortest
            landmarks: 32
            lmsets: highways;allow_all
      ext_storages:
        WayCategory:
        WaySurfaceType:
        HeavyVehicle:
          restrictions: true
        Tollways:
    service:
      execution:
        methods:
          core:
            active_landmarks: 6

Proposed solution

no idea

Additional context

No response

Forum Topic Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions