Commit graph

328 commits

Author SHA1 Message Date
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
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
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
Arndt Brenschede
4816c7be15 tuned costfactor limit for walking mode fallback 2018-12-12 23:43:29 +01:00
Arndt Brenschede
46c114ba1e minor changes to route energy + trackname+param 2018-12-12 23:18:05 +01:00
abrensch
cab8ca3dc8
Merge pull request #127 from Phyks/travelTime
Few fixes to travel time computation
2018-12-12 22:22:33 +01:00
Phyks (Lucas Verney)
000f1dfc69 Add tests for RoutingContext.calcAngle 2018-12-11 11:59:59 +01:00
Phyks (Lucas Verney)
1a2a1164f9 Fix a small bug in lat computation in CheapRulerSingleton and update
according to latest master branch.
2018-12-11 11:20:10 +01:00
Phyks (Lucas Verney)
2591f22348 Make nogo weight proportional to nogo distance
Compute the nogo cost as proportional to the length of the segment
inside the nogo area.
2018-12-11 08:53:43 +01:00
Phyks (Lucas Verney)
3479fd7323 Keep a cost of -1 for nogos which should never been entered to prevent them from being fed in the priority queue 2018-12-11 08:53:43 +01:00
Phyks (Lucas Verney)
910d6a0870 Allow custom nogo weights
This should help taking into account road works for instance.
2018-12-11 08:53:42 +01:00
Phyks (Lucas Verney)
e0259e4cde Use center latitude for getLonLatToMeters calls 2018-12-07 14:25:19 +01:00
Phyks (Lucas Verney)
bd025875d4 Few fixes to travel time computation
* Takes `costfactor` into account for switching to walking mode.
* Better energy computation in hiking mode.
* Reword the `bikerMass` to make it clearer for different modes.
2018-12-07 10:49:08 +01:00
Phyks (Lucas Verney)
34f5258f5e Remove last use of rc.coslat 2018-12-07 09:15:03 +01:00
Phyks (Lucas Verney)
780e865870 Fix JavaDoc errors 2018-12-07 08:59:15 +01:00
Phyks (Lucas Verney)
d621964863 Radius are now stored in meters, to easily account for different
radiuses on X and Y axes.
2018-12-07 08:58:57 +01:00
Arndt Brenschede
ab2f5e3ae0 Better distance computation (revisited) 2018-12-07 00:45:12 +01:00
Phyks (Lucas Verney)
5a62480bd3 Remove some duplicate codes and magic numbers 2018-12-02 16:00:55 +01:00
Phyks (Lucas Verney)
c78b56645c Implement a cache for the cosine computation in CheapRuler. 2018-12-02 15:59:16 +01:00
Phyks (Lucas Verney)
665b7096e8 Add a basic implementation of CheapRuler and use it across code. 2018-12-02 15:59:16 +01:00
Arndt Brenschede
997beb0e96 bike ETA: more ele-filter, energy-correction 2018-11-25 20:15:09 +01:00
Arndt Brenschede
17be3653ae bike ETA: more ele-filter, energy-correction 2018-11-25 20:11:50 +01:00
Phyks (Lucas Verney)
b27e6262b5 Fix travel time computation 2018-11-23 10:03:05 +01:00
Arndt Brenschede
6e6c4a18b2 bike ETA fine-tuning 2018-11-23 00:44:24 +01:00
Phyks (Lucas Verney)
0cecf87102 Review
* Only call speed computation for the final segments.
* Replace the cubic equation solved by a Newton method.
* Handle bicycle=dismount.
2018-11-22 16:20:30 +01:00
Phyks (Lucas Verney)
e4d0b3adc5 Travel time computation for bikes and foot
Based on simple models for travel speed (Tobler's hiking function for
foot, constant power for bike).

