Hello to everyone!
I have OpenStreetMap .pbf file, which contains OSM changes history over a half year. GraphHopper doesn’t consider the version of the way while loading OSM data, therefore as a result in a graph there is the same OSM ID line with many versions (in my case maximum 37 version of the same line).
I would like to add a preliminary definition of the latest version for each line, and the building of a graph only for such lines. The idea is to add the preliminary stage of determining the latest versions in the DataReader.readGraph() method, and to take this information into account in preProcess() and writeOsm2Graph() methods (skip lines with not latest version).
Propose to discuss whether this addition can be useful.