Commit graph

213 commits

Author SHA1 Message Date
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
419cb4e78c add junit to brouter-core dependencies 2018-02-04 20:19:33 +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
Arndt
fdf06cbdd0 use start direction (provided by locus) as turncost bias 2016-10-14 19:18:21 +02:00
Arndt
372673be7a fixed NP in Voice-Hint-Processing 2016-10-14 19:16:32 +02:00
Arndt Brenschede
cf5e56054b recalc timeout change 2016-09-30 19:15:18 +02:00
Arndt
56bdf76806 1.4.6 (memory footprint) 2016-09-30 13:17:03 +02:00
Arndt
448bb11ad4 performance 2016-09-10 16:03:15 +02:00
Arndt Brenschede
9d00b0181e performance 2016-09-09 19:42:00 +02:00
Arndt Brenschede
f5b6e13a26 ups-bug-fix 2016-09-06 19:19:42 +02:00
Arndt Brenschede
ead7f2ac6d cleanup and bugfixes 2016-09-02 19:05:50 +02:00
Arndt Brenschede
e217f12e71 v1.4.4 2016-08-30 19:30:53 +02:00
Arndt
ea572ad47f more performance tuning 2016-08-28 19:43:40 +02:00
Arndt
12d8cae46f some more cleanup and performance squeezing 2016-08-23 14:33:37 +02:00
Arndt
f70dd3c3ac removed some old stuff, added profiler, minor performance tuning 2016-08-20 18:53:50 +02:00
Arndt
42e9ddbdd1 v1.4.3 2016-08-06 13:46:30 +02:00
Arndt
d277db0bd1 im-router-update 2016-08-05 16:02:13 +02:00
Arndt
cd8082f2b2 fixed rounding bug in locus/orux waypoint reading 2016-05-21 08:09:19 +02:00
Arndt
037ab7d734 1.4.2 versioning 2016-05-16 18:10:45 +02:00
Arndt
52e6754bfc locus transport mode fix 2016-05-16 18:03:01 +02:00
Arndt
7cc6314397 Volkers patch for shifting voice hints away from ambiguity 2016-05-16 18:00:41 +02:00
Arndt
8369e8d3f3 elevation in locus waypoints 2016-05-16 08:22:29 +02:00
Arndt
8609c1f47b 1.4.1 locus roundabout fix, 3 more operators 2016-05-09 22:05:40 +02:00
Arndt
51ee8dac2c uups-fix 2016-05-06 10:25:02 +02:00
Arndt
d6e125b60b 1.4 preparation 2016-05-06 09:17:41 +02:00