-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display statistics of street surface #45
Comments
I agree tag statictics would be useful, and it has been requested before. OpenRouteService has just added this recently. The frontend is open source and also MIT licensed, so maybe the code could be shared or extracted into a plugin. A vertical bar chart instead of such a line chart might be more intuitive, but also would consume more screen space. We had tags in separate columns before, but that leads to a big, unhandy table with lots of emtpy cells, and I'm a bit reluctant to seperating out specific columns. So I would rather integrate some kind of chart, but probably not for the upcoming version. Related feature request: #19. edit:
|
I just browsed the OpenRouteService sources. I'm not sure whether it is helpful to post this here (delete my post if not), but the relevant functions seem to be the following in ui.js:
|
I would also find this very useful! What about displaying it like (paper) bike maps usually do, that is by using a dotted line instead of a plain one for unpaved sections? |
Komoot does this as well, see bottom of the detail page: https://www.komoot.de/tour/15218919 |
I've implemented this feature for my BRouter-Web instance at https://brouter.m11n.de/ There's a new “Analysis” tab in the sidebar with tables for way type, surface, and smoothness, showing the distances for each type. Track segments on the map are highlighted on hover/click. It's not ready for a pull-request yet, because of some code duplication (I copied some methods from Example screenshot: |
Will be an eagerly awaited addition, looking forward to your PR! |
Looks cool!
However it didn't sort the table for the distances on each surface when I tried it. See screenshot.
Thanks so much for your work!
Am 24. Mai 2020 18:22:00 MESZ schrieb Marcus Jaschen <[email protected]>:
…I've implemented this feature for my BRouter-Web instance at
https://brouter.m11n.de/>
>
There's a new “Analysis” tab in the sidebar with tables for way type,
surface, and smoothness, showing the distances for each type. Track
segments on the map are highlighted on hover/click.>
>
It's not ready for a pull-request yet, because of some code duplication
(I copied some methods from `TrackMessages.js`) and I'd like to
refactor things first.>
>
Example screenshot:>
>
>
>
-- >
You are receiving this because you authored the thread.>
Reply to this email directly or view it on GitHub:>
#45 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
A refactoring is in progress: the tables will be rendered using the datatable functionality as seen in the “Data” tab - that'll enable sorting among other things. |
Pull Request #304 brings this feature to BRouter-Web :-) |
First of all, thank you for the great software you have written.
Other web-based routing tools (komoot, openrouteservice) display the amount of unpaved, cobbled, etc percentage of a route. This is a great way of telling how much energy one will need to cycle a planned route beforehand. The mentioned tools also give statistics of how much cycle path the route uses which is obviously an important measure.
I propose to create separate columns in the csv file for the surface and path type, so this statistics is easily generated using excel. If it could be directly integrated into the web-interface, it would be even better.
The text was updated successfully, but these errors were encountered: