Re: [OSRM-talk] Allowing trunk roads for foot and bicycle directions in the British Isles.

2021-04-25 Thread Daniel Patterson via OSRM-talk
The missing piece is OSRM following the guidelines outlined here: https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions Practically, here's what needs to happen: 1. Someone needs to make a GeoJSON file with these country boundaries, and set properties on them that

Re: [OSRM-talk] How to set speed values back to lua after using speed updates

2020-11-19 Thread Daniel Patterson via OSRM-talk
The way to do this is to keep a copy of the original files - when you run `osrm-customize`, do it on a *copy* of the originals, then load that modified copy with `osrm-datastore`. daniel On Thu, Nov 19, 2020 at 9:09 AM S O wrote: > > Dear all: > > I am using the osrm-datastore and osrm-routed

Re: [OSRM-talk] Comparing OSRM with the car routing by OpenTripPlanner

2020-11-03 Thread Daniel Patterson via OSRM-talk
I would verify that OSRM considers the highway routable at all - if OSRM has excluded it for some reason (e.g. HOV-only, under construction, etc), then it'll be forced to find the next best thing. Also remember - OSRM is just guessing on the travel speeds based on the tags present on ways in OSM

Re: [OSRM-talk] pont de Québec not in the routing steps of OSRM

2020-11-02 Thread Daniel Patterson via OSRM-talk
The "steps" that OSRM emits are roughly intended to be human consumable instructions. We often collapse "obvious" maneuvers where it'd be annoying to receive a visual/verbal prompt. For this reason, "steps" aren't great objects to use for data analysis, unless you're specifically interested in

Re: [OSRM-talk] New v5.23.0 release

2020-10-15 Thread Daniel Patterson via OSRM-talk
ions are no longer compatible until a patch or new > minor version is released. > > Knowing which option is the most likely would definitely help. > > [1] https://github.com/Project-OSRM/osrm-backend/issues/5548 > [2] https://github.com/Project-OSRM/osrm-backend/issues/574

[OSRM-talk] New v5.23.0 release

2020-10-14 Thread Daniel Patterson via OSRM-talk
Hello all, Well, after a long hiatus, I've finally had time to cut a new release. I've bundled up a bunch of the changes that have been submitted over the last couple of years, and tagged 5.23.0, and cleaned up the changelog/master branch which had been left dangling in an unclear state for a

Re: [OSRM-talk] OSRM does not use date restrictions in conditional access?

2020-10-13 Thread Daniel Patterson via OSRM-talk
Michael, You can pass the `--parse-conditionals-from-now` option to `osrm-contract`, and it will enable/disable access to `access:conditional` ways according to the timestamp you type in. Not so useful for time-of-day restrictions, but for longer time spanning restrictions, it should do the

Re: [OSRM-talk] Recreating the same route in another dataset

2020-10-08 Thread Daniel Patterson via OSRM-talk
Take the route geometry you obtained from your 2020 dataset, and use the `/matching` service to match that to your older dataset. If it's impossible to match (e.g. because roads disappeared), well, then it's impossible to match. The `/matching` service allows for some coordinate imprecision, so

Re: [OSRM-talk] Table request still running even though requesting server has already timed-out the request

2020-07-06 Thread Daniel Patterson via OSRM-talk
No - OSRM doesn't have any code to interrupt a thread that's working on a calculation. We'd need to add code that periodically checks if it should cancel a long-running algorithm. daniel On Mon, Jul 6, 2020 at 9:50 AM ryan.bis...@etruckbiz.com < ryan.bis...@etruckbiz.com> wrote: > So I have a

Re: [OSRM-talk] Kilometers in /table route

2020-06-09 Thread Daniel Patterson via OSRM-talk
You need to add `?annotations=duration,distance` to your API call - then you'll get metres back as well. daniel On Tue, Jun 9, 2020 at 7:24 AM Aurélien wrote: > Hi, > > Can someone explain me why there is no kilometers in the /table route ? > > Is it a technical problem or a functional

Re: [OSRM-talk] Need help: Customizing weights in Profile shows inconsistent results with Dijsktra

