Giter Club home page Giter Club logo

traffic-major-minor's People

Contributors

mem48 avatar unbrother avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mem48

traffic-major-minor's Issues

AADT of closest major road

I have managed to create some of the variables except for the aadt of closest major road, mentioned in the original methodology. I know there this would be something similar to what was done in the original code shared with me by @mem48 but can't find the correct steps to do it.
@Robinlovelace

Urban and rural classification

The original model based the classification of roads as urban or rural from the settlement Ordnance Survey Meridian 2, the paper does not mention how (I assume it can be reverse-engineered from the .sql files), but I am not sure on how to do this with R. I can't find the Meridian 2 files online but from the Strategi files, I found there's a layer named urban_region, which I could intersect with roads. I know this process would be very similar to the one that assigns AADT to roads but I'm unsure on how to do it.

@mem48
@Robinlovelace

OSM maxspeed

In osm the maxspeed tag is in kph so 60 means 60 kph while 60 mph means 60 mph. But in the UK people sometime forget this and miss the mph.

Two issues from this:

  1. You should clean the tags by adding mph so that dodgr treats them correctly

  2. In the UK roads are 60 mph unless otherwise specified. This means that there are narrow windy country roads that are 60 mph legally but are practically more like 30 - 40 mph. If you can think of an easy way to detect these and lower the maxspeed it might improve results. But this is low priority at the moment.

Road importance

The road importance part of the postGRE code first makes subdivisions enclosed by the major roads. I am not sure how to do this in R, I believe I would just need to draw a polygon between those lines but do not know how to make R select the enclosed areas.
After that they made something different for roads outside of these areas, which they name coastal roads. I have not checked this in full but I am sure it will be a challenge for me.

Until now, I used dodgr with weight_streetnet() to get some kind of relative weighting and I was considering that as the road importance. But this is not the process originally used.

@mem48 and @Robinlovelace, do you have any pointers or ideas on how to attack this part?

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.