Path and PathWrapper

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

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

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?

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

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