Re: [OSRM-talk] OSRM-talk Digest, Vol 33, Issue 12

2015-10-01 Thread Daniel Patterson
Project-OSRM/osrm-backend is the correct repository to use. The error you're seeing is an incompatibility between MSVC and one of the dependencies of OSRM called STXXL. There is a patch here for STXXL: https://github.com/mapbox/windows-builds/blob/caa9ee80125aa15237ea7227d0c45e46a1d49332/patche

Re: [OSRM-talk] Geometry Polyline Coordinates multiplied by 10

2015-10-04 Thread Daniel Patterson
Hey Bryan, The simplest thing to might be to just add "compression=false" to your /viaroute request. That'll give you back a plain JSON array of coordinates, rather than in encoded form. daniel > On Oct 4, 2015, at 4:57 PM, Bryan Coutts wrote: > > I'm trying to use OSRM to supply routes a

Re: [OSRM-talk] Using custom data

2015-10-15 Thread Daniel Patterson
Hi Matthias, Emil is right, your ways are not connected. The connection needs to happen like this: <- same node as in way 1 It is not enough to just have nodes at the same lat/lon, you actually have to refer to the same for ways to be joined.

Re: [OSRM-talk] Road speeds and profile restrictions

2015-10-15 Thread Daniel Patterson
Richard, For processing larger data sets quickly, consider using pay-by-the-hour computing resources, like Amazon EC2. Using a high-memory EC2 machine should be able to get EU processed in just a couple of hours. As long as the architecture is the same as the machine you will run `osrm-r

Re: [OSRM-talk] State of the Art - Dynamic Routing

2015-10-15 Thread Daniel Patterson
Matthias, For small networks (city-sized), many algorithms can be used and have performance good enough for interactive queries. OSRM aims to offer fast queries for *global* road networks, but the price is that a lot of pre-processing has to be done. If you're just looking at smaller regions

Re: [OSRM-talk] Need more instructions

2015-10-16 Thread Daniel Patterson
Hi Martin, You're looking at the right code, but it's not used during `viaroute`. The turn instruction flags are baked into the graph structure that is generated during `osrm-extract`. daniel > On Oct 16, 2015, at 1:08 PM, Martin Bang Andersen wrote: > > Hi all, > > I have previous wri

Re: [OSRM-talk] Modifying the graph with ad-hoc time penalties at intersections

2015-10-21 Thread Daniel Patterson
Hi Guillaume, There is a function called for every node: https://github.com/mapbox/inrix-processing/blob/master/regions.json#L198-L201 however, it doesn't feed back any specific per-node penalties. It's us

Re: [OSRM-talk] Modifying the graph with ad-hoc time penalties at intersections

2015-10-21 Thread Daniel Patterson
Patrick > > > On Wed, Oct 21, 2015 at 9:02 PM, Guillaume Barreau > wrote: >> Hi Daniel, >> >> Thanks a lot for this very fast reply. The url you sent appears to be >> broken. Could you please double-check it for me? >> >> Thanks again, >

Re: [OSRM-talk] Modifying the graph with ad-hoc time penalties at intersections

2015-10-21 Thread Daniel Patterson
up representing the total > penalties associated with crossing that particular intersection in a > particular way and I assume it gets stored as the attribute of the > corresponding edge in the graph. I was curious of when and how this distance > (a penalty expressed in meters) then gets conv

Re: [OSRM-talk] profile.lua car.lua tuning

2015-11-05 Thread Daniel Patterson
Michael, This is not an easy problem to solve. Overall, car.lua represents a model of the world, our best guess at travel speeds based on OSM road type tags. There are three problems with this: 1) Our guesses might be off 2) OSM tagging is not consistent everywhere 3) OSM might

Re: [OSRM-talk] Some OSRM Match questions

2015-11-11 Thread Daniel Patterson
If you're using osrm-routed, there's no real limit. That actually screams Denial Of Service at me, we should consider implementing something. Currently, the only limit would be on the client side. daniel > On Nov 11, 2015, at 2:25 AM, Sander Deryckere wrote: > > I think you can also be limit

Re: [OSRM-talk] URL parameters for http://map.project-osrm.org - supporting end point only?

2015-11-11 Thread Daniel Patterson
Hi Robert, http://map.project-orsm.org/ isn't really intended for linking to like your'e describing. It's more of a demo interface to OSRM itself. Have you explored using LRM (Leaflet Routing Machine) http://www.liedman.net/leaflet-routing-machine/

Re: [OSRM-talk] URL parameters for

2015-11-11 Thread Daniel Patterson
_settings#lmm-directions> > best, > > Robert > > > Message: 6 > Date: Wed, 11 Nov 2015 12:54:10 -0500 > From: Daniel Patterson mailto:dan...@mapbox.com>> > To: Mailing list to discuss Project OSRM <mailto:osrm-talk@openstreetmap.org>> >

Re: [OSRM-talk] Extended graph output file

2015-11-11 Thread Daniel Patterson
Pedro, There is some work-in-progress on the `edge_segment_lookup` branch that can give you some insight. If you enable the `-DDEBUG_GEOMETRY` flag with `make`, then `osrm-extract` and `osrm-prepare` can be instructed (with a new command-line parameter) to dump out some geometry information

Re: [OSRM-talk] Extended graph output file

2015-11-11 Thread Daniel Patterson
Sorry, autocorrect modified my last email. To enable, do: `cmake -DDEBUG_GEOMETRY=ON ..` daniel > On Nov 11, 2015, at 5:22 PM, Sotorrio, Pedro wrote: > > Thanks, Daniel! > > —Pedro > > From: Daniel Patterson mailto:dan...@mapbox.com>> > Reply-To: Mailin

Re: [OSRM-talk] osrm performance with multiple threads is confusing me

2015-11-12 Thread Daniel Patterson
Hi Peter, How are you performing the tests? From the same machine, or from another machine over the network? OSRM responses are usually around 5-20ms. If you're doing some analysis of the results, on the same machine, it's possible that your tests themselves are CPU limited. Can you gi

Re: [OSRM-talk] osrm-routed and multiple states

2015-11-18 Thread Daniel Patterson
Josh, You can merge OSM files together with osmosis (http://wiki.openstreetmap.org/wiki/Osmosis ): osmosis --rx 1.osm --rx 2.osm --rx 3.osm --merge --merge --wx merged.osm and then feed that to OSRM. I have no idea if osmosis will properly m

Re: [OSRM-talk] Shortest route given start and end point

2015-12-09 Thread Daniel Patterson
Hi Kieran, You're correct, OSRM doesn't currently implement the query you want. All the data you need to answer the question is in the response of the `/table` API. In theory, supporting this exact situation (fixed start/end nodes) should be a fairly simple change to the trip plugin. With

Re: [OSRM-talk] OSRM 4.9.0 released

2015-12-30 Thread Daniel Patterson
s allowed). > - Small component size is now configurable over parameter for `osrm-routed` > - Support adding bearing filtering. Use `b=BEARING,RANGE` > - Add support for advisory speed limits > - Add duration and distance fields to `match` response > - Human-readable error messages f

Re: [OSRM-talk] Distance Matrix like current "table" - commission

2016-01-04 Thread Daniel Patterson
Alan, Fundamentally, OSRM calculates fastest time routing, not shortest distance. There are a couple of ways to approach a distance-based table: 1) return the corresponding distances for the fastest routes currently returned. Depending on road speeds, the distances may not be the shortest.

[OSRM-talk] Demo server stability - an update

2016-01-11 Thread Daniel Patterson
Hi all, Over the last few months, there have been some stability issues with the demo server. Hopefully from today, things should be a bit more stable. Late last year, the original demo server hosted by KIT had become unmaintained. As a stop-gap measure, an alternative server was configur

Re: [OSRM-talk] Multi-threaded calls to the C++ library interface

2016-01-20 Thread Daniel Patterson
Hi Richard, Yes, it works, this is what osrm-routed does, there is only a single instance of the OSRM object shared between multiple threads: https://github.com/Project-OSRM/osrm-backend/blob/develop/src/tools/routed.cpp#L105 It works either with the internal facade, or the shared memory opt

Re: [OSRM-talk] Avoid highways

2016-01-21 Thread Daniel Patterson
Hi Lorenzo, Currently, that would require a separate "profile"; a completely separate database with the road network processed differently. Our demo server only has the capacity to run one profile, and it takes many hours to generate a new one. There is a long-standing ticket here: ht

Re: [OSRM-talk] Getting OSMNodeIDs in OSRM

2016-02-01 Thread Daniel Patterson
Hi Kerrick, Yup, the node ids are renumbered to pack them more densely and ensure that values fit inside an unsigned int (32 bits). The mapping *is* written to the `.nodes` file though, here: https://github.com/Project-OSRM/osrm-backend/blob/d189339495e223a6ceea21a73bb7e434775172fa/src/extr

Re: [OSRM-talk] Getting OSMNodeIDs in OSRM

2016-02-01 Thread Daniel Patterson
n't matter if the two structs have the same size due > to padding). > > On Mon, Feb 1, 2016 at 9:25 AM, Daniel Patterson wrote: > Hi Kerrick, > > Yup, the node ids are renumbered to pack them more densely and ensure that > values fit inside an unsigned int (32 bits). &

Re: [OSRM-talk] RunQuery Output

2016-02-15 Thread Daniel Patterson
James, There's an updated example client here: https://github.com/Project-OSRM/osrm-backend/blob/develop/example/ If you look inside the "route_summary" member of the JSON response, you'll find both the "total_time" a

Re: [OSRM-talk] About Indoor Routing

2016-02-15 Thread Daniel Patterson
Hi, While it can work in theory, OSRM is missing some of the indoor-specific guidance that you will need for changing levels, like "take the stairs" and "take the elevator to the Nth floor". We are working on a big refactor at the moment that might improve this, but I don't know if anyone ha

Re: [OSRM-talk] About Indoor Routing

2016-02-15 Thread Daniel Patterson
l, will OSRM have difficulties determining the > correct source/destination node when a query is being processed? > > Many thanks, > C.C.Tang > > > On Tue, Feb 16, 2016 at 11:57 AM Daniel Patterson <mailto:dan...@mapbox.com>> wrote: > Hi, > > While it can w

Re: [OSRM-talk] RunQuery Output

2016-02-16 Thread Daniel Patterson
, James Grant wrote: > > Daniel. > > Thank you for that, found it and it works a treat. One more question for you: > would OSRM benefit speed wise if it ran on a GPU? > > Regards > > On 15-Feb-16 10:03 PM, Daniel Patterson wrote: >> James, >> >>

Re: [OSRM-talk] osrm-extract taking hours to complete

2016-03-02 Thread Daniel Patterson
Hi Frederik, Yes. STXXL has a "memory" backend that avoids disk altogether. echo "disk=none,20,memory" > .stxxl If you've got lots of RAM, this is the best way to make use of it. daniel > On Mar 2, 2016, at 1:19 PM, Frederik Ramm wrote: > > Hi, > > On 03/02/2016 09:03 PM, Bjorn

Re: [OSRM-talk] edge weights different than time

2016-03-08 Thread Daniel Patterson
Hi Christian, One the oldest tickets: https://github.com/Project-OSRM/osrm-backend/issues/77 is all about this. Your observation is correct, there is currently no separation between durations and "routing weight". We've bee

Re: [OSRM-talk] Debugging map

2016-03-19 Thread Daniel Patterson
> On Mar 16, 2016, at 3:03 PM, Frédéric Rodrigo wrote: > > I think there is an issues with blue and green in scale. Ah, good catch, fixed! daniel ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk

[OSRM-talk] Debugging map

2016-03-19 Thread Daniel Patterson
Hi all, A little while ago, we added a vector tile plugin to OSRM. Why? So you can see the road network that OSRM has in memory :-) Today, I've added a viewer for these tiles to the front-end for the demo server at: http://map.project-osrm.org/debug/

Re: [OSRM-talk] Debugging map

2016-03-19 Thread Daniel Patterson
I've just updated the color scale, hopefully the separations are a bit clearer now. It should be a bit more colorblind friendly as well. daniel ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk

Re: [OSRM-talk] routing with GPUs or mapD

2016-03-31 Thread Daniel Patterson
Bjorn, This paper outlines one approach that is very fast: http://www.cs.princeton.edu/~rwerneck/papers/DKW14-crp-gpu.pdf and there are others: https://pdfs.semanticscholar.org/0c17/805ab324006d40a8dd37d3550815824498fb

Re: [OSRM-talk] new api table and geometry

2016-04-15 Thread Daniel Patterson
Michal, Strangely enough, we don't actually have the geometry. We find a path across the Contraction Heirachy routing graph, this may only have a small handful of edges. We can sum these edges to get the route duration, but to get the actual geometry or distance, we then have to "unpack

Re: [OSRM-talk] 'penalty' for snapping

2016-04-19 Thread Daniel Patterson
Hi Steve, I was thinking about exactly this just the other day when considering https://github.com/Project-OSRM/osrm-backend/issues/2277 What I came up with was roughly: Find N nearest neighbours, and calculate the walking duration to each Insert all neighbours into the search heap,

Re: [OSRM-talk] Running C++ unit tests

2016-04-20 Thread Daniel Patterson
Hi Kerrick, Starting from blank, do: mkdir build cd build cmake .. make tests CMake generates a bunch of Makefiles, make does the actual building. That will compile the tests. You'll get a handful of executable files in the "build/unit_tests/" dir, like: ~/osrm-backend/b

Re: [OSRM-talk] OSRM 5.0.0 Released

2016-04-23 Thread Daniel Patterson
t; >> Hey, >> >> I'm proud to announce the 5.0.0 OSRM release. This is by far one of our >> biggest >> releases in terms of lines of code changed, since... a while. It was a >> real team effort featuring contributions from: >> >> @akaiser, Aleks

[OSRM-talk] The future of Windows support

2016-05-04 Thread Daniel Patterson
Hi everyone, This email is a call for a maintainer for our Windows builds. As none of the core team are Windows users (neither work nor play), it's an ongoing struggle to keep it working. When our Appveyor Windows builds break, none of us really have the time nor the tools to debug problems.

Re: [OSRM-talk] Turn types

2016-05-11 Thread Daniel Patterson
Hi Pedro, "Go Straight" is a direction modifier, "No Turn" is a turn type. See: https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md#properties-3 daniel On Wed, May 11, 2016 at 10:55 AM, Sotorrio, Pedro wrote: > Hi all, > > Really basic question; but what are the differe

Re: [OSRM-talk] OSRM useable for blind and visually impaired people?

2016-05-31 Thread Daniel Patterson
Hi Simon, OSRM is a back-end service - you give it a couple of coordinates, and it will give you the route from A->B as a blob of structured data in JSON format. We provide a demo server and web interface for testing, but both are for testing/integration purposes only - we don't guarantee t

Re: [OSRM-talk] OSRM map update

2016-06-13 Thread Daniel Patterson
Sergi, There is no data compatibility between releases. You basically need to start from scratch. 1) Get the new code, and compile it 2) Get a new OSM file 3) Process it 4) Update your client code to use the new OSRM HTTP API daniel > On Jun 13, 2016, at 11:09 AM, sergi_jini

Re: [OSRM-talk] GPS Accuracy for match service

2016-06-17 Thread Daniel Patterson
Hi Artur, TL;DR - there's no direct conversion from HDOP to radius, that's not what HDOP is. Just knowing HDOP isn't enough. HDOP is based on satellite position and basically tells you "if you had perfect reception right now, the best accuracy you could achieve would be X". Less-than-per

[OSRM-talk] Released OSRM 5.2.3

2016-06-17 Thread Daniel Patterson
Hey all, I've just tagged and released a minor bug fix to the 5.2 series. This build fixes a bug that was causing invalid memory allocation when routes encountered certain roundabout configurations (name changes within roundabout objects), resulting in server crashes for certain requests. Than

Re: [OSRM-talk] GPS Accuracy for match service

2016-06-20 Thread Daniel Patterson
ven the default > settings for GPS accuracy (5), V4 seems to match roads in larger radius then > version V5. > > Also, is there a way to globally change the default GPS accuracy instead of > having to specify it for every point? > > Thanks you, > > Artur… > &

Re: [OSRM-talk] Road network size vs performance for match service.

2016-06-24 Thread Daniel Patterson
Artur, North America vs the planet would probably see little difference. A single city vs the planet, maybe you'd see a small percentage. Many of the algorithms/data structures used scale logarithmically with size, so the impact of very large networks is not huge. daniel > On Jun 24, 201

Re: [OSRM-talk] Accuracy of distance matrix calculation

2016-06-30 Thread Daniel Patterson
Milton, What's the exact route in question? Start/end coordinates, or a link to map.project-osrm.org would help us figure out why it's marked as being so fast. daniel > On Jun 30, 2016, at 9:30 AM, Milton Garcia Borroto > wrote: > > Hi everybody, > I starte

Re: [OSRM-talk] Accuracy of distance matrix calculation

2016-06-30 Thread Daniel Patterson
to get the distances instead of time? > - Is there a way to select maximum car speed? > Regards, > Milton > > 2016-06-30 11:55 GMT-05:00 Daniel Patterson <mailto:dan...@mapbox.com>>: > Milton, > > What's the exact route in question? Start/end coordinates,

Re: [OSRM-talk] Questions about internals

2016-07-12 Thread Daniel Patterson
Francis, Yes, it's a bidirectional Dijkstra search. The Wikipedia page for CH describes it, so I won't repeat it here: https://en.wikipedia.org/wiki/Contraction_hierarchies#Querying "Core nodes" are uncontracted nodes. `os