2020-04-14 Thread Daniel Patterson via OSRM-talk
I would say that the first thing to do to diagnose the problem is to find the shortest possible path (fewest edges) that exhibit this problem for you. At first glance, I'd say that your BPR values aren't what you think they are somewhere along your route, but it's impossible to say exactly where

Re: [OSRM-talk] Nondeterminism in OSRM response

2020-04-06 Thread Daniel Patterson via OSRM-talk
Yeah - osrm-routed uses the SO_REUSEPORT socket option (see https://lwn.net/Articles/542629/), which means you can run two copies of osrm-routed, and the operating system will round-robin incoming connections between the two processes. Handy if you want to do lossless handover from one process to

[OSRM-talk] OSRM Demoserver - call for hosting volunteers

2020-01-24 Thread Daniel Patterson via OSRM-talk
Hi all, On Mar 09, 2020, the TLS certificate for router.project-osrm.org is going to expire. At the same time, Mapbox is going to shutdown our hosting of that service. As many of you have probably noticed, our investment in the OSRM codebase has greatly decreased over the last year. This is a

Re: [OSRM-talk] 403 when installing the node.js bindings

2020-01-21 Thread Daniel Patterson via OSRM-talk
We haven't published binaries for newer node versions - you'll need to compile them yourself. IIRC, there should be working published binaries for Node 8 and 10, but nothing newer at this stage. Unfortunately, I'm not in a position to spend any time doing a new release, so I can't say when it

Re: [OSRM-talk] Bicycle routing, crossing large roads: how to get information on the roads crossed

2019-12-26 Thread Daniel Patterson via OSRM-talk
There are a few old tickets that discuss this: https://github.com/Project-OSRM/osrm-backend/issues/96 https://github.com/Project-OSRM/osrm-backend/issues/477 https://github.com/Project-OSRM/osrm-backend/issues/592 Ultimately, what needs to happen is we need to make the `turn_function` smarter

Re: [OSRM-talk] Map matching for live data-streams, one point at a time

2019-12-06 Thread Daniel Patterson via OSRM-talk
1. Supply the coordinates in the order travelled: /match/v1/oldest;second-oldest;second-newest;newest 2. Hints aren't quite so helpful for the /matching API - reading the code I actually think there might be a bug here. If you pass in a hint, it'll only use the first snapped candidate from the

Re: [OSRM-talk] Map matching for live data-streams, one point at a time

2019-12-06 Thread Daniel Patterson via OSRM-talk
Hi Alex, If you simply want to find the nearest road to a GPS coordinate, the /nearest service is simpler. The /match service is specifically designed to match a sequence of GPS coordinates *with error* to the most likely path. The problem with using /nearest is that it has no context - if

Re: [OSRM-talk] Reasonable use of public server

2019-11-03 Thread Daniel Patterson via OSRM-talk
The public server is rate limited to 5000 requests/minute. If you flood it with requests, likely many of yours won't work, and you'll block other people from using it. For this volume of work, you should investigate running a local server. We provide Docker images to run OSRM locally - these

Re: [OSRM-talk] Compiling OSRM Code

2019-07-30 Thread Daniel Patterson via OSRM-talk
Looking through the repo history, the function `AddCoordinate` only appeared for a brief time between the 4.9.1 and the 5.0.0 release. It was never part of a tagged version. Bateesh - you have three options: 1) Downgrade your OSRM version to 4.9.1, and use `addCoordinate` instead of

Re: [OSRM-talk] Docker pre-processing from a python script

2019-07-10 Thread Daniel Patterson via OSRM-talk
It'd be something like this (untested): subprocess.run(["docker","run","-t","-v", "%s:/data" % os.getcwd(), "osrm/osrm-backend", "osrm-extract -p /opt/car.lua /data/berlin-latest.osm.pbf"]) daniel On Wed, Jul 10, 2019 at 7:22 AM Silvia Oviedo wrote: > > Hi all, > > I would like to run the

Re: [OSRM-talk] OSRM docker error

