Giter Club home page Giter Club logo

Comments (11)

Robinlovelace avatar Robinlovelace commented on June 29, 2024 1

We have a prototype web tool, but it needs the updated data and scenario values in there, work in progress by @mpadge.

from who3.

Robinlovelace avatar Robinlovelace commented on June 29, 2024 1

Update: the latest data for Accra are up there now 🎉

https://atfutures.github.io/uta/

@mpadge could you update the minimum reproducible example dataset here to reflect the latest column names of the input data? I guess that may depend on #18 but great to see the approach to updating the data on the public facing instance hosted in Leeds works!

from who3.

mpadge avatar mpadge commented on June 29, 2024

here is the layer:
image

That's using your scenario with a 0.8% modal shift towards walking, with the resultant exposure scaled to total relative risk for increasing mortality under this scenario of 1.13 per year. I think that's the most sensible way to incorporate that. I'll get that uploaded and upthat'ed now ...

from who3.

Robinlovelace avatar Robinlovelace commented on June 29, 2024

Interesting that the high values seem to appear on a relatively small number of short road segments.

from who3.

mpadge avatar mpadge commented on June 29, 2024

yeah, i've run that for a few other random cities, and Accra seems to be quite unusual in that regard. Most of them yield fairly dispersed centres, but (1) Accra really is extraordinarily strongly defined by it's major road system; and (2) the trotro system is nothing but entirely integrated with that system, and so because most walking happens in relation to trotro use, then most walking by definition happens along those roads.

from who3.

mpadge avatar mpadge commented on June 29, 2024

@Robinlovelace This seems like the best place to ping this - please continue elsewhere if you think somewhere else might be better. But ... I just uploaded data for Bristol. There were a few bugs in the who-data code, but it now all just worked for me for Bristol as described in README, and generated the result that has now been uploaded. Two notes:

  1. There were some glitches with dodgr, which crashed a couple of times because of something odd with the bus network, but these were not repeatable, so I can't really work out what that might have been. Anyway, I just retried and all was good.
  2. The results are really just a very rough first go, and in particular clearly suffer from "edge effects". This means most areas of highest pedestrian activity are towards the edges, because people get off buses here and have effectively nowhere else to walk because they hit the boundary of the network. I remember this from previous attempts, and it's difficult to solve because we need a spatial definition of Bristol that is larger than this boundary, but there is none. I say plenty good enough as a proof-of-principle for tomorrow.

from who3.

Robinlovelace avatar Robinlovelace commented on June 29, 2024

Hi @mpadge I cannot see net-bristol.Rds in there - there is an updated Accra network by the looks of it though, see below:

 piggyback::pb_download()
downloading crashes-simulated-accra.Rds ...
  |==========================================================================================================================================| 100%
  |==========================================================================================================================================| 100%
downloading net-accra.Rds ...

from who3.

Robinlovelace avatar Robinlovelace commented on June 29, 2024

Correction: it's downloading now. Seems it does not auto download everything.

from who3.

mpadge avatar mpadge commented on June 29, 2024

I also just updated a considerably improved version - the pedestrian model is quite okay, but the vehicle and emissions layers still suffer from edge effects. Note that this pedestrian model is not realistic, just a proof of principle, but even then it seems quite okay - really emphasising walking behaviour around the uni.

from who3.

Robinlovelace avatar Robinlovelace commented on June 29, 2024

Just to clarify, are you still using this script to generate the layers?

city <- "Bristol" # or Accra
hw <- who3_network (city) # way network
bus <- who3_bus_network (city)
bus <- who3_bus_centrality (city)
cent <- who3_centrality (city) # time-based centrality for motorcars
b <- who3_buildings (city)
netf <- who3_flow (city) # calculate pedestrian flows from buses and activity centres

As mentioned I've not been able to reproduce the results for any city using this approach so far. But that's probably also off topic, just thought it worth mentioning/asking. Looking better each time but it's not clear what changes in the code are changing the results and that's an issue.

from who3.

mpadge avatar mpadge commented on June 29, 2024

Yes, that is precisely what i used that for Bristol, except there's the crucial final step that actually generates the "production" layers, which is:

netf <- who3_disperse_centrality (city, disperse_width = 200) 

As mentioned, i did encounter a couple of crashes and had to repeat a couple of steps before it all worked out of the box. I'll return to those down the track.

from who3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.