Commit graph

1100 commits

Author SHA1 Message Date
Norbert Renner
855dc81283 Show gap in elevation graph for single beeline 2022-05-02 10:55:20 +02:00
Norbert Renner
7f481b8db3 Pass estimated cost factor to kinematic calc
(only to use different formula > 4.9)
2022-04-26 12:41:41 +02:00
Norbert Renner
6a19b53dc0 Add interpolated warning for stats with beeline 2022-04-11 19:24:48 +02:00
Norbert Renner
c122b31e73 Replace ??=, not supported by i18next-scanner 2022-04-11 18:59:28 +02:00
Norbert Renner
42d8b27266 Add time and energy to messages 2022-04-11 18:37:40 +02:00
Norbert Renner
5dd801d714 Interpolate cost by using max of neighbours 2022-04-09 11:55:56 +02:00
Norbert Renner
2f8ddfa9e7 Interpolate ascend stats 2022-04-06 11:51:20 +02:00
Norbert Renner
30f8a88957 Interpolate stats over consecutive beelines 2022-04-01 14:30:08 +02:00
Norbert Renner
41a3b8f0ac Update leaflet-routing 2022-02-17 18:39:16 +01:00
dependabot[bot]
68516aad26
Bump follow-redirects from 1.14.7 to 1.14.8 (#480)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 16:16:04 +01:00
dependabot[bot]
479356e837
Bump ajv from 6.9.1 to 6.12.6 (#479)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.9.1 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.9.1...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 16:15:23 +01:00
Norbert Renner
7bbbffbd3f Get selected profile vars despite pinned custom 2022-02-16 16:12:24 +01:00
Norbert Renner
4d44153316 Read time/energy calc variables from profile
and ensure profile text is loaded before updating route and straight line stats
2022-02-15 19:30:49 +01:00
Norbert Renner
9abf4b94c4 Calc stats for straight line 2022-02-07 17:52:16 +01:00
Norbert Renner
39c56e4b03 Fix marked breaking changes 2022-02-05 17:45:24 +01:00
dependabot[bot]
024add821e
Bump node-fetch from 2.6.1 to 2.6.7 (#476)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 16:07:29 +01:00
dependabot[bot]
49c36d52a6
Bump marked from 2.0.0 to 4.0.10 (#471)
Bumps [marked](https://github.com/markedjs/marked) from 2.0.0 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.0...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 16:04:16 +01:00
Norbert Renner
6db0ce8161 Fix track.json source comment 2022-01-28 11:14:49 +01:00
dependabot[bot]
0d8f978906
Bump copy-props from 2.0.4 to 2.0.5 (#473)
Bumps [copy-props](https://github.com/gulpjs/copy-props) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/gulpjs/copy-props/releases)
- [Changelog](https://github.com/gulpjs/copy-props/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/copy-props/compare/2.0.4...2.0.5)

---
updated-dependencies:
- dependency-name: copy-props
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 18:31:59 +01:00
Norbert Renner
6ee2b45716 Update track.json 2022-01-21 18:23:13 +01:00
dependabot[bot]
28a0012068
Bump follow-redirects from 1.13.0 to 1.14.7 (#470)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-20 18:43:18 +01:00
Norbert Renner
025eb02a6a Fix stats tests by summarizing integer distances 2022-01-20 18:38:51 +01:00
Sylvain Lafay
9bcd36b028
fix swisstopo-landeskarte id (#464)
Co-authored-by: Sylvain Lafay <sylvain.lafay@gmail.fr>
2021-12-01 21:37:19 +01:00
Marcus Jaschen
103b00a519
'l' toggles locate state (#462) 2021-11-22 21:29:28 +01:00
Norbert Renner
e822a97ed0
Merge pull request #460 from mjaschen/fix/github-438
Normalize `surface` and `smoothness` variants
2021-11-22 21:29:03 +01:00
Marcus Jaschen
3d4713a701 Update Docker configs
This commit updates the Dockerfile so that the image is built on top of the nodejs Long-term support (LTS) version. Manually bumping the nodejs version is no longer required.

Additionally, the ports definition in docker-compose.yml is quoted as string, as suggested in the reference documentation.
2021-11-21 10:34:05 +01:00
Marcus Jaschen
d9699127f9 Highlight route segments for parts with normalized surface and smoothness values
This commit ensures that all matching route segments are highlighted when hovering over a surface or smoothness line in the analysis tables.
2021-11-20 14:17:20 +01:00
Marcus Jaschen
9ca93e4c03 Normalize surface and smoothness variants
The `surface` tag exists in different variants,
e.g. `surface`, `cycleway:surface` etc.

Previously, the `surface` and `smoothness` tags were only processed for route analysis if they were found in their canonical form in the BRouter server response.

With this commit, the variants are normalized down to the main tag name which has the effect that they're included in the route analysis.

Fixes #438
2021-11-20 13:46:14 +01:00
Marcus Jaschen
492797f2a5
Add OpenStreetMap Notes Layer (#458)
* use a local variable (best practices)

* Add OpenStreetMap notes as overlay.

This commit adds a new layer which renders OpenStreetMap notes in the
current view.

The layer can be activated via the "More" button in the layers sidebar.

Fixes #439
2021-11-17 20:03:07 +01:00
Marcus Jaschen
5ec72901f1 don't store empty search queries to search favorites 2021-11-15 19:00:54 +01:00
Marcus Jaschen
1551fec917 Husky fixes for Search/SearchFavorites 2021-11-15 19:00:54 +01:00
Marcus Jaschen
f1557a1d5c remember and recall last used (non-custom) profile 2021-11-15 19:00:40 +01:00
Norbert Renner
7c8c71a3de Add stats track tests (failing) 2021-10-14 17:53:21 +02:00
The Ripper
05ff4bd430
Favorite list for search (geocode control) (#452)
* search favorites

Adds the ability to save search terms, use this for autoexpand during
typing in searchbox or select from whole list

* moved class vars to contructor

Co-authored-by: Karl Schweiger <kschweiger@directbox.com>
2021-10-13 19:39:48 +02:00
Norbert Renner
bd2e89ef06 Temporarily add transpiled BRouter CheapRuler
for better comparison during development
2021-10-08 19:40:41 +02:00
Norbert Renner
af1a11872a Initial client-side stats from BRouter StdPath.java
- `computeKinematic` and dependencies extracted from:
57da34d205/brouter-core/src/main/java/btools/router/StdPath.java
- transpiled with JSweet 3.0.0 - http://www.jsweet.org/jsweet-live-sandbox/
- manual cleanup
2021-10-04 10:26:54 +02:00
dependabot[bot]
7624a6d6ce
Bump tmpl from 1.0.4 to 1.0.5 (#449)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 12:22:56 +02:00
dependabot[bot]
9eb141707d
Bump tar from 4.4.15 to 4.4.19 (#447)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.15 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.15...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 12:21:31 +02:00
dependabot[bot]
e950993ac5
Bump path-parse from 1.0.6 to 1.0.7 (#443)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 12:51:20 +02:00
dependabot[bot]
046b8b09dc
Bump tar from 4.4.13 to 4.4.15 (#441)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.15)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 12:51:07 +02:00
Norbert Renner
fe05081678 Add beeline support to distance markers
- update on beeline toggle
- avoid distance markers wandering accross the map while routing many waypoints, because beelines are added immediately, by turning off updates in-between
2021-07-02 19:44:43 +02:00
dependabot[bot]
1a0f2f813e
Bump socket.io-parser from 3.3.0 to 3.3.2 (#435)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/3.3.2/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/3.3.0...3.3.2)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 16:50:43 +02:00
Norbert Renner
43b39970ef Update browser-sync to fix security issue
with xmlhttprequest-ssl dependency
2021-07-01 16:44:14 +02:00
Norbert Renner
7118cc70d7 Show empty cells in data tab instead of 0
which makes it more clear that there is no data
2021-07-01 12:05:16 +02:00
Norbert Renner
9f4a4983c5 Support beelines on reverse 2021-07-01 12:02:49 +02:00
Norbert Renner
f185d78dca Support undefined highway tag for beelines 2021-06-29 21:51:28 +02:00
Marcus Jaschen
ee4d24c4e7
add amenity=shelter to Overpass layers (#433) 2021-06-26 15:09:19 +02:00
Norbert Renner
39f3a10965 Support beelines in data and analysis tabs (WIP) 2021-06-25 22:33:11 +02:00
Norbert Renner
044dab0f80 Encode beeline hash as indexes 2021-06-23 23:23:36 +02:00
Norbert Renner
3c8be96085 Support beelines in hash url (first stab) 2021-06-19 16:23:01 +02:00