Commit graph

137 commits

Author SHA1 Message Date
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)
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