[OSRM-talk] Non-routing places
Dennis Luxen
info at project-osrm.org
Wed Jun 18 11:33:56 UTC 2014
John,
thanks for flagging this. We are working on a better/automatic solution right now. In the mean-time you can avoid so-called ‚small‘ components of the road network by adding a low zoom level to the query, e.g. &z=12. With this setting, it will ignore unconnected portions of the road network. Or add a high zoom level, e.g. &z14 to chose the nearest piece of road ignoring if it is connected or not.
The nearest call is pretty much unrelated to routing and not necessary at all when requesting a route, although it respects the zoom level parameter as well.
—Dennis
Am 18.06.2014 um 13:20 schrieb John Aherne <johnaherne at rocs.co.uk>:
> We are finding quite a few places where we cannot route from or to.
>
> When we try the nearest option to get the nearest node on a street, we still get a latitude/longitude that will not route.
>
> It seems that we have to try widening the circle until we find a point that we can route with.
>
> What we are wondering is whether we have missed something obvious to solve this problem. Or whether what we are doing is the only solution for the moment.
>
> I imagine the alternative would be to add nodes to the map to solve this problem. But I have not really investigated closely how I would go about this.
>
> Thanks for any info.
>
> Regards
>
>
> --
> John Aherne
>
>
>
> www.rocs.co.uk
> 020 7223 7567
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
More information about the OSRM-talk
mailing list