routing suggesting in near
real-time.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anvendelse
Njalsgade 13, 1035
Postboks 380
2300 København S
Direkte
2369 5986
Mobil
2369 5986
Email
z
Yes, OSRM can be used for truck routing. You can easily modify the LUA profile,
which determines what ways are routable and at what speed, based on OSM tags.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og
The turn instruction flags are computed during extraction but I think Martin is
talking about the generation of instructions which is in fact done during
queries.
Sendt fra min iPhone
> Den 17. okt. 2015 kl. 00.15 skrev Daniel Patterson :
>
> Hi Martin,
>
> You're looking at the right code,
Are you sure segments are connected at the noded?
Sendt fra min HTC-telefon
- Reply message -
Fra: "Matthias Loeks"
Til: "osrm-talk@openstreetmap.org"
Emne: [OSRM-talk] Using custom data
Dato: tor, okt. 15, 2015 13:19
Hi list,
I'm running a little experiment with using custom geo data
Well done!
But no mention of bikes on the front page? Only "Supports car, foot, walk
modes"...
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anvendelse
Njalsgade 13, 1035
Postbok
ove that link.
>>>
>>> This will allow the same code that solves TSP round trip to also optimize
>>> the vis points between a start and end trip.
>>>
>>> -Steve
>>>
>>>> On 7/6/2015 10:02 AM, Emil Tin wrote:
>>>>
>>>>
&
The OSRM team is working on a new API call to compute a round-trip that visits
a list of point:
https://github.com/Project-OSRM/osrm-backend/tree/feature/round_trip
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og
The default car profile computes fastest route. If you modify it to use the
same speed everywhere you will get shortest.
Emil
Sendt fra min iPhone
> Den 05/06/2015 kl. 14.46 skrev deltasight :
>
> Hello,
>
> I successfully use OSRM for months, and I would like to thank the developing
> team
very interested in hearing about the results of this!
>
> Best,
> Patrick
>
>
> On Fri, May 8, 2015 at 8:14 PM, Emil Tin wrote:
>> Hi,
>> I’m wondering if the new map matching feature could be used for guessing
>> travel mode?
>>
>> We’re currently
iki/Server-api> is written that
you can pass classify=true to get a confidence value for the matching, but it’s
not mentioned in the response section?
Thanks!
Emil Tin
CIty of Copenhagen
___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
for the time being.
>
> Second, I wish to express my gratitude to those that supported the
> development effort. In no particular order I am thanking Mapbox- who will
> continue to support-, KIT, Geofabrik, Emil Tin and the city of Copenhagen,
> my friend Richard Fairhurst and many,
hat this
> one didn't help me at all, but I'd like to know which files are used to have
> a better idea where to search.
>
>
> 2015-02-18 15:43 GMT+01:00 Emil Tin mailto:z...@tmf.kk.dk>>:
>
>
> What you call cyclability is often called impedance. Lua is th
What you call cyclability is often called impedance. Lua is the easy part. The
hard part is making you you keep speed and impedance separate all the way
through the processing chain, sine you still need speed to compute the travel
time.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Keeping speed and impedance separate is not an easy task.
I worked on it a good while back in this branch, but it was never complete:
https://github.com/Project-OSRM/osrm-backend/tree/feature/lua_impedance
See also https://github.com/Project-OSRM/osrm-backend/issues/77.
Kind regards
Emil Tin
The OSRM project includes a set of cucumber tests that does a lot of testing of
binaries, including preparing data and querying the server. It’s ruby based but
maybe it can help you. Look in the folder features/. The various support files
that queries osrm are in features/support/
See https://
Maybe try renaming you lua profile file and pass the path that file, instead of
going through a symlink?
Emil Tin
> On 26 Jan 2015, at 16:39 , John Aherne wrote:
>
> I have just got back to looking at this problem.
>
> I have set up another system and changed my profile.
Yes it’s possible by first combining pbf files with osmosis. Osmosis supports
polygons files with mutliple polygons, in case you want to start with a pbf
file that covers all of north america and then filter that to just leave
specific areas.
-Emil
On 07 Jan 2015, at 18:37 , Alex Farioletti
ackend/wiki/Api-usage-policy
<https://github.com/Project-OSRM/osrm-backend/wiki/Api-usage-policy> for usage
policy.
Kindly,
Emil Tin
> On 08 Dec 2014, at 20:20 , Richard Welty wrote:
>
> introduction: i'm a long time OSM mapper but new to this list and OSRM.
>
>
ecph/ibikecph-android. App
and code is also available for iOS.
If you just want to use the demo server on Android, then I’m not sure..
Kind regards
Emil Tin
IT and Process Specialist
Traffic
___
CITY OF COPENHAGEN
Technical and Environmental Department
City in Use
Njals
considered? WKT or
> WKB or start-end point or any geometry description?
>
> michal
>> On Tue, Jul 29, 2014 at 08:36:40PM +0200, Emil Tin wrote:
>> Hi,
>> Ways are split into segments before being processed by lua. And you can use
>> way.osm_id from lua, s
Hi,
Ways are split into segments before being processed by lua. And you can use
way.osm_id from lua, see the example file.
Sendt fra min iPhone
> Den 29/07/2014 kl. 15.21 skrev Michal Palenik :
>
> hello
>
> I am trying to reproduce the famous dublin no pub routing
> http://www.sotm-eu.org/sli
In your lua file, first get the highway tag:
local highway = way.tags:Find("highway")
Then chech the value and either return false to completely ignore the way,
or return a low speed to make it unattractive, but still passable.
If you just want to modify the file profiles/car.lua, you can simp
-OSRM/tree/edge. It shows what parts of the
route you need to push the bike, and also parses/prioritizes bike routes. I
hope these things can be added back to main line OSRM.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og
See https://github.com/DennisOSRM/Project-OSRM/pull/989 for work related to max
speeds.
Kind regards
Emil Tin
IT and Process Specialist
Traffic
___
CITY OF COPENHAGEN
Technical and Environmental Department
City in Use
Njalsgade 13 Room. 118
Postbox 380
2300
That's right Steve.
Another effect if start and/or end is inside the area but close to the edge,
might be that routes take a detour to get outside the congested area. Depending
on the use-case this might actually be a benefit.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
T
case then query the
instance that includes the area, otherwise query the instance that doesn’t
include the area.
Kind regards
Emil Tin
IT and Process Specialist
Traffic
___
CITY OF COPENHAGEN
Technical and Environmental Department
City in Use
Njalsgade 13 Room. 118
on smaller areas or single ways, and you would
not be able to use it for your special use case of a congested area. In other
words, at this point I don’t see any way to really get the result you want.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
Yes, you should run extract as well.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anvendelse
Njalsgade 13 Vær. 118
Postboks 380
2300 København S
Direkte
2369 5986
Mobil
2369 5986
Email
z
consequence of the fact that you cannot specifiy speed and
impedance separately (yet). A workaround is to completely ignore the travel
time OSRM provides, and calculate it yourself after after a route is returned,
as distance/average_car_speed.
-Emil
On 13 May 2014, at 18:14 , Emil Tin wrote
it's right here:
https://github.com/DennisOSRM/Project-OSRM/blob/develop/profiles/car.lua
On 13 May 2014, at 17:38 , John Aherne wrote:
> Thanks for the replies.
>
> I'll also take a look at the repo and see if they tell me what I need to do.
>
> Although I did find via google a car.lua an
Examples for car and bike are in the repo:
https://github.com/DennisOSRM/Project-OSRM/tree/master/profiles
The foot profile is also there, although less worked through.
Testbot.lua is a simply profile used for testing purposes.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
good wiki page on how to write lua profiles is missing.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anvendelse
Njalsgade 13 Vær. 118
Postboks 380
2300 København S
Direkte
2369 5986
Mobil
2369
osrm-routed can only compute one type of route, because the data is
preprocesed. There is no way to change things like motorway or not at run time.
The only thing you can do is to run several instances in parallel, but of
course this will also mean longer preprocessing times.
Then in the front
Maybe https://github.com/DennisOSRM/Project-OSRM/wiki/Graph-representation or
https://github.com/DennisOSRM/Project-OSRM/wiki/OSRM-normalized-file-format can
help you?
On 05 May 2014, at 22:56 , Carsten Malchow wrote:
> Hello,
>
> i have a question according to the handling of the geomerty
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anvendelse
Njalsgade 13 Vær. 118
Postboks 380
2300 København S
Direkte
2369 5986
Mobil
2369 5986
Email
z...@tmf.kk.dk<mailto:z...@tmf.kk.dk>
EAN
5798009
Hi Phillip,
You need to describe in more detail why your travel times are not correct,
otherwise no one will be able to help you.
Can you provide concrete examples, with links to the routes?
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS
On the other hand, if you move the via point up the right road, it doesn't make
the detour:
http://map.project-osrm.org/?loc=-30.177584,135.648081&loc=-29.915912,135.154241&loc=-29.013368,134.753616
I think it would be better if OSRM allowed u-turns in cases like this. Ie.
allow u-turns, but w
I think it's just because the via point is a little bit down the left road.
Since OSRM avoids u-turns it the goes on until it can turn around. Easier to
see if you move the via point a bit:
http://osrm.at/6Tr
-Oprindelig meddelelse-
Fra: Tony Morris [mailto:tonymor...@gmail.com]
Sendt
direction.
greetings
rudi
[Emil Tin], On 2014-03-28 09:33:
>
>
> Hi,
> The following issue might contribute to inflated travel time:
> https://github.com/DennisOSRM/Project-OSRM/pull/969
>
>
> Emil Tin
> City of Copenhagen
>
>
> -Oprindelig meddelelse-
&
er routers consider this, and if a road has more than
1 lane per direction, the speed reduction is less severe, or at least that road
is preferred over other roads that are single lanes per direction.
greetings
rudi
[Emil Tin], On 2014-03-28 09:33:
>
>
> Hi,
> The following issue might
consider this, and if a road has more than
1 lane per direction, the speed reduction is less severe, or at least that road
is preferred over other roads that are single lanes per direction.
greetings
rudi
[Emil Tin], On 2014-03-28 09:33:
>
>
> Hi,
> The following issue might c
e problems, and it
> can be introduced in the community (not necessarily in OSRM)
> simultaneously with a more temporary solution in OSRM using multiple
> tags and some sort of contradiction handling. I just wouldn't go ahead
> and propose it if there's no interest in adopti
did this
> because I believed it would make more sense to have the preference
> curves asymptotically decrease for all vehicle types from one class to
> the next. (This actually suggests that thin-wheeled vehicles might
> require some slightly different classification system.)
&g
Hi Elisabeth,
Great that you will want to help improve OSRM!
Do you mean that you will not touch the routing algorith, and just provide an
elevation profile of the route? Or do you also want to change the routing
algorith so it factors in elevation, ie avoid hills?
Kind regards,
Emil Tin
On
DO you mean a new osm tag? Doesn't the existing tags you mention cover surface
quality?
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anvendelse
Njalsgade 13 Vær. 118
Postboks 380
2300 Købe
Try looking at the wiki:
https://github.com/DennisOSRM/Project-OSRM/wiki/_pages. It will tell you how to
build OSRM, how to use the API, etc.
The code for the osrm website can be found at
https://github.com/DennisOSRM/Project-OSRM-Web.
-Emil
On 02 Mar 2014, at 11:47 , Mishal Chowdhury wro
}
-- surfaces
if surface then
surface_speed = surface_speeds[surface]
if surface_speed then
if way.speed > 0 then
way.speed = surface_speed
end
if way.backward_speed > 0 then
way.backw
The map site uses the same routing engine, so the answer must be that you're
not sending the same request as the site?
Did you try using the browsers build in developer tools to check the request
the site is sending?
Kind regards,
Emil Tin
IT- and Process Specialist
Traffic D
I've opened an issue on github for tracking this, with links and a screenshot:
https://github.com/DennisOSRM/Project-OSRM/issues/916
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafik
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anven
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
Hi Stephen,
Back in April I wrote a wiki page detailing the internal processing flow and
data structures, did you see it?
https://github.com/DennisOSRM/Project-OSRM/wiki/Processing-Flow
Maybe there is some useful info there.
Dennis can probably tell you what has changed since April.
Best
Intel recently released a preliminary version of Clang with full OpenMP 3.1
support: http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-August/065169.html.
This means it should now be possible to compile OSRM with OpenMP on Mac. Of
course it requires building the new version of Clang first.
Emil
What platform are you on?
I looked into modifying the code so that it works with symlinks, but it seemed
to work on mac.
Kind regards,
Emil Tin
IT- and Process Specialist
Traffic Design
CITY OF COPENHAGEN
The Technical and Environmental Administration
Thanks for looking into the paper. More work ahead then :-)
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafikdesign
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Center for Trafik
Islands Brygge 37 Vær. 118
Postboks 450
2300 København S
Mobil
+45
This might be useful:
Enhancing the OSRM Route Engine by Incorporating Real-Time Traffic Data:
https://engineering.purdue.edu/~ychu/ee673/Projects.F12/comp2_rtengine_final.pdf
-Emil
On Jun 18, 2013, at 18:20 , James Litton wrote:
> > Hi James,
> >
> > the basic Contraction Hierarchies appr
I don't recall osm using empty tags anywhere.
But would it not be simpler to use null rather than empty strings, so you can
use
if( highway )
rather than
if( highway ~= "" )
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafikdesign
___
No, you can only get one alternative route.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafikdesign
___
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Center for Trafik
Islands Brygge 37 Vær. 118
Postboks 450
2300 København S
Mobil
+45 2369 5986
Email
OSRM can't both listen on port 80.
Of course it would be easier if OSRM supported several profiles out of the box.
It might also save space, since things like names and nearest neighbor grid
could be shared.
On May 15, 2013, at 19:45 , Jens Thiele wrote:
> Emil Tin writes:
>
We would like to offer different bicycle profiles (including cargo bikes) on
our site http://www.ibikecph.dk, and in our mobile app.
OSRM can't yet serve different profiles from the same instance. A workaround is
to run mulitple instances. Does anyone have experience with running several
OSRM
osrm-talk@openstreetmap.org
Emne: Re: [OSRM-talk] adding way id and direction to output
Emil Tin writes:
> Sendt fra min iPhone
[...]
>
> Ok. Yes i think it could be removed. Both speed and mode could be used
> instead to indicate which directions are traversible.
i see you did
Yes, it's because it's rebased on current develop branch.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafikdesign
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Center for Trafik
Islands Brygge 37 Vær. 118
Postboks 450
2300 København S
Sendt fra min iPhone
Den 30/04/2013 kl. 15.53 skrev Jens Thiele :
> Emil Tin writes:
>
>> On Apr 30, 2013, at 10:44 , Jens Thiele wrote:
>>
>>> Emil Tin writes:
>>>
>>>> I fixed these and added a few tests.
>>> ok
On Apr 30, 2013, at 10:44 , Jens Thiele wrote:
> Emil Tin writes:
>
>> I fixed these and added a few tests.
>
> ok
>
> similar place where i am not sure it is correct:
> ./GraphLoader.h:150:std::swap(forward, backward);
>
>
I fixed these and added a few tests.
On a sidenote, I think the way.direction flag could be removed from LUA.
Instead you could just set forward and backward speed.
On Apr 29, 2013, at 16:37 , Jens Thiele wrote:
> Jens Thiele writes:
>
>> Emil Tin writes:
>>
>&
what's missing is that that the mode of the first instruction is not always
correct.
On Apr 25, 2013, at 16:58 , Jens Thiele wrote:
> Emil Tin writes:
>
>> I think what you're requesting will be covered by the mode flag, which
>> is mostly done:
>> htt
I think what you're requesting will be covered by the mode flag, which is
mostly done:
https://github.com/DennisOSRM/Project-OSRM/tree/experimental/modes
The idea is that the LUA profile can set the mode for each direction of a way:
https://github.com/DennisOSRM/Project-OSRM/blob/experimental/m
you need to decide what to do when you have neither a name nor a reference.
the old behaviour was just to use the highway tag;
way.name = highway
On Apr 18, 2013, at 16:13 , Alessandro Pasotti wrote:
> -- way.name = "{highway:"..highway.."}"
___
ot;;
"{highway:track}" = "track";
"{highway:road}" = "road";
"{highway:path}" = "path";
"{highway:footway}" = "footway";
"{highway:cycleway}" = "cycleway";
"{highway:bridleway}" = "br
Divider=* was jsut a proposal, but it’s abandoned, and tag is not widely used.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafikdesign
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Center for Trafik
Islands Brygge 37 Vær. 118
Postboks 450
2300
There are no way to tag this. But OSRM has a penalty for doing u-turn.
Do you have a link to a concrete situation?
See https://github.com/DennisOSRM/Project-OSRM/issues/65 for a discussion on
the issue of u-turns across road dividers.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
the current implemenation does no grouping of signals.
maybe you already know this, but it's not enough to just insert a node at the
right position - it needs to be part of the way.
it's possible that you can insert several nodes (as part of a way) on the same
coordinate, although that would l
I don't think so, since the contraction hierarchies are constructed (during
preprocessing) according to the impedance (weight). Different weights would
mean a completely different hierarchy.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafikd
than one hour .
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafikdesign
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Center for Trafik
Islands Brygge 37 Vær. 118
Postboks 450
2300 København S
Mobil
+45 2369 5986
Email
z...@tmf.kk.dk<mailto:%
Hi Jeffrey,
Cool project! A few thoughts:
If you don' need differentiated speeds for different way types, you can just
set the speed according to crime rate, as you suggested. In that case you need
impedance. The impedance branch is not completed yet.
Some ways are quite long. But at the mome
be issues with the route geometry, not sure.
You could try compiling the code and see if it works for your purpose.
Kind regards,
Emil Tin
IT- and Process Specialist
Traffic Design
CITY OF COPENHAGEN
The Technical and Environmental Administration
Traffic
der ikke er navne på.
Med venlig hilsen
Emil Tin
IT- og Processpecialist
Trafikdesign
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Center for Trafik
Islands Brygge 37 Vær. 169
Postboks 450
2300 København S
Mobil +45 2369 5986
Email z...@tmf.kk.dk<mailt
OpenLR is an open source dynamic location referencing system, developed by
TomTom: http://www.openlr.org. It solves the problem of how to match ways
between different maps. This is not trivial, since the maps might model the
network differently, lack some ways, etc.
Interestingly, OpenLR is ba
77 matches
Mail list logo