Fixes #6.
2018-11-18 22:29:09 +01:00
Arndt Brenschede
5dcfa91ab9 performance fix 2018-09-14 13:45:38 +02:00
Arndt Brenschede
89b60cc54c performance fix 2018-09-13 13:08:32 +02:00
Arndt Brenschede
53a0aac21d locus ETA 2018-07-08 12:10:23 +02:00
Arndt Brenschede
ed0619d93a locus ETA 2018-07-08 12:08:38 +02:00
Arndt Brenschede
67df0743cd destination access logic 2018-05-31 23:08:24 +02:00
Arndt Brenschede
5a2ce9d3ce fixed bug for TR near start/end 2018-04-07 13:04:14 +02:00
Arndt Brenschede
9c5f2d113e 1.4.11 preps 2018-04-02 22:41:55 +02:00
Arndt Brenschede
599a24f710 automatically ignore islands 2018-04-02 19:19:52 +02:00
Arndt Brenschede
f2d04ef70a breaking speeds from cost model + cost tuning 2018-03-21 09:10:59 +01:00
Arndt Brenschede
fc1656dd7b energy along the track 2018-03-11 08:34:57 +01:00
Arndt Brenschede
22f27f89d4 extraParams in addition to routing-profile 2018-03-10 10:32:59 +01:00
Arndt Brenschede
e7c68abbd8 Merge branch 'master' of https://github.com/abrensch/brouter 2018-03-10 09:26:42 +01:00
Arndt Brenschede
0325c33cdf extraParams in addition to routing-profile 2018-03-10 09:25:46 +01:00
Arndt Brenschede
1de5532b74 version 1.4.10 2018-03-07 19:38:47 +01:00
Arndt Brenschede
b783b4568a motorcar TR exceptions 2018-03-07 19:35:23 +01:00
Norbert Truchsess
fb00e0d130 cleanup 2018-02-25 20:33:10 +01:00
Norbert Truchsess
41201520c7 read NogoPolygons from OsmAnd Tracks 2018-02-25 20:00:50 +01:00
ntruchsess
a0198e3b34 add support for open nogo-polygons 2018-02-07 20:50:06 +01:00
ntruchsess
659bbe8d82 fix NogoPolygon radius being modified 2018-02-04 19:25:29 +01:00
ntruchsess
05b0b6d362 more elaborated NogoPolygon unit-test 2018-02-04 18:58:16 +01:00
ntruchsess
1fc6c9e62c fix radius-calculation, clockwise windingnumber and wp-init 2018-01-24 16:05:10 +01:00
ntruchsess
144c0018de fix parsing and generics errors 2018-01-23 23:57:17 +01:00
ntruchsess
32a49bfa32 add method 'isWithin' for single WP (being called from RoutingContext.cleanNogolist) 2018-01-22 18:59:10 +01:00
ntruchsess
48d60dd69e update javadoc 2018-01-22 16:18:38 +01:00
ntruchsess
1fd973daf2 rewrite calculation of bounding circle using coslat-transformed lon-values. 2018-01-22 15:39:38 +01:00
ntruchsess
c1048ab62a add OsmNogoPolygon 2018-01-20 18:47:57 +01:00
Arndt Brenschede
c517ccc2df version 1.4.9 2017-09-24 17:11:04 +02:00
Arndt Brenschede
d4f592732f access to way-context vars from (no caching) node-context 2017-07-02 22:55:54 +02:00
Arndt Brenschede
313592ebd3 fixed same segment search problem 2017-04-09 11:52:14 +02:00
Arndt Brenschede
ebd9305528 mapsforge bridge 2017-02-03 19:21:39 +01:00
Arndt
9d5ecb93ad disable tr-logic in final pass to preserve voice-hints 2016-12-11 20:24:09 +01:00
Arndt
8c530c87cd parameter to avoid supression of unused tags 2016-12-11 19:33:21 +01:00
Arndt
dd07a1bf57 fixed bug in traffic simulation 2016-12-11 19:32:05 +01:00
Arndt
05a8ec3ae3 version 1.4.8 2016-12-10 19:59:55 +01:00
Arndt
f15c5b923e tr bike exceptions 2016-12-10 19:49:24 +01:00
Arndt Brenschede
de5f70b9d9 tr details, ele interpolation 2016-12-02 19:28:31 +01:00
Arndt
0641a17b9c added turn restrictions 2016-11-21 08:14:47 +01:00
Arndt
e48cbd49cb added turn restrictions 2016-11-20 22:31:10 +01:00
Arndt
95209148b4 locus codes 13/14 for u-turns left/right 2016-11-20 22:22:11 +01:00
Arndt Brenschede
d42895880d version 1.4.7 2016-10-19 18:44:28 +02:00
Norbert Renner
1f09adfeb0 Fix profile path splitting on Windows, fixes nrenner/brouter-web#53 2016-10-17 20:55:22 +02:00
Arndt
a7e4f0eccb Merge branch 'master' of https://github.com/abrensch/brouter 2016-10-14 19:19:44 +02:00