Manuel Claeys Bouuaert
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: "Brussels Cycling Potential: let’s use Open Data to find out which streets are under- or over-used by cyclists!" type: slide slideOptions: theme: white --- ## Brussels Cycling Potential **Let’s use Open Data to find out which streets are under- or over-used by cyclists** Manuel Claeys Bouuaert Thursday 17 November 2022 FOSS4G / State of the Map Brussels, Belgium <aside class="notes"> 25 min talk (including questions) on 2022-11-17 @ FOSS4GBE Talk in NL, slides in EN TODO: - Spell check </aside> --- I’m cycling through Brussels and wondering… <aside class="notes"> I’m biking in Brussels Navigate with maps and mind Favourite streets, shortcuts, main lines => Mental map </aside> --- *Is my mental map any good?* *What would a map of generally useful streets look like?* *Do people know and use the useful streets?* <aside class="notes"> Other people? Global main lines? Are they used? </aside> --- There’s Open Data on this! ![](https://i.imgur.com/Y2KVcG7.png) > Adopted by Open Knowledge Belgium <aside class="notes"> "Citizens collecting cycling data to make cities more bike-friendly." Connect Strava, Fitbit or GPS, and upload your GPX Matched to road network, aggregated, anonymised, served as Open Data for planners, researchers, … Data: Bicycle counts, Origin Destination trees per edge Data for Brussels, later world A little dormant now </aside> --- ## What’s the question? How does actual and predicted cycling compare for each street > In other words: are bikers taking the shortest, or unexpected routes? <aside class="notes"> Could closer inspection learn us which shortcuts or detours are popular or under-used? </aside> --- ## What’s the plan? - Draw the actual trips from Open Data - Compute and draw predicted trips through each street - Compare both <aside class="notes"> Count the number of trips on each street Predicted trips by shortest path between all pairs of nodes Hope to show you how QGIS shines at this, and Open Data becomes useful. </aside> --- ## QGIS features that make this possible <aside class="notes"> Detailed recipe includes uninteresting details: projections, clipping Brussels region, merging counts in both directions, … Graph: streets = edges, crossings = nodes Key features of QGIS that make this possible </aside> --- ## 1) Computing all shortest paths ‘Betweenness Centrality’ from the GRASS tools! Implemented as `v.net.centrality` ![](https://i.imgur.com/Amg7MQO.png) <aside class="notes"> Predicted trips by drawing the shortest path between all pairs of nodes. ‘Betweenness Centrality’ from the GRASS tools Implemented as `v.net.centrality` Together with other centrality measures </aside> --- ## 2) Extracting vertices from the network `Extract Specific Vertices` in Processing Toolbox <aside class="notes"> Betweenness: Implemented for vertices. So work with vertices and transfer findings to edges later on. `Extract Vertices` in Vector Geometry Tools Don’t need all intermediate vertices in bended roads `Extract Specific Vertices` in Processing Toolbox Specify the vertex indices, and we’ll use `0, -1` to indicate the first and last vertex of a line. Compute the betweenness centrality `length` column as edge traversal cost. 140 000 vertices and 70 000 edges. 20 minutes. </aside> --- ![](https://i.imgur.com/6BxZPHo.jpg) --- ![](https://i.imgur.com/YX0kJoG.png) --- ![](https://i.imgur.com/LLamN13.jpg) --- ![](https://i.imgur.com/EUNHLZ7.png) --- ![](https://i.imgur.com/EBqZh4T.png) --- ## 3) Data geo-juggling Smooth results to account for nearby parallel roads. Then bring predicted trip count from nodes to (touching) edges. Using `Join attributes by location (summary)`, twice <aside class="notes"> Difficult to handle close parallel streets. Average out over 60 meters (width of ring road) `Join attributes by location (summary)` with `max` to give each node the value of most popular node within 60 meters. Again `Join attributes by location (summary)` to join these node values to the edges that touch the nodes (now with `min`) </aside> --- ![](https://i.imgur.com/j7oXhJz.png) --- ![](https://i.imgur.com/fBUx400.png) --- ## 4) Making data comparable using virtual field Using a virtual field (It's fast and light-weight) <aside class="notes"> Put both counts on same scale Inspect values in histograms Cap off to high counts (10000000 for predicted, 100 for actual) New virtual field with formula: values from -1 to 1 </aside> --- ![](https://i.imgur.com/18ODmvH.png) --- ![](https://i.imgur.com/GcZuQLN.jpg) --- ## Time to put it on the web The `mbtiles` format is useful here. Had to make them custom, using the FOSS tool `tippecanoe`. <aside class="notes"> Webmap, so `geojson` > `mbtiles`. Generate with tippecanoe to have more zoom-levels (not QGIS?) </aside> --- ![](https://i.imgur.com/c20AiTu.jpg) [link](https://manuelclaeysbouuaert.be/bikedataproject_centrality_webmap/) --- ## What we find - Actual trips seem quite recreational - Predicted trips include long straight roads and clever connections - Comparison shows a.o. that chaussée/steenwegen are under-used <aside class="notes"> - Popular cycling tracks: canal, parks, forest. Big lanes in the East - Local and regional official cycling itineraries don’t show. - Notable predicted: lines, connections, ‘tunnels’. Not small ring! - East-West passage through the city center - Some big lanes are underused. The most notable is Nijvel. Indeed: no counts. Less data in west, but even then! Bad road condition. - Unpopular shortcuts: from Bruxelles West to Ossegem. Keizer Karellaan-Avenue Charles-Quint. - Some over-used roads ~ individual contributions - More over-used in the East </aside> --- ## What do you see? --- ## Caveats - The data is sparse, recreational and from willing donors. - The algorithm computes the simplest shortest paths and ignores alternatives. <aside class="notes"> Donated tracks: - Recreational cycling (more then commuting) - Affluent cyclers, more data in from richer part of town Relatively low number of counts: lower signal to noise Basic shortest path: no elevation/steepness, straightness, track simplicity or intersection avoidance. Handling of second-best options: not done by betweenness centrality algorithm, ad-hoc solutions with max-min </aside> --- ## How might we take this further? <aside class="notes"> - Overlay with (local and) regional cycling infrastructure - Compare BikeData and cycling infrastructure / road conditions - Use by city officials and traffic managers: special care to under-used </aside> ---

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully