Commit graph

236 commits

Author SHA1 Message Date
Totorrr
e2c6811761
Remove cycleroute always having access granted
Some bicycle routes can have portions which are not accessible.

Potential reasons for this:
 - temporary construction work on the ways (sometimes for months),
 - local access change without simultaneous update of bicycle route relation
   (lack of mapper's knowledge or lack of time to redefine an updated route),  
 - ... 

This commit changes the fastbike profile so that being on a cycle route does 
not automatically mean "access granted" for bicycles. The normal access 
checkings are used instead.

However, the accesspenalty is set to 15 if the no-access way belongs to such a 
route, so that the way is not completely forbidden if there is no other 
alternative unavailable.
2022-10-22 00:51:23 +02:00
Totorrr
35f4e3312e
Remove cycleroute always having access granted
Some bicycle routes can have portions which are not accessible.

Potential reasons for this:
 - temporary construction work on the ways (sometimes for months),
 - local access change without simultaneous update of bicycle route relation
   (lack of mapper's knowledge or lack of time to redefine an updated route),  
 - ... 

This commit changes the trekking profile so that being on a cycle route does 
not automatically mean "access granted" for bicycles. The normal access 
checkings are used instead.

However, the accesspenalty is set to 15 if the no-access way belongs to such a 
route, so that the way is not completely forbidden if there is no other 
alternative unavailable.
2022-10-22 00:19:22 +02:00
vcoppe
14bcd6e4b4 remove empty diff files 2022-09-17 11:24:39 +02:00
vcoppe
872c88b268 add script to reset all segment files 2022-08-15 16:07:41 +02:00
Manuel Fuhr
c15913c1ab Reformat whole codebase using Android Studio 2022-07-25 06:14:46 +02:00
Manuel Fuhr
a75570a027 Merge branch 'master' into docs 2022-05-17 06:40:31 +02:00
Manuel Fuhr
6c5b1ddec6 Reference docs and remove readmes 2022-05-17 06:24:04 +02:00
Manuel Fuhr
4b6e34ca55 Update profile to Hiking-Mountain-SAC3 v1.8.7 2022-04-24 14:09:04 +02:00
Manuel Fuhr
56c9030406 Rename hiking profile 2022-04-24 14:09:04 +02:00
vcoppe
e4a0cac8b6 update server options 2022-04-14 16:32:33 +02:00
vcoppe
c562d58ca9 update server options 2022-04-14 16:29:07 +02:00
vcoppe
6794ef320e use bash for scripts 2022-04-14 13:50:52 +02:00
vcoppe
72671bd448 add routing profiles 2022-04-13 12:48:55 +02:00
Manuel Fuhr
eb89f9c999 Use more railway lines for routing
Closes #409
2022-03-30 17:24:56 +02:00
vcoppe
ffba802c9c scripts to handle diff updates 2022-02-11 21:41:01 +01:00
Arndt Brenschede
771770af22 added bad-TRs analysis to pre-processor 2022-01-15 10:05:06 +01:00
Arndt Brenschede
7173e78214 TR bike exceptions also for foot-mode 2022-01-15 09:57:22 +01:00
Manuel Fuhr
d45a811720 Move mapcreation to developer content 2021-12-29 08:45:40 +01:00
Manuel Fuhr
ca30bc86b9 Add profile developers guide 2021-12-29 07:17:31 +01:00
Arndt Brenschede
a5b8ba459b removed brouter-suspects/traffic-analyisis profiles 2021-12-20 10:10:12 +01:00
Manuel Fuhr
87a5cd21e8 Rewrap 2021-12-01 07:35:30 +01:00
Manuel Fuhr
dfc4bff7fd Use markdown syntax 2021-12-01 07:33:18 +01:00
Manuel Fuhr
d3482098f0 Rename to markdown 2021-11-30 17:32:16 +01:00
afischerdev
f0853adaca
Merge pull request #257 from Totorrr/profiles-paved-surfaces
Consider sett as paved in trekking.brf & fastbike.brf
2021-11-28 16:59:09 +01:00
Manuel Fuhr
d1a5911b34 fastbike: Check isunpaved for highway=unclassified
Fixes #102
2021-11-26 17:44:41 +01:00
afischerdev
227e7394b8 add a warning for BRouter folder in Android Q 2021-11-18 10:53:36 +01:00
afischerdev
0f0d7db18f Comparison profiles for download 2021-11-07 13:32:44 +01:00
Manuel Fuhr
555fa98914 Extend ReadSizes to get sizes from server index
Call "java ReadSizes.java https://brouter.de/brouter/segments4/" to
get an updated list of segment sizes which can be inserted into
BInstallerSizes.java
2021-10-21 07:53:44 +02:00
Manuel Fuhr
f5a415bd68 Format ReadSizes before changes 2021-10-17 09:20:56 +02:00
afischerdev
51291237c5 add some brf - removed to much 2021-10-15 12:57:04 +02:00
afischerdev
c5f6c3a6e3 normalize profiles #312, add use_sidepath #335 2021-09-09 10:49:08 +02:00
afischerdev
6183f567b7 normalize profiles #312, defaults considerTurnRestrictions #307 2021-09-08 18:41:23 +02:00
afischerdev
c60ff7176b
Merge pull request #278 from theraser/patch-1
Add Osmand elevation profile diagram
2021-09-05 16:53:12 +02:00
afischerdev
90bb1b0079 migrate to gradle part 5 2021-08-18 13:03:54 +02:00
multimodaal
4ba29cac95
Update river profile
Add support for routing over fairways which are used for navigable routes in a body of water
(where waterway=river or waterway=canal are not appropriate).
2021-05-22 14:13:02 +02:00
Arndt Brenschede
1e542d19b7 more aliases for highway=proposed|abandoned 2021-04-05 20:58:15 +02:00
theraser
5c0223c9d9
Add Osmand elevation profile diagram 2020-11-29 10:30:14 +01:00
Fabien
7c56886eec Same onewaypenalty for fastbike-verylowtraffic:
Consider cycleway:left&right in onewaypenalty
Avoids discarding some fine ways during routing
2020-10-03 22:56:38 +02:00
Fabien
33c984d558 Consider cycleway:left&right in onewaypenalty
Avoids discarding some fine ways during routing
2020-09-25 15:28:07 +02:00
Totorrr
41b4008330 Update trekking.brf & fastbike.brf
add "sett" as a paved surface (often nicer for bikes than cobblestone)
otherwise, sett surfaces tend to be avoided in routing, while it is usually smooth
even for thin wheels
2020-06-29 19:22:49 +02:00
vodie
d47e5af1fa
turninstructionmodes in profiles
add description for turninstructionmodes in profiles
2020-06-27 23:32:52 +02:00
vodie
5ea7a6695b
turninstructionmodes in profiles
add description for turninstructionmodes in profiles
2020-06-27 23:31:49 +02:00
vodie
3229657bc4
turninstructionmodes in profiles
add description for turninstructionmodes in profiles
2020-06-27 23:30:29 +02:00
vodie
e18447e48f
turninstructionmodes in profiles
add description for turninstructionmodes in profiles
2020-06-27 23:29:18 +02:00
vodie
43635284e7
turninstructionmodes in profiles
add description for turninstructionmodes in profiles
2020-06-27 23:25:09 +02:00
vodie
080057fb52
turninstructionmodes in profiles
add description for turninstructionmodes in profiles
2020-06-27 23:23:41 +02:00
vodie
74b1f1308d
update vm-forum profiles
use the brouter-web options for profile adjustment
2020-06-21 23:01:26 +02:00
Marcus Jaschen
43961b8d08 remove assign dummyUsage = smoothness= for vm-* profiles as they consider the smoothness already 2020-06-13 20:00:32 +02:00
Marcus Jaschen
7da925a212 add dummyUsage to certain profiles
If BRouter calculates a route with a cycling or hiking profile,
the `smoothness` tag is included in the response. That enables
a statistical analysis for the calculated route (distribution of
smoothness tags by distance).

See the analysis sidebar at https://brouter.m11n.de/ for an example.
2020-06-13 16:43:39 +02:00
vodie
5b419b6b2a
Update shortest.brf 2020-05-29 02:17:41 +02:00
vodie
43a79e4cb5
Update hiking-beta.brf 2020-05-29 02:15:50 +02:00
vodie
8f4b5709e3
Update moped.brf 2020-05-29 02:13:16 +02:00
vodie
ac38737927
Update fastbike.brf 2020-05-29 02:10:28 +02:00
Andrew Harvey
b8fdcfe8e4
update link to Osmosis releases 2020-03-28 08:56:04 +11:00
Arndt Brenschede
030b32ba96 deleted experminental decoder class 2020-03-17 16:56:28 +01:00
Arndt Brenschede
8607c47b66 fixed missing penalty for certain footways 2020-02-15 16:00:40 +01:00
Arndt Brenschede
be1319a331 fixed missing penalty for certain footways 2020-02-15 15:51:15 +01:00
Norbert Renner
8b3562270b Fix server.sh customprofiles path, it's relative to profiles2 dir 2020-01-23 19:31:15 +01:00
abrensch
f1c2b6e412
Merge pull request #216 from nrenner/generate_profile_variants
Fix shell in generate_profile_variants.sh
2020-01-22 13:01:08 +01:00
Norbert Renner
39f3d20445 Fix /usr/bin/sh not found on Ubuntu 18.04, using /bin/sh instead 2020-01-22 10:59:48 +01:00
Norbert Renner
f32a1bb406 Ignore generated profiles by misc/scripts/generate_profile_variants.sh 2020-01-22 10:47:39 +01:00
Arndt Brenschede
db4d6cf19c added construction tag to lookup table 2020-01-12 20:12:06 +01:00
abrensch
3170f031cc
Merge pull request #189 from Phyks/profile-variables
Let app and consumers of profiles edit variables
2019-10-05 16:46:38 +02:00
Phyks (Lucas Verney)
9265d8d3fb Add profile variables for car profile 2019-10-04 13:10:19 +02:00
Phyks (Lucas Verney)
b99cfaddfd Add profile variables in the fastbike profile 2019-10-04 13:03:27 +02:00
Arndt Brenschede
5541deea6c production pbf creation script 2019-10-04 10:12:27 +02:00
Phyks (Lucas Verney)
f7f75765a1 Move generate_profile_variants file to scripts folder and document it 2019-10-03 18:11:21 +02:00
Phyks (Lucas Verney)
0b1fef2778 Generate fastbike-lowtraffic as a variant of fastbike with configuration options 2019-10-03 18:03:51 +02:00
Phyks (Lucas Verney)
affb60a13d Add fastbike-verylowtraffic profile 2019-10-03 18:00:10 +02:00
Phyks (Lucas Verney)
bfa9312eb4 Generate safety variant from trekking 2019-10-03 17:57:59 +02:00
Phyks (Lucas Verney)
d88952edbd Add river profile 2019-10-03 17:56:55 +02:00
Phyks (Lucas Verney)
9d074d7d7c Add rail profile 2019-10-03 17:56:42 +02:00
Phyks (Lucas Verney)
741c2151b2 Add hiking profile 2019-10-03 17:56:13 +02:00
Phyks (Lucas Verney)
815028e961 Merge car-{fast,eco} and fastbike-asia-pacific variants with car-vario and fastbike profiles with configurable variables 2019-10-03 16:57:15 +02:00
Phyks (Lucas Verney)
a7d26d70ef Typo in trekking comment 2019-10-03 11:16:52 +02:00
Phyks (Lucas Verney)
69337a808c Include variables descriptions in trekking profile. 2019-10-03 11:16:52 +02:00
Arndt Brenschede
c87c9d6e84 cleanup 2019-10-03 10:10:00 +02:00
Arndt Brenschede
5668f36626 tuning kinematic model for roundabouts 2019-10-01 18:48:40 +02:00
Arndt Brenschede
cc78f68069 minor update of profile_developers_guide.txt 2019-09-28 21:26:41 +02:00
abrensch
a5838b5572
Merge pull request #195 from ThomasWaldmann/fix-typos
profile developers guide: fix typos and whitespace
2019-09-28 21:10:00 +02:00
Thomas Waldmann
ff8562e303 profile developers guide: fix typos and whitespace 2019-09-28 13:54:19 +02:00
Arndt Brenschede
e30ea90c0e pre-process speed: read pbf while it is written 2019-09-28 13:00:46 +02:00
Arndt Brenschede
4be0e456b2 car profile options 2019-09-28 08:27:23 +02:00
Arndt Brenschede
76e4ef8cab profile_developers_guide update 2019-09-21 11:15:58 +02:00
poutnikq@atlas.cz
ebb5fdd05e fixed some typos in developer guide update 2019-09-20 20:48:45 +02:00
poutnikq@atlas.cz
0a2f4a4b79 Merge branch 'docs' of https://github.com/poutnikl/brouter into docs 2019-09-20 20:14:12 +02:00
poutnikl
b1650537dd Updated development guide 2019-09-20 17:07:35 +02:00
poutnikq@atlas.cz
31210281b2 Impriving developer guide 2019-09-19 04:19:03 +02:00
poutnikl
d176937c41 Updated development guide 2019-09-18 10:53:43 +02:00
poutnikl
28cc151931 Updated development guide 2019-09-18 10:52:41 +02:00
Arndt Brenschede
c87519bfb2 tweaked avoid logic 2019-09-11 08:31:16 +02:00
poutnikl
2a4bc8a9a5 Merge remote-tracking branch 'abrensch/master' 2019-09-10 15:21:27 +02:00
poutnikl
e3dd21499f backported recent abrench/master/.../car-fast.brf updates 2019-09-09 17:56:03 +02:00
poutnikl
973dbae703 modified comment section, maxspeed, added avoid unpaved/motorways 2019-09-09 16:30:04 +02:00
poutnikl
48568a076a Implemented %avoid_toll% Locus dialog parameter to car-fast profile, renamed from avoid_tolls 2019-09-09 10:48:47 +02:00
abrensch
c32d3dc165
Merge pull request #185 from Phyks/traffic_signals
Add support for traffic_signals:direction, see #183.
2019-09-07 19:09:25 +02:00
Phyks (Lucas Verney)
6ed1850518 Improve documentation
* Improve documentation about BRouter usage and the provided scripts
(misc/scripts).
* Document how to use BRouter with third-party apps on Android (Locus /
OSMAnd).
* Improved process_planet_pbf.sh map creation script to make use of
osmupdate if available and avoid downloading the planet file if not
needed.
2019-09-05 15:34:54 +02:00
Gautier Pelloux-Prayer
f39d8834f1 Add MTB profile 2019-09-02 19:05:09 +02:00
Phyks (Lucas Verney)
333aa265f3 Add support for traffic_signals:direction, see #183. 2019-09-01 22:46:31 +02:00
Phyks (Lucas Verney)
79eba309d5 Add direction tag in lookups.dat, see #183 2019-08-30 08:23:33 +02:00