GraphHopper.com | Forum | GitHub | Maps | Blog

Map matching with elevation data


#1

Dear community,

I would like to get elevation data along with the regular map matching. According to the documentation, it should be quite easy. However, I do not understand, where I have to put the required line “graph.elevation.provider=srtm”. I copied this line to a new file config.properties, but I am not sure where this one has to go.

Can you help me?

Kind regards,
Evgenia


#2

Yes, you put this in the config.properties and a new import is necessary: https://github.com/graphhopper/graphhopper/blob/master/docs/core/elevation.md, which requires to remove the area-gh folder


#3
  1. The config.properties is a new file that did not exist before. Is that correct? If so, in which subfolder does it have to go?
  2. For a new import, I execute “mvn clean” in the terminal and then I re-execute “./map-matching.sh action=import datasource=./some-dir/osm-file.pbf vehicle=car” with the area I am interested in. Is that correct?

#4

Re 2: ah yes, this seems to be a mismatching between the GH core and map matching repo that we have to fix
Re 2: remove the graph-cache and no mvn clean is necessary