On Mon, Mar 09, 2015 at 02:54:06PM -0300, Fernando Pacheco wrote: > Hi all. > > We are developing an application for routing solid waste collection > trucks. We use OSRM to calculate distances between collecting points > (intermediate points). > > Some customers are located in two-way streets (simple, no separators) > ... How can I say to OSRM that must arrive to the collecting points at > the adequate side of the street? That is, on the side where the client > is, without crossing the opposite direction of the street to access the > load. > > Is it possible?. Thanks in advance. Fernando.
I had the immediate idea of taking the dataset and duplicated all non-oneway streets (only the way) and making it 2 oneways. I am unshure now how to tell osrm you want to end up on a specific way (not location) which is geometrically identical to the other. Another idea - create small fake ways via postgis etc from the nearest road to your collection point near the street and add a fake turn restriction from the road ( only_right_turn ). Flo -- Florian Lohoff [email protected] We need to self-defense - GnuPG/PGP enable your email today!
signature.asc
Description: Digital signature
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
