Skip to content
This repository was archived by the owner on Mar 1, 2021. It is now read-only.
This repository was archived by the owner on Mar 1, 2021. It is now read-only.

How to make map-matching include the elevation data? #144

@carlos-mg89

Description

@carlos-mg89

I have tried to include the elevation data following the information I read in this forum post https://discuss.graphhopper.com/t/map-matching-with-elevation-data/2238/5

However, the elevation data is never included, and it actually seems that nothing is happening at all.

This is my config file:

graphhopper:
  datareader.file: map-data/leipzig_germany.osm.pbf
  graph.location: graph-cache
  graph.flag_encoders: hike
  prepare.ch.weightings: no
  graph.elevation.provider: multi
  graph.elevation.calc_mean: true
  graph.elevation.smoothing: true
  graph.elevation.cache_dir: ./srtmprovider/
  graph.elevation.dataaccess: RAM_STORE

server:
  applicationConnectors:
  - type: http
    port: 8989
    # for security reasons bind to localhost
    bindHost: localhost
  adminConnectors:
  - type: http
    port: 8990
    bindHost: localhost

I tried even copying the srtmprovider folder of my graphhopper (since I'm using the same .osm.pbf file to use map-matching library), but it made no difference.

The map matching is working, but the elevation data is never attached.

Could anyone help me please? I'd use the graphhopper library to obtain the elevation data, but the GPX files I've got have thousands of points, and I'd like to map-match them, in order to remove inconsistencies with the reality, since the GPX files aren't exact.

Thanks in advance!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions