I have a collection of regionally specific linestrings and multi-line strings which are off-road paths. I would like to be able to integrate these into a Leaflet routing systems which would exclusively use these paths and no other existing roads/trails. From the research so far, it looks like I could use perliedman leaflet-routing-engine to hook into ORSM or Valhalla, but then I would need to feed the custom off-road paths into these systems. I would like to keep these paths private for at least a period of time.

Is building these out in OSM as private the best option for feeding the routing system?

Is there a better way to just feed these paths into ORSM or Valhalla directly?

  • Welcome to GIS SE. As a new user, please take the Tour. We are not a discussion forum. Instead, we use a Focused question/Best answer model, which does not work well with opinion-based questions.
    – Vince
    Commented Jul 23, 2020 at 11:41

1 Answer 1


If you have PostGIS/pgRouting already installed, you could use something like lrm-pgrouting. It does not seem very active right now, but I used it pretty successfully a few years ago, to do something very similar to what you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.