No description
abrensch/brouter@c9ae7c8681 added support for two new voice hints: A hint for beelines (`BL`), and a hint for 180 degree u-turns (`TU`). By adding support for both, we now know about all types of voice hints as defined in BRouter again. What makes things confusing is that the `TU` name for the respective `static final int` constant in BRouter's `VoiceHint.java` was repurposed for 180 degree u-turns, with left u-turns now being mapped to the new `TLU` constant name. Also note that originally the indexing of voice hints as used in BRouter's GeoJSON API has been changed as well due to inserting new commands in the middle of the numbering scheme instead of at the end. This API break has been fixed only in abrensch/brouter@82fecf9. Here we will rely on the fixed indexing, BRouter versions 1.7.0 and 1.7.1 without the re-indexing revert will not be supported. In addition, the voice hint mapping table has been checked to be identical to BRouter (this led to adding a missing `OFFR` symbol), and clarifying comments for planned future changes (e.g. changing the `TU` output token to `TLU` for OsmAnd) have been added. Note that beelines and 180 degree u-turns are only added to the mapping table for completeness. As BRouter-Web is handling straight lines on the client-side exclusively (which makes sense performance-wise when loading a route from a pasted URL with lots of them tracing an unmapped path), they are not expected to be in any GeoJSON response from BRouter, at least as of now. The same is true for 180 degree u-turn voice hints at cul-de-sac-style vias. If and when to emit voice hints for both cases in BRouter-Web itself is a different question, though it could likely also use the table for lookup. Test Plan: - `yarn test` - Confirm voice hints for routes with roundabouts and u-turns are unchanged. |
||
|---|---|---|
| .github/workflows | ||
| .husky | ||
| .tx | ||
| .vscode | ||
| css | ||
| js | ||
| layers | ||
| locales | ||
| resources | ||
| tests | ||
| .eslintignore | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| babel.config.js | ||
| CHANGELOG.md | ||
| config.template.js | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| gulpfile.js | ||
| index.html | ||
| INSTALL.md | ||
| keys.template.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| yarn.lock | ||
brouter-web
Web client (by @nrenner and contributors) for the BRouter routing engine (by @abrensch).
Instances:
- brouter.de/brouter-web (provided by @abrensch)
- brouter.damsy.net (provided by @bagage)
This repository is only about the frontend.
For the server/backend, BRouter routing engine, Android app, profiles, brouter.de site, see:
https://github.com/abrensch/brouter
More information:
https://brouter.de
Contact
General BRouter discussions/questions, support:
Translating
Translations are managed using the Transifex platform. After signing up, you can go to BRouter's project page, select a language and click Translate to start translating.
Installation
See INSTALL.md for guidance on installation.
Build
See CONTRIBUTING.md for development documentation.
License
Copyright (c) 2018 Norbert Renner and contributors, licensed under the MIT License (MIT)
Credits and Licenses
- BRouter (not included)
by abrensch; MIT License - Leaflet
Copyright (c) 2010-2014, Vladimir Agafonkin; Copyright (c) 2010-2011, CloudMade; 2-clause BSD License - leaflet-routing
Copyright (c) 2013, Turistforeningen, Hans Kristian Flaatten. All rights reserved. 2-clause BSD License - Leaflet.Elevation
Copyright (c) 2013 Felix Bache; MIT License - D3.js
Copyright (c) 2013, Michael Bostock. All rights reserved.; 3-clause BSD License - Leaflet.Editable
Yohan Boniface; WTFPL licence - Leaflet Control Geocoder
Copyright (c) 2012 sa3m, Copyright (c) 2013 Per Liedman; 2-clause BSD License - leaflet-plugins
Copyright (c) 2011-2012, Pavel Shramov; 2-clause BSD License - Async.js
Copyright (c) 2010-2014 Caolan McMahon; MIT License - Bootstrap
Copyright (c) 2011-2014 Twitter, Inc; MIT License - jQuery
Copyright 2005, 2014 jQuery Foundation and other contributors; MIT License - DataTables
Copyright (C) 2008-2014, SpryMedia Ltd.; MIT License - Leaflet.EasyButton
Copyright (C) 2014 Daniel Montague; MIT License - Bootbox
Copyright (C) 2011-2014 by Nick Payne; MIT License - bootstrap-slider
Copyright (c) 2015 Kyle Kemp, Rohit Kalkur, and contributors; MIT License - Leaflet.RestoreView
Copyright (c) 2012 Makina Corpus, MIT License - Leaflet.Locate
Copyright (c) 2014 Dominik Moritz, MIT License - Font Awesome
by Dave Gandy; SIL OFL 1.1 (Font), MIT License (Code), CC BY 3.0 (Documentation) - url-search-params
Copyright (C) 2015-2017 Andrea Giammarchi - @WebReflection; MIT License - bootstrap-select
Copyright (c) 2012-2018 SnapAppointments, LLC; MIT License - leaflet-sidebar-v2
Copyright (c) 2013 Tobias Bieniek; MIT License - CodeMirror
Copyright (C) 2017 by Marijn Haverbeke marijnh@gmail.com and others; MIT License - Map BBCode
Ilya Zverev; Do What The F*ck You Want To Public License - Leafet.StravaSegments
Copyright (c) 2018 Gautier Pelloux-Prayer; MIT License - polyline
Copyright (c), Development Seed; BSD 3-Clause License - leaflet-fullHash
Copyright (c) 2014 KoGor; MIT License - Turf.js
Copyright (c) 2019 Morgan Herlocker; MIT License - i18next, i18next-browser-languageDetector, i18next-xhr-backend, jquery-i18next
Copyright (c) 2017 i18next; MIT License - Leaflet TriangleMarker
Copyright (c) 2018 Przemysław Melnarowicz; MIT License - jsTree
Copyright (c) 2014 Ivan Bozhanov; MIT License - Leaflet.snogylop
Copyright (c) 2014 Eric Brelsford; MIT License - JOSM maps
imagery database is licensed under CC-BY-SA - LayersCollection
Copyright (c) 2016 Eduard <edward17>; MIT License - Leaflet-providers
Copyright (c) 2013 Leaflet Providers contributors All rights reserved.; 2-clause BSD License - Leaflet.FileLayer
Copyright (c) 2012 Makina Corpus; MIT License - togeojson
Copyright (c) 2016 Mapbox All rights reserved.; 2-clause BSD License - Leaflet.GeometryUtil
Copyright (c) 2013, Makina Corpus; BSD 3-Clause License - leaflet-distance-markers
Copyright (c) 2014- Doroszlai Attila, 2016- Phil Whitehurst; MIT License - Leaflet.hotline
Copyright (c) 2015, iosphere GmbH, Jonas Coch; 3-clause BSD License - Babel
Copyright (c) 2014-present Sebastian McKenzie and other contributors; MIT License - core-js
Copyright (c) 2014-2021 Denis Pushkarev; MIT License - regenerator-runtime
Copyright (c) 2014-present, Facebook, Inc.; MIT License - tokml
Copyright (c) 2015, Mapbox All rights reserved; BSD-2-Clause License - Jest
Copyright (c) Facebook, Inc. and its affiliates; MIT License - overpass-layer Copyright (c) 2020 Stephan Bösch-Plepelits; MIT License
- maki CC0-1.0 License
- temaki CC0-1.0 License
- leaflet-osm-notes The Unlicense
- Fetch polyfill
Copyright (c) 2014-2016 GitHub, Inc.; MIT License - qrcodejs Copyright (c) 2012 davidshimjs The MIT License
- Bootstrap Icons Copyright (c) 2019-2023 The Bootstrap Authors The MIT License
