[OSRM-talk] "nearest suitable road segment" Was: Helgoland in St. Peter-Ording

Florian Lohoff f at zz.de
Wed Aug 17 17:54:06 UTC 2016

Hola Patrick,

On Tue, Aug 16, 2016 at 08:29:13PM +0200, Patrick Niklaus wrote:
> Hey Jürgen,
> OSRM routed immer vom  jeweils nächsten Straßensegment der
> Eingabe-Koordinaten. Das heißt in dem Fall, da sich auf Helogland

Just to continue on this with a related issue - What is a "suitable" street
segment. highway=*something vehicle suitable* and ignoring
access tags?

I have a case where there is a building - belonging to the big
front street, though when i use it as a route start/endpoint i get
routed to the private residents parking space in the backyard as
that street segment is spatially nearer.

I now tried to set an access=private to the highway=service
service=parking_aisle in the backyard which seems to solve the issue
although incorrectly tagged. There is no "access prohibiting sign"
for the backyard.

Look at the start Point which is "Berliner Straße 1, Gütersloh".
This is where i sprinkeled some magic "access=private" on the backyard
road segments:

Example - which now works:

This is a broken example:

Münsterstraße 15a, Gütersloh will be routed through a customer
parking space:


I am unshure on how to fix this correctly.

Modifying spatial data to make the "main road" be more
close seems like a really broken method.
Putting access=private or stuff on backyard roads although
they are not marked as such seems broken too.
I was always thinking about some relation to mark
access to a specific address/building/poi from a certain street/way.

	to=<building outline>
	to=<address node>

This is not a pure OSRM issue - Mapzen/Graphhopper have identical issues.

A Mapzen route which has problems "Hohenzollernstraße 1, Gütersloh"


Florian Lohoff                                                 f at zz.de
             UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20160817/cbd60b34/attachment.sig>

More information about the OSRM-talk mailing list