Commit Graph

8077 Commits

Author SHA1 Message Date
Kajari Ghosh
c36cf1837b restore history 2018-10-26 15:59:28 -04:00
Kajari Ghosh
2de119d2b3 fix incorrect testcase & change unsymmetric paths to reliably choose one path
change test case to reliably choose one path for all four symmetric corners

change testcase to reliably choose one path
2018-10-26 11:30:28 -04:00
Kajari Ghosh
469b5a039a turn all distance cuke tests into exact numbers to compare between ch and mld
add exact number cucumber testcases
2018-10-26 11:30:28 -04:00
Kajari Ghosh
2339f9ff95 make tests work 2018-10-26 11:30:28 -04:00
Kajari Ghosh
5961037dff Revert "disable mld tests for now"
This reverts commit 3ecf673f91ca7ab381a0a4a2c5fe1e2c52653cd8.

Revert "no mld"

This reverts commit 29464f40ccb86a5ed5de7a31e4f136329c33718e.

Revert "comment out MLD tests"

This reverts commit b81cc7010cc5454d9c03d07609d1b1a3477e5de3.

Revert "uncommenting parts of test makefile"

This reverts commit de152a821e524eaf7a337c34994fdcef174eafda.

uncomment mld data creation in test make file

uncomment a few nodejs mld tests as they pass now
2018-10-26 11:30:28 -04:00
Kajari Ghosh
f10ad15bb4 remove debugging
lint

remove debugging logging

comment out cuke log file logging

redo mld progress flag
2018-10-26 11:30:28 -04:00
Kajari Ghosh
c290315b77 change distance type to EdgeDistance in many_to_many_mld.cpp 2018-10-26 11:30:28 -04:00
Kajari Ghosh
7ac5ad2a14 change GetNodeDistance return type in customizer 2018-10-26 11:30:28 -04:00
Daniel Patterson
9f41499ef6 Remove custom ColumnIterator class. 2018-10-26 11:30:28 -04:00
Kajari Ghosh
d848a72bba debug cucumber accuracy errors 2018-10-26 11:30:28 -04:00
Kajari Ghosh
6d17b290fd missed adding distance to a spot 2018-10-26 11:30:28 -04:00
Kajari Ghosh
1e2c40337c write distances out in a seperate file for mld 2018-10-26 11:30:28 -04:00
Kajari Ghosh
9b7bb7b458 osrm-routed runs! but there is a failure once I send a request
fix many_to_many_mld
2018-10-26 11:30:28 -04:00
Kajari Ghosh
98d53a83fa compiles and builds and partitions and customizes but routed fails 2018-10-26 11:30:28 -04:00
Kajari Ghosh
c3fc68c139 WIP: add appropriate distances property where needed 2018-10-26 11:30:28 -04:00
Kajari Ghosh
b86232d6bd uncommenting parts of test makefile
huh
2018-10-26 11:30:28 -04:00
Kajari Ghosh
cb598a7a24 disable mld tests for now
comment out mld tests

comment out MLD tests

why do bits of mld code keep happening?
2018-10-26 11:30:22 -04:00
Kajari Ghosh
0fa2c14500 get intersection analysis unit, timezoner and updater unit tests to pass
get timzone unit tests to pass

get validation tests to pass

get updater and timezone unit test files to build with multiline string formatting

update validateFeature to validate polygon outterings and tzid

add tzid to all test fixtures of geojson features

add txid to test fixture

added tzid to hongkon test data but it already has timezone property
2018-10-25 17:57:51 -04:00
Daniel Patterson
0940f23d9d Store edge distances to improve matrix distance calculation.
Prep alpha release for testing.

Remove logging.

BY ALL MEANS REVERT THIS BEFORE CONTINUING DEVELOPMENT

comments out tests to pass

DIRTY COMMIT REVERT PLX; remove all failing node tests for mld distances

change assertions and permit distance zero edges

format

bump to alpha 2

update changelog after 5.19 release (#5203)

uncomment tests

comment out test that was never run

make unit tests pass
2018-10-25 17:57:51 -04: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
Patrick Niklaus
c459530cb6 Address PR comments 2018-05-08 15:50:25 +00:00
Kajari Ghosh
2a15e6dec8 Add support for annotations=distances in MLD
This commit brings feature parity with CH for the `table` pluging.
2018-05-08 15:50:25 +00:00