gis-ops / docker-valhalla

This is our flexible Docker repository for the Valhalla routing engine
MIT License
228 stars 69 forks source link

No suitable edges near location, only when using 'bicycle' #111

Closed danceb closed 1 year ago

danceb commented 1 year ago

In our setup I am getting the error No suitable edges near location, but only when the costing 'bicycle' is used. All other vehicles works fine. Any idea, where this could come from?

I am using a clipped pbf file, maybe this is causing the issue?

I am using the current 3.4.0 docker image but had this issue with older versions, too.

Example-Request here, our routing engine is accessible to public. https://routing-valhalla.jena.de/route?json={"costing":"bicycle","costing_options":{"bicycle":{"cycling_speed":25,"shortest":false,"use_ferry":1}},"exclude_polygons":[],"locations":[{"lon":11.5701120550866,"lat":50.905172060344334},{"lon":11.605065590055242,"lat":50.948756350379725}],"directions_options":{"units":"kilometers","language":"de-DE"},"id":"valhalla_directions"}

nilsnolde commented 1 year ago

Hm, hard to comment on this without actual access to whatever's been done to that Valhalla instance. It means that there's no bike-accessible paths anywhere within the max radius and minimum reachability of the config. See here for some of the config descriptions: https://github.com/valhalla/valhalla/blob/ed93f30272377cc6803533a1bb94fe81d14af81c/scripts/valhalla_build_config#L281

danceb commented 1 year ago

Did a complete rebuild of all graph tiles with a fresh pbf file and now everything works. No idea, but thanks!