2019-06-27 Thread Daniel Patterson via OSRM-talk
Very likely you ran out of memory - I'd check your system logs to see if the Linux kernel OOM killer terminated your process. The process suddenly stopping like this with no error is typical of that scenario. Check that your docker install doesn't have some hard memory limits in place - if so,

Re: [OSRM-talk] how to enter multiple stops with mouse click

2019-03-06 Thread Daniel Patterson via OSRM-talk
Click two times to make your start and end points. Once you have a route, you can divide it up by clicking on the routeline to add additional waypoints that you can then move around. daniel On Wed, Mar 6, 2019 at 3:48 PM Aykut Ucar wrote: > Hi, > in the demo > http://map.project-osrm.org/ >

Re: [OSRM-talk] Install OSRM on MacOs

2019-01-14 Thread Daniel Patterson
I tried : >> >> osrm-extract >>> >> >> osrm-partition >>> >> >> osrm-customize >>> >> >> osrm-contract >>> >> >> That does not work. >> >> And I tried >> >> osrm-extract >&

Re: [OSRM-talk] Install OSRM on MacOs

2019-01-11 Thread Daniel Patterson
gt; > osrm-contract >> > > That does not work too. > > > (iP) Didier > > Le 11 janv. 2019 à 18:45, Daniel Patterson a écrit : > > What were the *exact* commands you ran? > > daniel > > On Fri, Jan 11, 2019 at 6:06 AM Didier Doumerc > wrote: &

Re: [OSRM-talk] Install OSRM on MacOs