Re: [OSRM-talk] Questions about internals

2016-07-12 Thread Daniel Patterson
You got it, the level is implicit in the ordering. You'll see this behavior in a few spots in the codebase - IDs are implied by positions in lists, rather than explicitly stored. daniel > On Jul 12, 2016, at 8:35 AM, Francis Giraldeau > wrote: > > Le mar. 12 juil. 201

Re: [OSRM-talk] File Portability

2016-08-11 Thread Daniel Patterson
Dylan, That's roughly right. The main problem is that we're simply dumping C++ in-memory data structures to disk. This means that word alignment, byte ordering and data-type sizes need to be the same between machines. Assuming you have that, then it should work fine. We also don't

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

2016-08-17 Thread Daniel Patterson
Florian, OSRM simply snaps the coordinate to the nearest road. If the back yard "streets" are part of the main road network (i.e. not `access=private`), then it's simply the closest road segment to your start point that gets used. Nominated is returning the building centroid for Münsterstra

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

2016-08-17 Thread Daniel Patterson
PM, Florian Lohoff wrote: > > Daniel, > > On Wed, Aug 17, 2016 at 11:56:40AM -0700, Daniel Patterson wrote: >> Florian, >> >> OSRM simply snaps the coordinate to the nearest road. If the back >> yard "streets" are part of the main road network (i

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

2016-08-17 Thread Daniel Patterson
Florian, Some of us have discussed what it might looks like to consider the "walking segment" as part of the shortest calculation - i.e. change the routing algorithm to: - consider all possible start points within 100m of the start coordinate (maybe 1m increments along the road) - co

Re: [OSRM-talk] viaroute vs. route

2016-08-18 Thread Daniel Patterson
Giovanni, The demo server is running 2 copies of OSRM: V4.9.1 and V5.3.1 (latest master code). The /viaroute is the V4 copy /route is the V5 copy The V4 and V5 profiles are different, and the V4 instance has not had a map update in at least 6 months, so that probably explains the diffe

Re: [OSRM-talk] Question About OSRM

2016-08-19 Thread Daniel Patterson
Hello Antonio, OSRM an open source project with no direct commercial option. There is a "demo" server for non-commercial use. Many people run their own OSRM server to do custom routing (bicycle, logistics, single-city configurations, etc). I work for Mapbox, and we offer paid-for routin

Re: [OSRM-talk] Question About OSRM

2016-08-22 Thread Daniel Patterson
Antonio, The OSRM demo server runs the latest "in development" code - so sometimes it breaks. It's not intended for production use. We make reasonable efforts to keep it up and running, but, well, you get what you pay for. If you run your own server, then the maximum request rate will dep

[OSRM-talk] ANNOUNCEMENT: V4 demo server deprecation - for real this time

2016-09-05 Thread Daniel Patterson
Hi all, After many announcements, coordination with other project and allowing a lot more time than we originally promised, the shutdown of the 4.x OSRM demo server going to happen this week. If you have not yet migrated to the 5.x API at router.project-osrm.org

Re: [OSRM-talk] Building OSRM undefined reference to 'tbb::empty_task::~empty_task()

2016-09-07 Thread Daniel Patterson
Jim, What OS are you building on and what version of OSRM are you trying to compile? The problem is odd - you've managed to compile the code, but linking against the TBB libraries is failing with a missing symbol - I don't know how this could happen, I would've expected it to fail earlier.

Re: [OSRM-talk] Building OSRM undefined reference to 'tbb::empty_task::~empty_task()

2016-09-07 Thread Daniel Patterson
Hi Jim, Welp, the good news is that I can reproduce this with a Docker image from Jessie. I'll see if I can track down the problem. daniel > On Sep 7, 2016, at 1:22 PM, Jim LeBeau wrote: > > Daniel, > > I am running on a debian linux box, jessie a new install and everything up to > date.

Re: [OSRM-talk] Building OSRM undefined reference to 'tbb::empty_task::~empty_task()

2016-09-07 Thread Daniel Patterson
hen we can add the instructions to the Wiki. We already detect broken LTO support in GCC < 4.9.0, but maybe 4.9.2 is also broken. daniel > On Sep 7, 2016, at 1:51 PM, Daniel Patterson wrote: > > Hi Jim, > > Welp, the good news is that I can reproduce this with a Docker

Re: [OSRM-talk] Erratic route(s) being returned via router.project-osrm.org

2016-10-26 Thread Daniel Patterson
There's currently a bug in the latest code that's stopping us from updating to the latest OSM planet. The demo server is currently serving up routes for California only, and when you supply coordinates, OSRM finds the nearest road as the start point, even if it's from Africa to California. (we d

Re: [OSRM-talk] Problem in routing

2016-10-27 Thread Daniel Patterson
Hi Emmanuel, Can you explain a bit more what you need? - what tags did you change (on which ways)? - what exactly is going wrong on Belle-Ile ? You cannot route to it? - are you using the OSRM demo server, or are you using your own installation? daniel > On Oct 27, 2016, at 7:54

Re: [OSRM-talk] OSRM-talk Digest, Vol 46, Issue 18

2016-11-01 Thread Daniel Patterson
Mark, That sounds like a bug, the behavior should be the same. Can you open a ticket on GitHub with lots of details (what file you're processing, what version of OSRM, what requests, etc)? daniel > On Nov 1, 2016, at 8:29 AM, Mark Hagers wrote: > > Hi all, > >> On 1 nov. 2016, at 13:18,

Re: [OSRM-talk] OSRM-talk Digest, Vol 46, Issue 18

2016-11-01 Thread Daniel Patterson
016, at 10:03 AM, Mark Hagers wrote: > > Hi Daniel, > >> On 1 nov. 2016, at 16:48, Daniel Patterson > <mailto:dan...@mapbox.com>> wrote: >> >> That sounds like a bug, the behavior should be the same. Can you open a >> ticket on GitHub with lo

[OSRM-talk] OSRM 5.4.3 released

2016-11-08 Thread Daniel Patterson
Hi folks, OSRM 5.4.3 has been tagged and released. This is a bug fix build only. From the CHANGELOG: - #3254 Fixed a bug that could end up hiding roundabout instructions - #3260 fixed a bug that provided the wrong location in the arrival instruction Node modules are building

Re: [OSRM-talk] Accessing graph data in osrm

2016-11-30 Thread Daniel Patterson
Hi Chris, Ah, this is tricky. If you just create a Datafacade pointing at a `.osrm` files, you don't really get an easily explorable graph. Only the Contraction Hierarchy is loaded into memory, and it's not really conducive to simple neighbor traversal. In order to find a path in a CH, you

[OSRM-talk] OSRM v5.5.1 published

2016-12-16 Thread Daniel Patterson
Hi folks, True to form, we follow up the 5.5.0 release with a quick bug fix release, v5.5.1. This version fixes a deadlock bug that came up when you used multiple reader processes in combination with osrm-datastore under heavy load. Things should be a lot more stable now. Github releas

[OSRM-talk] OSRM v5.5.2 released

2016-12-21 Thread Daniel Patterson
Hi all, We've just made a small bugfix release and tagged OSRM v5.5.2. This release reverts a change to the map-matching code that caused some fairly major slowdowns if map-matching against the foot or bike profiles (https://github.com/Project-OSRM/osrm-backend/pull/3184). This was an unin

Re: [OSRM-talk] hov_ways matching

2017-01-18 Thread Daniel Patterson
Mikey, ignore_hov_ways=true completely removes HOV-only roads from the routing graph - if the value is true, you won't match or route on HOV-only roads because they get dropped. Can you share your GPS trace? If the matching result seems wrong, can you open a ticket at https://github.com/P

Re: [OSRM-talk] Oneway sample: No route found vs Impossible route

2017-02-20 Thread Daniel Patterson
Mateusz, The difference is in the small component snapping. "Impossible route between points" indicates that the two snapping points are on different small-sized Strongly Connected Components (SCC) (i.e. on two separate islands) "No route between points" indicates that the two snap po

Re: [OSRM-talk] getting into Oxford Street

2017-03-18 Thread Daniel Patterson
Hi Alan, Hmm, the best way to figure this out is going to be to use the OSRM debug map: http://map.project-osrm.org/debug/#15.79/51.5140/-0.1515 This shows roads that are routable (colored), and roads that are isolated from the

Re: [OSRM-talk] [API] Role of profile

2017-04-25 Thread Daniel Patterson
Hi Mateusz, The in the URL is an unused string. It's there for future compatibility if we ever add multiple-profile support to OSRM, but osrm-routed does not look at it currently, other than to ensure that it's there. Quite a few people use it as a reverse-proxy filtering token - run a re

Re: [OSRM-talk] Problem with route road

2017-05-06 Thread Daniel Patterson
Hello Wojciech, What is the problem? Daniel > On May 6, 2017, at 16:54, Wojciech Tomczak wrote: > > Wojciech ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk

Re: [OSRM-talk] Newbie question : alternative modes

2017-06-13 Thread Daniel Patterson
Hi Ricardo, There is currently no built-in method for this. OSRM supports ferry routes, but only when they're drawn explicitly in OpenStreetMap, and tagged with route=ferry. To do this correctly, you would probably need to draw your own ways down the rivers that you want to support, and conn

Re: [OSRM-talk] MLD for multiple routing graphs?

2017-06-16 Thread Daniel Patterson
Hi Frederick, Keep your eye on this issue: https://github.com/Project-OSRM/osrm-backend/issues/4007 We're working on something that could be used like this. It's mostly targeted at supporting "avoid X" behaviour, but eventually, it will probably support the use-case you're describing. The

Re: [OSRM-talk] Current server requirements for planet

2017-07-05 Thread Daniel Patterson
For preprocessing: The demoserver uses about 175GB of RAM to preprocess the planet, and around 280GB of STXXL disk space (you'll also need 35GB for the planet file, and 40-50GB for the generated datafiles). For the foot profile, the latest number I have is about 248GB of RAM. Everything else is p

Re: [OSRM-talk] start/goal link exclude or include ?

2017-08-23 Thread Daniel Patterson
Currently no. The coordinate snapping only considers distance and direction, you cannot select a subset of snapping candidates. How do you imagine it would work? daniel On Wed, Aug 23, 2017 at 7:38 AM, wrote: > Hi > > Can I only include or exclude start/goal link candidates ? > If osrm can,

Re: [OSRM-talk] Use OSRM on rivers, railways, power lines

2017-08-24 Thread Daniel Patterson
Hi Francois, In theory, yes, you could route on powerlines, gas lines, or any other linear feature. Ensuring connectivity could be problematic - often rivers are not connected to paths in OSM. Waterways are a bit problematic as they're often modeled as areas - if you modify the Lua script to

Re: [OSRM-talk] Use OSRM on rivers, railways, power lines

2017-08-24 Thread Daniel Patterson
Franccois, In the lua profiles, you can set the `result.is_startpoint` property in `process_way` (used to be `way_function`) to determine whether you can snap to them. We currently use this for ferry routes - paths can use them, but can't start/end on them. Set `is_startpoint` to true for yo

Re: [OSRM-talk] Use OSRM on rivers, railways, power lines

2017-08-24 Thread Daniel Patterson
substation boundaries cross the lines and connect both ways to those artificial nodes. daniel On Thu, Aug 24, 2017 at 2:33 PM, François Lacombe wrote: > > 2017-08-24 23:18 GMT+02:00 Daniel Patterson : > >> Franccois, >> >> In the lua profiles, you can set the `result.is_st

Re: [OSRM-talk] Use OSRM on rivers, railways, power lines

2017-08-25 Thread Daniel Patterson
by > osrm and actual areas with ref tags. > > I'll be testing it for some times and will share it if interested > Thank you for your time > > > All the best > > > 2017-08-25 0:04 GMT+02:00 Daniel Patterson : > >> Yes, connectivity will be a problem in that

Re: [OSRM-talk] Access private roads in routing

2017-08-28 Thread Daniel Patterson
Hi, Unfortunately no - OSRM is designed to perform very fast route calculation, at the expense of flexibility. Whether private roads are allowed is decided during the "pre-processing" step, and you cannot alter that decision when you query a route. You would need to run your own OSRM server

Re: [OSRM-talk] Use OSRM on rivers, railways, power lines

2017-08-28 Thread Daniel Patterson
best > > François > > > *François Lacombe* > > fl dot infosreseaux At gmail dot com > www.infos-reseaux.com > @InfosReseaux <http://www.twitter.com/InfosReseaux> > > 2017-08-25 18:04 GMT+02:00 Daniel Patterson : > >> Hi François, >> >> The only p

Re: [OSRM-talk] (no subject)

2017-08-29 Thread Daniel Patterson
Hi Jason, Depends on what you want to achieve. Travel modes are used for a couple of things: 1) For car routing, we primarily use two modes - normal, and ferry mode. This affects how the routing costs are calculated. 2) For the bike profile, the modes end up in the instructions - some

Re: [OSRM-talk] OSRM 5.11 Profile

2017-08-31 Thread Daniel Patterson
Hi Frank, That's the only thing you need to change in the car profile - it triggers setting the `rate` to 1, which means routing becomes distance based. I believe the same applies to the foot profile, they share much of the same Lua code. daniel On Thu, Aug 31, 2017 at 8:34 AM, Frank Durste

Re: [OSRM-talk] Expecting time for osrm-contract for planet

2017-09-21 Thread Daniel Patterson
Hi Kieran, The contraction time will be slow - many, many hours for the whole planet. *Typically* for the car profile it's about 12 hours, but if you use bike or foot, or your own profile, it can get a lot bigger. If you've messed with the travel speeds, that can have a big effect too. 24 h

Re: [OSRM-talk] Expecting time for osrm-contract for planet

2017-09-21 Thread Daniel Patterson
[info] preprocessing 389797971 (90%) nodes... >> [info] . 10% . 20% . 30% . 40% . 50% . 60% >> >> It hasn't advanced past 60% in the last 2-3 hours. It is however maxing >> CPU and using approximately the same amount of RAM since it started. >> >> Kind regards, >&g

Re: [OSRM-talk] Routing on HOV lanes

2017-09-21 Thread Daniel Patterson
Yes, this behaviour is baked into the dataset during the "pre-processing" step - you can't currently modify it at query time on the demo server. If you need this behaviour, you have two options: 1) Remove HOV lanes from the avoid list here: https://github.com/Project-OSRM/osrm-backend/blob/mast

Re: [OSRM-talk] Expecting time for osrm-contract for planet

2017-09-22 Thread Daniel Patterson
hours in total now, and back to maxing CPU again. > > Kind regards, > Kieran Caplice > > On 21/09/17 17:17, Daniel Patterson wrote: > > OSRM supports *two* core routing algorithms - CH and MLD. The > `osrm-contract` tool generates the CH dataset, but you can use the MLD >

Re: [OSRM-talk] Expecting time for osrm-contract for planet

2017-09-22 Thread Daniel Patterson
has gone to just 75% complete from 65% yesterday >> - 41 hours in total now, and back to maxing CPU again. >> >> Kind regards, >> Kieran Caplice >> >> On 21/09/17 17:17, Daniel Patterson wrote: >> >> OSRM supports *two* core routing algorithms - CH a

[OSRM-talk] OSRM demoserver update

2017-10-27 Thread Daniel Patterson
Hi everyone, As most of you have probably noticed, the OSRM demoserver has been pretty unreliable over the last few months. This weekend, I'm going to migrate it to live alongside our production infrastructure here at Mapbox. This means it'll get redundancy and monitoring! I'm hoping the

Re: [OSRM-talk] OSRM demoserver update

2017-10-27 Thread Daniel Patterson
The swapover has been completed. Please open tickets if you see any server-move problems crop up. daniel On Fri, Oct 27, 2017 at 5:14 PM, Daniel Patterson wrote: > Hi everyone, > > As most of you have probably noticed, the OSRM demoserver has been > pretty unreliable over

Re: [OSRM-talk] Some questions

2017-11-22 Thread Daniel Patterson
Hi Gandalf, 1) If you edit `car.lua`, you can turn off the "exclusions", which will save some memory (perhaps 20%). Other than that, not really. If you pre-process using `car.lua`, you'll only get datafiles that are useful for car driving, it doesn't care about truck/wa

Re: [OSRM-talk] how exactly is "duration" in route service calculated?

2017-11-27 Thread Daniel Patterson
Hi Gunther, You've got the start/end points opposite for those two queries - the routes aren't the same (and thus, are very different in duration.. If you swap the start/end points on the OSRM route, you'll get 6.7 minutes as the result, and the path matches what Google is returning. Make su

Re: [OSRM-talk] Determining which concrete version of OSRM 5.x deployed

2017-11-30 Thread Daniel Patterson
Hi Kirill, No, there is no OSRM HTTP API that will return the version number - your client will need to tell you what they installed. daniel On Thu, Nov 30, 2017 at 12:46 AM, Кирилл Луценко wrote: > Hello everyone! > > Our client deployed OSRM 5.x on its production server and now we are > cr

Re: [OSRM-talk] Help

2017-12-07 Thread Daniel Patterson
Hello Mohamed, Can you give an example of the request you're trying? It's not clear whether you're doing this against the OSRM demo server, or against your own installation. daniel On Thu, Dec 7, 2017 at 8:16 AM, Mohamed ELHADAD wrote: > Dear sir, > > I need to calculate the matrix of dista

[OSRM-talk] Fwd: Help

2017-12-07 Thread Daniel Patterson
Hi Mohamed, The OSRM demo server sits behind a CloudFront (https://aws.amazon.com/ cloudfront/) CDN - Cloudfront has a limit of 8192 bytes for HTTP GET requests (complete HTTP header size, including GET line). The "Bad Request" is coming from CloudFront, not OSRM. You should round down the c

Re: [OSRM-talk] Released OSRM 5.14.3

2018-01-03 Thread Daniel Patterson
Hi Mazen, You can ignore the hint object, it contains no user-visible data, and is not usable on the demoserver. daniel On Wed, Jan 3, 2018 at 8:08 AM, Mazen Mrad wrote: > Greetings; > > I am performing a route task using OSRM http api, it is working perfectly, > but i need to extract the di

  1   2   >