[OSRM-talk] All route requests report status: 207

2013-11-13 Thread Stephen Woodbridge
Dennis, I can't get osrm-routed to generate a route. I'm guessing I did something wrong in the process of generating the graph or extracting it into the intermediate file. All I get is status:207 GET 'http://localhost:5000/viaroute?loc=42.5,-74.5&loc=44.0,-75.5' {"version": 0.3,"status":207,

Re: [OSRM-talk] [pgrouting-dev] Making progress on dumping pgRouting tables to OSRM

2013-11-13 Thread Daniel Kastl
> > To be able to use the route for further processing, it would be also nice, > if OSRM would return a list of original network link ID's instead of a more > or less simplified route geometry and a few via points. > > > Yes, we throw these IDs away. As a workaround you can adapt the LUA based > pr

Re: [OSRM-talk] What is the map.osrm.timestamp ?

2013-11-13 Thread Dennis Luxen
Stephen, > What is the map.osrm.timestamp? And what needs to be in it? It is an optional file that holds a time stamp of the underlying data. Rather uncritical. > osrm-routed --help refers to .timestamp file. But I have see nothing that > describes it. > > The page https://github.com/DennisOS

Re: [OSRM-talk] [pgrouting-dev] Making progress on dumping pgRouting tables to OSRM

2013-11-13 Thread Dennis Luxen
Daniel, > To be able to use the route for further processing, it would be also nice, if > OSRM would return a list of original network link ID's instead of a more or > less simplified route geometry and a few via points. Yes, we throw these IDs away. As a workaround you can adapt the LUA based

Re: [OSRM-talk] [pgrouting-dev] Making progress on dumping pgRouting tables to OSRM

2013-11-13 Thread Daniel Kastl
> > 4. write stored procedures like: >point = osrm_locate(point) >point = osrm_nearest(point) > >jsontext = osrm_viaroute(point[], alt, instruction, zoom) >status = osrm_getRouteStatus(jsontext); >polyline = osrm_getRouteGeometry(jsontext, alt) >instructions[] = osrm_getRout

[OSRM-talk] What is the map.osrm.timestamp ?

2013-11-13 Thread Stephen Woodbridge
Hi Dennis, What is the map.osrm.timestamp? And what needs to be in it? osrm-routed --help refers to .timestamp file. But I have see nothing that describes it. The page https://github.com/DennisOSRM/Project-OSRM/wiki/Running-OSRM refers to a server.ini file and links to it in the repository, b

Re: [OSRM-talk] New page for OSRM Normalized format rev2

2013-11-13 Thread Dennis Luxen
> Ok, done! Moved the new content to the old page and deleted the new page. Thanks. Your findings look correct at first sight. Thanks for putting this together. —Dennis ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap

Re: [OSRM-talk] New page for OSRM Normalized format rev2

2013-11-13 Thread Dennis Luxen
> I have created a new wiki page: > > https://github.com/DennisOSRM/Project-OSRM/wiki/OSRM-normalized-file-format-rev2 > Don’t do a new one. Fix the old one. —Dennis > This is based on my efforts to reverse engineer the new file structures, so > it may not be complete of correct, but it is a

Re: [OSRM-talk] New page for OSRM Normalized format rev2

2013-11-13 Thread Stephen Woodbridge
Ok, done! Moved the new content to the old page and deleted the new page. -Steve On 11/13/2013 4:43 PM, Dennis Luxen wrote: I have created a new wiki page: https://github.com/DennisOSRM/Project-OSRM/wiki/OSRM-normalized-file-format-rev2 Don’t do a new one. Fix the old one. —Dennis This i

[OSRM-talk] New page for OSRM Normalized format rev2

2013-11-13 Thread Stephen Woodbridge
Hi all, I have created a new wiki page: https://github.com/DennisOSRM/Project-OSRM/wiki/OSRM-normalized-file-format-rev2 This is based on my efforts to reverse engineer the new file structures, so it may not be complete of correct, but it is a start and so far works for me with limited testin

Re: [OSRM-talk] Making progress on dumping pgRouting tables to OSRM

2013-11-13 Thread Antonio Moratilla Ocaña
Hi Stephen Only two notes that may help you with your plan: I've been working on using OSRM from a web service, and i've learned OSRM doesn't perform so good when queried with curl (Ok, it's not OSRM problem, but curl: it need to setup a route and connection to the server, and it takes time, and u

[OSRM-talk] Shortest time versus shortest distance

2013-11-13 Thread Stephen Woodbridge
Hi Dennis, I noticed that in the map.osrm for edges we define both edge length and edge weight that is in 1/10s units. Is is possible to get routes based on shortest path versus shortest time? When I was reading somewhere (maybe in the profile.lua) that you can apply a cost for traffic light

Re: [OSRM-talk] Making progress on dumping pgRouting tables to OSRM

2013-11-13 Thread Stephen Woodbridge
On 11/13/2013 12:27 PM, Emil Tin wrote: Hi Stephen, Sound like very interesting work, conencting pgRouting and OSRM. I'm afraid I can't help you with your current problem, but I'm sure Dennis can. Emil Hi Emil, Dennis, Sorry, cross-posted to pgRouting-dev So this is kind of my rough plan. I

Re: [OSRM-talk] Making progress on dumping pgRouting tables to OSRM

2013-11-13 Thread Emil Tin
Hi Stephen, Sound like very interesting work, conencting pgRouting and OSRM. I'm afraid I can't help you with your current problem, but I'm sure Dennis can. Emil On 13 Nov 2013, at 18:04 , Stephen Woodbridge wrote: > Hi Dennis, Emil, > > I have made some progress reverse engineering the cur

[OSRM-talk] Making progress on dumping pgRouting tables to OSRM

2013-11-13 Thread Stephen Woodbridge
Hi Dennis, Emil, I have made some progress reverse engineering the current file formats and have been able to successfully extract a pgRouting topology into the "current" OSRM normalized data files and run osrm-prepare on that. That said, I have not tried to run routes on this which I will do