Patrick Niklaus
c824429458
Include the travel mode in the last instruction by copying it from the previous instruction.
2016-01-19 23:23:32 +01:00
Daniel Patterson
23b2154d98
Adds a shared/exclusive lock around queries and CheckAndReloadFacade.
...
Without this, it's possible for CheckAndReloadFacade to start working
while a query is still in progress, leading to undefined behaviour.
2016-01-19 21:26:30 +01:00
Daniel J. Hofmann
25c8711aad
Fix shared memory non-copyable properties
2016-01-19 20:31:14 +01:00
Daniel Patterson
cf30628d4e
DataFacade should only remove shared segments if they're actually different from the last time they were checked.
2016-01-19 20:31:03 +01:00
Patrick Niklaus
7675c730b6
Fix wrong assertion and emplace_back bug in trip plugin
2016-01-19 17:38:02 +01:00
Patrick Niklaus
2ce74c05e1
Use a sane gps_precision multipler
2016-01-15 22:15:05 +01:00
Patrick Niklaus
88e6558da3
Fix handling unexpected errors.
2016-01-15 22:08:04 +01:00
Patrick Niklaus
f1140ec903
Fix uturns at dead-end streets
2016-01-15 21:48:14 +01:00
Patrick Niklaus
a2e114e852
Merge branch 'develop'
2015-12-24 11:22:16 +01:00
Patrick Niklaus
0baf90a218
Adjust error string of distance_table to other plugins
2015-12-19 01:40:55 +01:00
Patrick Niklaus
f9f3d43152
Fix min average sample time
2015-12-19 01:40:55 +01:00
Patrick Niklaus
326f2d2743
Accidentally broke the trip plugin
2015-12-18 19:22:02 +01:00
Patrick Niklaus
57f257dce5
Fix status messages and don't include
2015-12-18 18:18:48 +01:00
Patrick Niklaus
c27fc4e4d8
Add comments to profiles about uturn
2015-12-18 15:54:33 +01:00
Moritz Kobitzsch
a37192c102
alignment
2015-12-18 12:28:03 +01:00
Moritz Kobitzsch
68bd6a29b6
modified local state of u_turn_penalty_variable
2015-12-18 12:25:46 +01:00
Patrick Niklaus
da11113bf1
Fix generate options parameter
2015-12-17 17:57:39 +01:00
Patrick Niklaus
70f4cdd0ca
Replace codes with enum
2015-12-17 16:45:15 +01:00
Patrick Niklaus
78ac3cffde
Add max values for viaroute and trip and reorganize return code handling
...
"status" is now always:
- 200 if the request was successful
- 207 if the result is empty (no path found)
- 400 if the request is invalid
viaroute and trip now have a maximum of 500 and 100 locations
respectively. Override with the --max-viaroute-size and --max-trip-size
parameters.
2015-12-17 04:14:34 +01:00
Patrick Niklaus
7eb2af6cd3
Add snapping regression test for viaroute
2015-12-16 22:51:01 +01:00
Patrick Niklaus
0b1c9d33a5
Don't use phantom node pairs as input for distance table
2015-12-16 22:51:01 +01:00
Patrick Niklaus
648a62112e
Fix snapping to small components
2015-12-16 22:51:01 +01:00
Patrick Niklaus
ff7cb91d9c
Use the Koenig swap and add free swap function for DeallocationVector
2015-12-16 22:03:46 +01:00
Patrick Niklaus
fd5881670d
Use std::swap
2015-12-16 22:03:46 +01:00
Patrick Niklaus
fc8768b79b
Add test for car mode snapping
2015-12-16 22:03:46 +01:00
Patrick Niklaus
914570b053
Don't snap to ferries in car profile
2015-12-16 22:03:46 +01:00
Patrick Niklaus
1a8783cfa0
Fix unused variable warning
2015-12-16 22:03:46 +01:00
Patrick Niklaus
28bfefcac6
Add option to set segments as non-snapable from lua
2015-12-16 22:03:46 +01:00
Patrick Niklaus
bec56522e3
Add stxxl/vector include to range_table test
2015-12-16 22:02:34 +01:00
Patrick Niklaus
0ddd473477
Use ::min() instead of -::max()
2015-12-16 19:41:06 +01:00
Patrick Niklaus
2defc8e826
Correctly initialize the min value
2015-12-16 19:35:12 +01:00
Patrick Niklaus
c3756f6b58
Template the vector type in RangeTable
2015-12-16 18:17:04 +01:00
Patrick Niklaus
66af3d260c
Merge pull request #1822 from rparanjpe-tesla/develop
...
name_lengths std::vector --> stxxl::vector
2015-12-16 11:49:59 -05:00
rparanjpe
5c3398c280
name_lengths std::vector --> stxxl::vector
2015-12-15 19:12:33 -08:00
Patrick Niklaus
63a59325f5
Fix SimpleClient
2015-12-16 00:26:13 +01:00
Patrick Niklaus
f1091f97fc
Fix cucumber help text test
2015-12-15 23:38:12 +01:00
Patrick Niklaus
fe9bdfef79
Fix case when not specifing path or sharedmemory to osrm-routed
2015-12-15 22:27:12 +01:00
Patrick Niklaus
a8f11981e3
Include tbb in libosrm.pc
2015-12-15 21:42:32 +01:00
Patrick Niklaus
94651744af
Remove assertion in farest insertion
2015-12-15 21:33:59 +01:00
Patrick Niklaus
24e7d00af5
Fix call to shortest_path from match plugin /cc @danpat
2015-12-15 21:27:03 +01:00
Patrick Niklaus
f85a35b5fc
Fix map matching coordinate check
2015-12-15 21:14:43 +01:00
Patrick Niklaus
a27aad0061
Fix osrm-routed options
2015-12-15 21:08:09 +01:00
Patrick Niklaus
9a332d2f86
Fix osrm.hpp placement
2015-12-15 19:25:26 +01:00
Patrick Niklaus
1264983688
Fix build
2015-12-15 16:31:28 +01:00
Patrick Niklaus
53cee90933
Fix removed server_paths reference
2015-12-15 05:17:31 +01:00
Patrick Niklaus
6daa3290d4
Cleanup library setup
2015-12-14 22:00:20 +01:00
Patrick Niklaus
5a9bee0527
Don't include zero characters in empty names
2015-12-13 20:31:47 +01:00
Daniel Patterson
6914d26187
Correct data entry for the empty string.
...
Rename name_offsets to name_lengths, because that makes more sense.
2015-12-13 11:02:55 -08:00
Daniel Patterson
68c01d09bb
Merge branch 'rparanjpe-tesla-fix_stxxl_write' into develop
2015-12-11 15:40:03 -08:00
rparanjpe
4bf1ad2566
Write out stxxl vector for names correctly
2015-12-11 15:18:55 -08:00