that is what I already do, but it means a lot of (unnecessary) connections. I assume the geometries are already available when computing the duration.
I was hoping for a "documentation lacking behind development" scenario... cheers, michal On Fri, Apr 15, 2016 at 04:09:49PM +0200, Daniel Hofmann wrote: > If you check the v5 spec you linked, you will see only Route, Trip and > Match providing a "geometries" option. > > What you can do is this: > - do a Table request from your position against all Bus / Tram stops in the > area / in a buffer of a few kilometers > - pick n shortest routes from the Table response and temporarily store > their destination coordinates > - do n Route request from your position against the n destination > coordinates and extract the geometry > > Cheers, > Daniel J H > > On Fri, Apr 15, 2016 at 3:49 PM, Michal Palenik <michal.pale...@freemap.sk> > wrote: > > > hi, > > > > within the new api, I am trying to find how to get geometry (together > > with perfect duration). is it possible? > > > > or do I have to make N*M queries for all the possible combinations? > > > > > > https://github.com/Project-OSRM/osrm-backend/wiki/New-Server-api#service-table > > > > I am trying to make a service like "show me the routes to the closest > > bus/tram stops" : http://epsilon.sk/mhd/ > > > > thanks > > > > michal > > > > -- > > michal palenik > > www.freemap.sk > > www.oma.sk > > > > > > _______________________________________________ > > OSRM-talk mailing list > > OSRM-talk@openstreetmap.org > > https://lists.openstreetmap.org/listinfo/osrm-talk > > > _______________________________________________ > OSRM-talk mailing list > OSRM-talk@openstreetmap.org > https://lists.openstreetmap.org/listinfo/osrm-talk -- michal palenik www.freemap.sk www.oma.sk _______________________________________________ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk