Commit graph

301 commits

Author SHA1 Message Date
afischerdev
8903939176
Merge pull request #499 from quaelnix/fix-calc-distance
Fix rounding error in calcDistance
2023-02-15 17:24:03 +01:00
afischerdev
c588daa68f
Merge pull request #500 from quaelnix/elevation-filter-regression-fix
Fix regression in elevation filter logic
2023-02-15 17:21:19 +01:00
afischerdev
ca5279d7c7
Merge pull request #506 from quaelnix/eta-regression-fix
Fix regression in travel time computation
2023-02-13 18:47:14 +01:00
quaelnix
480977ec46
Fix regression in travel time computation
abrensch@17be365 introduced a bug that causes a negative bias in the calculated incline each time the elevation buffer is reset, which results in an additional misestimation of the travel time when via points are added.
2023-02-08 22:01:09 +01:00
quaelnix
829baba037 Allow hill cost and hill cutoff in way context
This removes the limitation that `downhillcutoff` and `uphillcutoff` as well as `downhillcost` and `uphillcost` cannot be used in the way context.
2023-01-29 17:00:54 +01:00
quaelnix
f46c94083e
Fix priorityclassifier initialization 2023-01-28 10:34:01 +01:00
quaelnix
c3508c2adc
Fix regression in elevation filter logic
25e506d changed the order in which the elevation deltas are passed through the elevation filter, which can lead to the undesirable behavior that appending segments to the end of a route can decrease the calculated total ascent. This fixes the bug by adjusting the elevation filter accordingly.
2023-01-24 23:38:11 +01:00
quaelnix
4495952625 Fix rounding error in calcDistance 2023-01-20 10:22:01 +01:00
afischerdev
3d34340e14 recalc elevation at end 2023-01-16 11:18:12 +01:00
afischerdev
32b258c188 recalc track rules, reorg detours 2023-01-16 10:37:19 +01:00
afischerdev
25e506dcbe recalc track at end 2023-01-15 18:05:18 +01:00
afischerdev
4867368296 move process voice hint, speed profile to the end 2023-01-15 17:43:51 +01:00
afischerdev
2b9a9d5bdd
Merge pull request #494 from afischerdev/update-version
Update lib part three - ignore misplaced via points
2023-01-15 16:44:56 +01:00
quaelnix
a49c43d1ef
Refactor computeKinematic 2023-01-10 15:34:37 +01:00
quaelnix
1e819cf5bd
Fix regression of travel time calculation
This fixes a regression in the travel time calculation in the kinematic model caused by combining the following two commits:
* bd025875d4 (diff-59799a4a78f59692f35951f94cd8733f7e34718c2d60a6248685159f637517a4)
* 57da34d205 (diff-59799a4a78f59692f35951f94cd8733f7e34718c2d60a6248685159f637517a4)
2023-01-10 15:32:17 +01:00
afischerdev
b98a576fe3 add routines for misplaced pts 2023-01-09 18:25:16 +01:00
afischerdev
d2297c0c52 add vars for misplaced pts 2023-01-09 18:13:03 +01:00
afischerdev
d67b3c0ec9 change use of direct routing 2022-12-05 11:50:52 +01:00
afischerdev
8fa27bcf6e remove compiler warnings 2022-11-23 16:28:43 +01:00
Manuel Fuhr
09a9c1a104 Enable PMD rule SimplifiedTernary and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
3b77f93c00 Enable PMD rule UnnecessaryReturn and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
30be64cbbe Enable PMD rule LooseCoupling and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
c75a8cb703 Enable PMD rule UnnecessaryImport and fix violations 2022-11-14 22:06:18 +01:00
zod
0566f8154c
Merge pull request #478 from afischerdev/update-version
Extend android service interface and http API
2022-11-14 21:47:58 +01:00
afischerdev
78cd395ca1
Merge pull request #474 from zod/test-routeserver
Tests for RouteServer
2022-11-10 13:07:10 +01:00
Manuel Fuhr
15df3d392d Add testcase for param override 2022-11-09 18:35:44 +01:00
Manuel Fuhr
6f6d99b3e3 Stricter whitespace handling 2022-11-09 07:29:53 +01:00
afischerdev
54a7ad6b9d update lib part one 2022-11-02 09:37:12 +01:00
Manuel Fuhr
fd158dc0ce Cleanup testcases (split, dependencies, assertions) 2022-10-23 10:51:02 +02:00
Manuel Fuhr
3787076839 Move testcases from brouter-server to their modules 2022-10-23 10:22:47 +02:00
Manuel Fuhr
c15913c1ab Reformat whole codebase using Android Studio 2022-07-25 06:14:46 +02:00
Manuel Fuhr
669ea28d1b Share track via intent 2022-05-30 22:39:11 +02:00
polyscias
62444f8387 Update locus html generation to have only one extension section 2022-04-18 12:23:21 +02:00
Arndt Brenschede
96ab3bf5c2 suspect-manager: display trigger-list 2022-02-12 21:48:26 +01:00
Arndt Brenschede
8fd38da5c9 Merge branch 'master' of https://github.com/abrensch/brouter 2022-01-15 09:58:37 +01:00
Arndt Brenschede
7173e78214 TR bike exceptions also for foot-mode 2022-01-15 09:57:22 +01:00
vodie
5f62723cbb
no turnrestrictions for footmode 2022-01-15 01:49:02 +01:00
afischerdev
623f3c0279 set new version 1.6.3 2021-12-21 17:02:35 +01:00
afischerdev
a7857384fb
Revert "Update from abrensch/brouter" 2021-10-07 13:28:24 +02:00
afischerdev
4483143c35 gradle for publish #339 2021-10-06 20:43:57 +02:00
afischerdev
f5724cf388 gradle for publish #339 2021-10-06 20:37:15 +02:00
afischerdev
3e17914470 gradle for publish #339 2021-10-06 20:18:26 +02:00
afischerdev
12116b8467 change version numbers 2021-10-05 16:32:18 +02:00
afischerdev
1f99ef4d60 default value for "considerTurnRestrictions" (#307) 2021-09-05 17:12:24 +02:00
afischerdev
6601512bc3
Merge pull request #289 from ntruchsess/fix_issue_#288
fix issue #288 (No-go polyline sometimes leaky)
2021-09-05 17:01:29 +02:00
afischerdev
8e008a8d66 hardcoded waypoint distance to variable 2021-07-30 14:15:12 +02:00
afischerdev
4bbd2d7bff move params forward 2021-07-24 11:45:56 +02:00
afischerdev
57da34d205 speed handling #301 2021-07-08 13:35:49 +02:00
afischerdev
03574f834c more on version code 2021-07-07 12:21:52 +02:00
afischerdev
8c5a961011
Merge branch 'master' into cleanup-fileaccess 2021-07-01 11:20:30 +02:00
afischerdev
47f1b10b99 migrate to gradle part 2 2021-06-29 13:02:21 +02:00
afischerdev
d0f3644b1f
Merge branch 'abrensch:master' into master 2021-06-29 11:48:37 +02:00
afischerdev
e210b92225
Merge pull request #243 from Erlkoenig90/migrate-gradle
Switch build system to gradle
2021-06-29 11:46:51 +02:00
afischerdev
f59eb0de1e
Merge branch 'abrensch:master' into master 2021-06-24 12:34:38 +02:00
Arndt Brenschede
8234293e5a time/energy in message data only integer precision 2021-05-02 15:31:41 +02:00
radim-asamm
be71c0d86e Added time and energy to response messages. 2021-04-22 14:01:17 +02:00
Norbert Renner
3565f39914 Complete voice hints and add times to GeoJSON 2021-04-10 10:08:31 +02:00
Arndt Brenschede
eb716506fd bee-line patch: Nogo covering 2 Waypoints triggers a beeline segment 2021-03-31 16:07:21 +02:00
Norbert Truchsess
9335fd1435 fix issue #288 (No-go polyline sometimes leaky)
Signed-off-by: Norbert Truchsess <ntruchsess@t-online.de>
2021-01-29 18:08:06 +01:00
afischerdev
98b7b7312c add json export 2020-06-29 10:02:27 +02:00
Arndt Brenschede
cdd3a80b9e rework same-segment search logic 2020-06-28 13:52:45 +02:00
Arndt Brenschede
7e4bcebd3c fixed problem for same-segment searches with exact node matches 2020-06-27 12:37:15 +02:00
Niklas Guertler
dbdfd36f88 Cleanup base directory selection, use Context.getExternalFilesDirs and request WRITE_EXTERNAL_STORAGE permission, use AndroidX and raise minSdkVersion to 14. Use File instead of plain Strings for paths in some places, use try-with-resources, and some other small improvements. 2020-05-24 17:59:23 +02:00
Niklas Guertler
72e2e13d07 Switched build system to gradle 2020-05-24 16:46:04 +02:00
vodie
8dca375589
export Oruxmaps Navigation instructions 2020-05-17 23:24:01 +02:00
vodie
1fd007d043
export Oruxmaps Navigation instructions 2020-05-17 23:09:51 +02:00
Arndt Brenschede
b0410daf89 version 1.6.1 2020-03-01 21:55:34 +01:00
Arndt Brenschede
cf5479a261 1.6.0 preparation 2020-02-15 14:36:27 +01:00
Arndt Brenschede
a0de736323 fixed Voice-Hint timing bug (locus+osmand) 2020-02-15 13:49:10 +01:00
Arndt Brenschede
42486f73f1 thread-limit logic, finetuning + extended profile cache 2020-02-08 18:31:22 +01:00
Arndt Brenschede
89ef900b7c removed apache commons dependency 2019-10-05 16:44:42 +02:00
abrensch
853e3e10d6
Merge pull request #196 from bagage/user-poi
Handle user points of interest
2019-10-05 16:35:43 +02:00
Arndt Brenschede
5668f36626 tuning kinematic model for roundabouts 2019-10-01 18:48:40 +02:00
Gautier Pelloux-Prayer
e2d2f6a23d Handle user points of interest 2019-09-30 22:44:20 +02:00
Arndt Brenschede
5c9b7fa7bf 1.5.5 versioning 2019-07-30 11:42:22 +02:00
Phyks (Lucas Verney)
62d68d5880 Export waypoints in KML tracks 2019-07-20 19:33:56 +02:00
Phyks (Lucas Verney)
c6e466ca7b Export first (from) and last (to) waypoints as well in GeoJSON / GPX 2019-07-20 19:33:56 +02:00
Phyks (Lucas Verney)
9da3f20816 Export via waypoints in GPX tracks 2019-07-20 19:33:56 +02:00
Phyks (Lucas Verney)
af660bf1cf Add an option to export waypoints in GeoJSON tracks 2019-07-20 19:33:55 +02:00
vodie
dda374073a
Fix error if voiceHints.list is empty 2019-07-20 13:43:28 +02:00
Arndt Brenschede
80e36d4bb5 modified memory behaviour (use up to memoryclass only when neccessary) 2019-07-20 10:24:00 +02:00
vodie
4003293580
fix missing turn instructions for Osmand 2019-07-19 04:40:36 +02:00
Arndt Brenschede
f9f08cc0b7 1.5.0 preparations 2019-06-30 17:34:21 +02:00
Phyks (Lucas Verney)
c8e8b9d421 Fix an incorrect handling of default nogo behavior for lines or polygons.
Fix #154
2019-06-29 14:43:40 +02:00
Phyks (Lucas Verney)
fc97754c90 Crossing a nogo polyline with weight should translate into a constant cost. 2019-06-29 14:32:41 +02:00
abrensch
cfef81322d
Merge pull request #165 from Phyks/issue_159
Fix a logical error in bounding circle computation. Fix #159.
2019-06-24 13:12:19 +02:00
Arndt Brenschede
9f6878f891 direct weaving/escape-analysis 2019-06-23 18:57:46 +02:00
Phyks (Lucas Verney)
62b33680ac Fix a logical error in bounding circle computation. Fix #159. 2019-06-21 18:48:23 +02:00
Arndt Brenschede
1ea350cb04 MIT license 2019-05-04 20:04:56 +02:00
Arndt Brenschede
68b7ddff5c moved angle calc to util 2019-04-19 11:56:22 +02:00
Arndt Brenschede
9e64eb39c4 refactored waypoint-matching into map-access-layer 2019-04-17 18:00:38 +02:00
Arndt Brenschede
02b8202001 patch times and turns (volker) 2019-04-17 12:36:57 +02:00
Arndt Brenschede
19e434facb minor refactoring 2019-04-17 11:33:07 +02:00
Arndt Brenschede
137d87c085 added speed profile to json result 2019-01-26 19:50:04 +01:00
Arndt Brenschede
a9e8731b3e voice hints in json 2018-12-31 16:52:26 +01:00
Arndt Brenschede
a9684d58db endpoint catching range 5m -> 1,5m to avoid test regression 2018-12-16 13:34:09 +01:00
Arndt Brenschede
a81d1685db minor performance patch calcAngle 2018-12-16 13:33:14 +01:00
Arndt Brenschede
6bd435723f calcAngle back to clockwise positive + fine-tuning 2018-12-15 17:17:29 +01:00
Arndt Brenschede
20e1d5aabb fixed routing glitch at final segment 2018-12-14 00:56:29 +01:00
Phyks (Lucas Verney)
240be06018 Fix nogo weights with polylines 2018-12-13 15:00:33 +01:00