2019-01-11 Thread Daniel Patterson
tract/osrm-partition/osrm-customize/osrm-contract` and it > changes nothing. I get the same result. > > I must do something wrong... > > Didier > > Le mer.09/01/19 à 18:18, Daniel Patterson a écrit : > > Hi Didier, > > The `car.lua` file are all the rules for deciding whi

Re: [OSRM-talk] Install OSRM on MacOs

2019-01-04 Thread Daniel Patterson
Check out the Wiki page at: https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM With OSRM 5.x, the names of some of the tools changed. You will now want to run `osrm-extract -p profiles/car.lua yourmap.osm` then `osrm-contract yourmap.osrm` daniel On Fri, Jan 4, 2019 at 9:33 AM

Re: [OSRM-talk] points order

2018-08-02 Thread Daniel Patterson
Hi Valerio, What you're describing falls under the title of "Vehicle Routing Problem" (https://en.wikipedia.org/wiki/Vehicle_routing_problem). OSRM includes a basic solver for the Travelling Salesman Problem solver with the `/trip` API, but it doesn't have a lot of options - it will re-order

Re: [OSRM-talk] how to block subway routes to foot profile?

2018-06-18 Thread Daniel Patterson
Hi Patrick, In order to exclude them from matching, you'll need a way to identify them via the OSM tags. If you can figure out the tags that are on these ways and not others, you can add some logic to `profiles/foot.lua` to remove them from the routing graph. If they're removed, then won't be

Re: [OSRM-talk] map matching service for a huge number of requests

2018-05-11 Thread Daniel Patterson
wrote: > >> > > >> > And are you aware of some python code that would do the calls to > >> > osrm-routed > >> > in parallel threads? > >> > >> There are lot of examples of how to make python things in parallel > >> thread

Re: [OSRM-talk] Snapping preferences

2018-05-04 Thread Daniel Patterson
Hi François, Currently, no - snapping for coordinates is strictly whichever is nearest (with one exception: https://blog.mapbox.com/robust-navigation-with-smart-nearest-neighbor-search-dbc1f6218be8 ). I can think of two things: 1. Try using the `/match` API. This API snaps to *many*

Re: [OSRM-talk] How to force match service to return public transport routes only?

2018-05-01 Thread Daniel Patterson
'bus', "network") >> > >> will find first/random relation of route=bus which the way is a >> member >> > >> of, and then returns tag "network". >> > >> >> > >> see also >> > >> https://gi

Re: [OSRM-talk] Limit particular points in a route at runtime

2018-03-28 Thread Daniel Patterson
> > Francois > > *François Lacombe* > > fl dot infosreseaux At gmail dot com > www.infos-reseaux.com > @InfosReseaux <http://www.twitter.com/InfosReseaux> > > 2018-03-28 17:59 GMT+02:00 Daniel Patterson <dan...@mapbox.com>: > >> Hey François, >> >

Re: [OSRM-talk] Limit particular points in a route at runtime

2018-03-28 Thread Daniel Patterson
Hey François, The only way to achieve this with OSRM would be to apply large penalties to barriers/tolls. You'll have to pick a penalty value that's *just right* - enough that 0 or 1 will be acceptable, but 2 would force the engine to find another route. Because OSRM doesn't have dynamic

Re: [OSRM-talk] Pre-procesing planet.pbf with 128Gb RAM

2018-03-05 Thread Daniel Patterson
annot use the provided node binaries, right? > > Do you think that 192 gb of RAM + swap would be enough to be able to do > preparation without STXXL enabled? > > Thanks! > Jose > > > On Mon, Mar 5, 2018, 19:09 Daniel Patterson <dan...@mapbox.com> wrote: > >> Hi

Re: [OSRM-talk] Pre-procesing planet.pbf with 128Gb RAM

2018-03-05 Thread Daniel Patterson
Hi Jose, 128GB is not enough to do *everything* in RAM - over 300GB of data is generated during some phases. You'll probably want to do a custom build of OSRM and enable STXXL with `cmake -DENABLE_STXXL=ON ..`. This will build OSRM with the ability to do optimized data-to-disk swapping

Re: [OSRM-talk] Left/Right side of the street?

2018-03-02 Thread Daniel Patterson
Hi Xavier, Yes. Take a look at the "approaches=curb" parameter - this will force the routing engine to approach the waypoint on the curb side of the road. By default, the curb side is the right, but you can modify that in the Lua profile by changing the "driving_side" property, or if you need

Re: [OSRM-talk] Feed OSRM with Postgis

2018-03-02 Thread Daniel Patterson
rformance tips you can get from their approach. daniel On Fri, Mar 2, 2018 at 10:13 AM, François Lacombe <fl.infosrese...@gmail.com > wrote: > Hi Daniel, > > 2018-03-02 18:31 GMT+01:00 Daniel Patterson <dan...@mapbox.com>: > >> Well, it *could* be done. It would

Re: [OSRM-talk] Feed OSRM with Postgis

2018-03-02 Thread Daniel Patterson
Hi François, Well, it *could* be done. It would all boil down to providing an alternative for `ParseOSMData` here: https://github.com/Project-OSRM/osrm-backend/blob/master/src/extractor/extractor.cpp#L211 That function is responsible for parsing the OSM file, and copying/converting the OSM

Re: [OSRM-talk] Small ways get small speeds

2018-03-02 Thread Daniel Patterson
; Would it be acceptable to specify coordinates storage precision in a next > release ? > > Nevertheless, I got that it won't impact a lot my routing results. > > All the best > > François > > 2018-02-28 20:37 GMT+01:00 Daniel Patterson <dan...@mapbox.com>: > &

Re: [OSRM-talk] Small ways get small speeds

2018-02-28 Thread Daniel Patterson
Hi François, What you are seeing is rounding error. Internally, OSRM only stores the "duration" of each segment, with a resolution of 0.1 seconds. On the map, the speed is calculated by taking the length of the segment, and dividing it by the "duration" value. We store longitude/latitude

Re: [OSRM-talk] osrm-datastore error code 21

2018-02-02 Thread Daniel Patterson
oting, so all is working fine now after adding the kernel.shmall > and kernel.shmmax properties again. > > Kind regards, > Kieran Caplice > > On 29/01/18 18:07, Daniel Patterson wrote: > > Hi Kieran, > > The problem is definitely occurring when trying to allocate

Re: [OSRM-talk] osrm-datastore error code 21

2018-01-26 Thread Daniel Patterson
Kieran, Hmm, we could probably improve the error handling here and make the message a bit more useful. The problem is probably one of: 1) Permission problems accessing /tmp/osrm.lock 2) Permission problems creating shared memory Code 21 is: $ errno 21 EISDIR 21 Is a directory

Re: [OSRM-talk] Released OSRM 5.14.3

2018-01-03 Thread Daniel Patterson
e request, anyone have a > javascript code to generate full route instructions from the steps objects > > Mazen > > On Wed, Jan 3, 2018 at 7:42 PM, Daniel Patterson <dan...@mapbox.com> > wrote: > >> Hi Mazen, >> >> Please go to http://project-osrm.org/

Re: [OSRM-talk] Released OSRM 5.14.3

2018-01-03 Thread Daniel Patterson
tions.. please help > > On 3 Jan 2018 6:37 p.m., "Daniel Patterson" <dan...@mapbox.com> wrote: > >> Hi Mazen, >> >> You can ignore the hint object, it contains no user-visible data, and >> is not usable on the demoserver. >> >>

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

[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

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

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

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

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

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 <dan...@mapbox.com> wrote: > Hi everyone, > > As most of you have probably noticed, the OSRM demoserver has been > pret

[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] Expecting time for osrm-contract for planet

2017-09-22 Thread Daniel Patterson
an SSD drive make? > ------ > *From:* Daniel Patterson <dan...@mapbox.com> > *Sent:* Friday, September 22, 2017 8:05:56 AM > *To:* Mailing list to discuss Project OSRM > *Subject:* Re: [OSRM-talk] Expecting time for osrm-contract for planet > > Hi Kieran, > > We don't, but

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

2017-09-22 Thread Daniel Patterson
esterday - > 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 and MLD. The > `osrm-contract` tool generates the CH dataset, but you can use t

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:

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

2017-09-21 Thread Daniel Patterson
sing 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, >> Kieran Ca

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

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

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 -

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

2017-08-28 Thread Daniel Patterson
gt; *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 <dan...@mapbox.com>: > >> Hi François, >> >> The only pro

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-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

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

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

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

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.

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

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] [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: [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

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

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

[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] OSRM-talk Digest, Vol 46, Issue 18

2016-11-01 Thread Daniel Patterson
016, at 10:03 AM, Mark Hagers <m...@marksman-do.nl> wrote: > > Hi Daniel, > >> On 1 nov. 2016, at 16:48, Daniel Patterson <dan...@mapbox.com >> <mailto:dan...@mapbox.com>> wrote: >> >> That sounds like a bug, the behavior should be the same. Ca

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

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

2016-09-07 Thread Daniel Patterson
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 <dan...@mapbox.com> wrote: > > Hi Jim, > > Welp, the good news is that I can reproduce this

[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] 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

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

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] Questions about internals

2016-07-12 Thread Daniel Patterson
; > Le mar. 12 juil. 2016 à 09:02, Daniel Patterson <dan...@mapbox.com > <mailto:dan...@mapbox.com>> a écrit : > Francis, > > Yes, it's a bidirectional Dijkstra search. The Wikipedia page for CH > describes it, so I won't repeat it here: > https://en.wik

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.

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

2016-06-30 Thread Daniel Patterson
uestions: > - Is there a way 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 <dan...@mapbox.com > <mailto:dan...@mapbox.com>>: > Milton, > > What's th

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: >

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

2016-06-20 Thread Daniel Patterson
V4.8.1 and V5.2.2? Given 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, &g

[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.

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

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

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

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:

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] Debugging map

2016-03-19 Thread Daniel Patterson
he same, other files will not grow. daniel > On Mar 19, 2016, at 1:18 PM, Frédéric Rodrigo <fred.rodr...@gmail.com> wrote: > > Le 16/03/2016 23:08, Daniel Patterson a écrit : >>> On Mar 16, 2016, at 3:03 PM, Frédéric Rodrigo <fred.rodr...@gmail.com> >>> wro

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

Re: [OSRM-talk] About Indoor Routing

2016-02-15 Thread Daniel Patterson
d on different level, 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 <dan...@mapbox.com > <mailto:dan...@mapbox

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

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"

Re: [OSRM-talk] Getting OSMNodeIDs in OSRM

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

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:

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:

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

  1   2   >