Re: [OSRM-talk] arrive to destination on the adequate side in two-way streets

2015-03-10 Thread Florian Lohoff
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 f...@zz.de
 We need to self-defense - GnuPG/PGP enable your email today!


signature.asc
Description: Digital signature
___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


[OSRM-talk] arrive to destination on the adequate side in two-way streets

2015-03-09 Thread Fernando Pacheco
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.

-- 
Ing. Fernando Pacheco M.S.L.

Ingesur srl
Dirección: Reconquista 268 apto. 511, Montevideo, Uruguay.
Teléfonos: +598 29161459, +598 99627932
Web: http://www.ingesur.com.uy/

___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk