Using a custom layer as the routeable network **NEW to GH


I am new to GH and fairly inexperienced with routing applications. I was hoping someone here could help answer a question I have. Thank you in advance for any help you can offer.

I have a geojson layer that should function well as a network layer. In simple terms, is there any way that I can have this custom layer participate in the graphhopper routing API or have this layer exist as the only routeable layer in my leaflet map application, disregarding the other OSM network.

Does anyone know of any method where I can pass a custom layer into a routing engine that is supported by leaflet?

**Edit 1. I am not necessarily looking at this as a map matching problem as the custom geojson layer has segments that do not exist in the OSM dataset.

any help appreciated, thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.