I am struggling with setting up the routing and map matching services using a shared osm data source. The idea is to import the pbf file once, then share the output between routing and map matching.
I am confused about the support for contraction hierarchies (CH) for map matching. There are threads, which indicate it might be possible to use CH. Is it?
Would you have any recommendations on how this setup should work?
Currently we force you to use non-CH as it is faster and less resource intense.
For long distances CH could be better but we currently do not allow this.
If you want this change the above and then you need to pass here that you want CH or change the default to CH=true here.
Thank you, it works smoothly.
Had to edit both MatchServer.java and MapMatching.java as you mentioned to enable CH.
Also modified the arguments for the server-start script in map-matching.sh to load the same configuration, which was used to import the OSM data.
Great to hear this, thanks for the link!