Daniel Paz-Soldan
4976233cff
Add node 10 builds to travis ( #5246 )
...
* Add node 10 builds to travis
* Add changelog
2018-12-04 14:13:49 -05:00
Kajari Ghosh
98ea2a0b09
remove destination/sources length <= coordinates length check ( #5289 )
2018-12-04 13:35:26 -05:00
Dinesh Weerapurage
f978900ab0
adding a debian based docker image
2018-11-08 12:03:35 +01:00
Daniel Patterson
8b6580128b
Merge pull request #5255 from Project-OSRM/danpat_snapped_distance_everywhere
...
Return 'distance' in all waypoints for all APIs
2018-11-02 15:36:27 -07:00
Daniel Patterson
4dde9c7bbe
Include distance from input to snapped for all waypoints, not just on the nearest
service.
2018-11-02 15:30:52 -07:00
Daniel Patterson
973837207b
Merge pull request #5257 from Project-OSRM/danpat_table_noroute_estimate
...
Use estimates for NoRoute in table requests
2018-11-02 01:41:50 -07:00
Daniel Patterson
364e35af06
Remove estimated_cells value in the response.
2018-11-02 01:08:59 -07:00
Daniel Patterson
985ab58f45
Add feature to fill null table entries with as-the-crow-flies estimates.
2018-11-02 01:07:24 -07:00
Daniel Patterson
cb1db646f2
Merge pull request #5251 from Project-OSRM/danpat_cache_distances
...
Pre-calculate distance values
2018-10-30 16:14:47 -07:00
Daniel Patterson
a67c4bf84d
Calculating durations is unavoidable due to tie-breaking minimums, but we can avoid accumulating distances if they're not requested.
2018-10-30 15:41:06 -07:00
Daniel Patterson
498259b220
Replace dynamic distance calculation for table plugin with pre-calculated distances on shortcuts, avoiding unpacking cost.
...
Adds approx 10% to total data size. Speeds up large table requests by 2 orders of magnitude.
Co-authored-by: Kajari Ghosh <ghoshkaj@gmail.com>
2018-10-30 15:41:06 -07:00
Daniel Patterson
5327f8da4e
Timer script should error properly if something goes wrong, and print out what happened.
2018-10-30 15:41:06 -07:00
Daniel Patterson
802ccfb497
Merge pull request #5252 from Project-OSRM/danpat_pin_yarn
...
Pin Yarn to 1.11.1 so it works with Node4
2018-10-30 15:40:19 -07:00
Daniel Patterson
ec369d560a
Pin Yarn to 1.11.1 so it works with Node4 ( https://github.com/yarnpkg/yarn/pull/6409#issuecomment-429181371 )
2018-10-30 15:38:55 -07:00
Daniel Patterson
535647e439
Merge pull request #5242 from Project-OSRM/ghoshkaj_mmaperize
...
Support directly mmap-ing datafiles
2018-10-29 11:58:26 -07:00
Daniel Patterson
954121634f
Merge branch 'master' into ghoshkaj_mmaperize
2018-10-29 09:52:50 -07:00
Daniel Patterson
594a45e7e0
Re-use msinttypes bundled with RapidJSON when compiling on Windows. ( #5249 )
2018-10-29 09:51:56 -07:00
Daniel Patterson
96c7b47afe
Document new mmap_memory option in NodeJS API
2018-10-27 00:12:17 -07:00
Daniel Patterson
b7e7d32361
Expose new --mmap switch
(mmap_memory: true
in NodeJS), and run test suite in this mode, as well as shared memory mode.
2018-10-26 23:54:00 -07:00
Daniel Patterson
2f9cb44368
mmap
tarfiles directly when mmapping is enabled, instead of copying data into separate mmapped block
...
Co-authored-by: Kajari Ghosh <ghoshkaj@gmail.com>
2018-10-26 23:53:59 -07:00
Daniel Patterson
d80318f8ea
Match serialized bit-packing for vector<bool> to match in-memory layout for vector_view<bool> so that data can be directly mmapped.
2018-10-26 23:53:50 -07:00
Daniel Paz-Soldan
b1791d1ab3
Fix anchor links in api docs ( #5235 )
2018-10-16 09:23:29 -07:00
Yota Toyama
a53da9095a
Fix table node API docs ( #5204 )
2018-10-01 16:45:05 +03:00
Kajari Ghosh
72e03f9af9
update changelog after 5.19 release ( #5203 )
2018-09-11 00:34:40 -04:00
Kajari Ghosh
5597415f28
Revert "Improve speed of Map Matching" ( #5196 )
...
* Revert "Update changelog"
This reverts commit 9b779c704f
.
* Revert "Fix formating"
This reverts commit 5bd7d04fe3
.
* Revert "Fix bug in computation of distance offset for phantom node"
This reverts commit 0f78f7b2cc
.
* Revert "Adjust text cases for flightly different matching due to rounding"
This reverts commit 8473be69d2
.
* Revert "Round network distance to deci-meter to retain previous behavior"
This reverts commit c0124f7d77
.
* Revert "Preserve heap state in map matching"
This reverts commit b630b4e32a
.
* Revert "Use distance functions from many to many"
This reverts commit 89fabc1b9c
.
* Revert "Use FCC algorithm for map matching distance calculation"
This reverts commit a649a8a5cf
.
2018-09-06 12:05:28 -04:00
Jie
5476f6ab27
Fix GDB not work for osrm-routed on Linux ( #5157 )
...
As I mentioned in the issue #5156 , I met below issue on my Win10+WSL(Ubuntu) env:
The remote debugger (VSCode on Win10, gdb on Ubuntu 18.04 LTS) works well from the beginning of the main() function. But when I step over the code pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask); (src/tools/routed.cpp(289)), below breakpoints can not work and displayed unverified breakpoint.
Then I found that gdb breakpoint need at least SIGTRAP, SIGSTOP to work (Please refer to [how debugger works](http://www.alexonlinux.com/how-debugger-works ) for more details), but all signals are blocked in the source code until server initialized done.
In my understanding, block all signals DO NOT make sense for this osrm-routed process. Only several signals (SIGINT, SIGQUIT, SIGTERM) are expected to wait. So I made the change and it works well for me then.
2018-09-05 16:23:48 -07:00
Daniel Patterson
0971f06193
Add option to node bindings to return result as a pre-generated JSON string (this avoids a lot of overhead, and moves JSON string rendering out of the main event loop).
2018-09-05 15:09:13 -07:00
Daniel Patterson
85515f063a
Render floating point numbers to string using Grisu2 algorithmt instead of stdlib to speed up JSON generation.
2018-09-05 14:20:47 -07:00
Daniel Patterson
69d7825542
Increase allowed shared memory regions to 512 from ~120
2018-09-05 11:48:02 -07:00
Patrick Niklaus
9b779c704f
Update changelog
2018-08-02 12:19:24 +02:00
Patrick Niklaus
5bd7d04fe3
Fix formating
2018-08-02 12:19:24 +02:00
Patrick Niklaus
0f78f7b2cc
Fix bug in computation of distance offset for phantom node
2018-08-02 12:19:24 +02:00
Patrick Niklaus
8473be69d2
Adjust text cases for flightly different matching due to rounding
2018-08-02 12:19:24 +02:00
Patrick Niklaus
c0124f7d77
Round network distance to deci-meter to retain previous behavior
2018-08-02 12:19:24 +02:00
Patrick Niklaus
b630b4e32a
Preserve heap state in map matching
2018-08-02 12:19:24 +02:00
Patrick Niklaus
89fabc1b9c
Use distance functions from many to many
2018-08-02 12:19:24 +02:00
Patrick Niklaus
a649a8a5cf
Use FCC algorithm for map matching distance calculation
2018-08-02 12:19:24 +02:00
Frédéric Rodrigo
f928956584
Support maxlength and maxweight in car profile
2018-07-11 18:33:30 +02:00
Frédéric Rodrigo
7ff68792d7
Add helper for maxlength into measure.lua
2018-07-11 18:33:30 +02:00
Frédéric Rodrigo
3088dd0342
Better and flexible weight parsing in measure.lua
2018-07-11 18:33:30 +02:00
Frédéric Rodrigo
d2590989f5
Default maxspeed for fr:rural is now 80km/h
2018-07-11 17:54:46 +02:00
Antoine Giret
3a7b377586
Update profiles.md
2018-06-27 14:27:17 +02:00
Michael Krasnyk
82b5648c97
Don't collapse segregated intersections at roundabout exits, #5114
2018-06-21 15:24:03 +02:00
Antoine Giret
1628a3c4d5
Update profiles.md
2018-06-07 15:43:06 +02:00
Matthias Gilch
e5d8319c43
Removed unused variable
...
The variable name_data_mutex is declared in a block but never used
within this block. So I've removed the variable.
2018-06-02 22:49:30 +02:00
MichalPP
06699132eb
allow routing over barrier=some_tag
2018-05-29 16:56:15 +02:00
MichalPP
918e794d6a
change barrier_whitelist to barrier blacklist
...
change barrier_whitelist to barrier blacklist in foot profile
fix #5067 and #3890 and #4823
2018-05-29 16:56:15 +02:00
MichalPP
8dd8ee1fc2
blacklisting barriers allow routing
...
blacklisting barriers allow routing over barrier=some_tag
2018-05-28 17:21:08 +02:00
MichalPP
c3d0efda93
change barrier_whitelist to barrier_blacklist
2018-05-28 17:21:08 +02:00
Patrick Niklaus
3b4e2e83ef
Fix excluding nodes for one to all query
2018-05-08 15:50:25 +00:00