GraphHopper.com | Forum | GitHub | Maps | Blog

Path and PathWrapper


#1

What is the relation between Path and PathWrapper?
Is there already a procedure to transform from one object to another?


#2

See discussion here: https://github.com/graphhopper/graphhopper/issues/1147


#3

I have seen that, but is is more philosophical that technical… :slight_smile:
My question is - what is the easiest way to convert one into the other?


#4

You can get a PathWrapper from a list of Paths but not the opposite way.

See e.g. ViaRoutingTemplate where the PathMerger is used.