Giter VIP home page Giter VIP logo

osmnxprojectdemo's Introduction

OsmnxProjectDemo

复杂网络与社会网络分析大作业


 利用python的开源第三方库Osmnx,结合旧金山的出租车轨迹数据集和旧金山的drive道路网络,进行了一些分析,并将结果可视化出来

  • 注意:第一次运行此代码时,请将程序中的代码注释去掉  

  • 出租车的轨迹数据集保存在cabspottingdata文件夹中

  • cabspottingdata文件夹中的每一个txt文件(除去一个记录了所有车的编号的txt文件)表示一辆车一段时间的轨迹,txt文件名即为车辆的唯一标记编号,txt文件里面的每一行数据的各个列分别表示为:纬度 | 经度 | 是否载客("0"表示空车状态,"1"表示载客状态) | 时间戳

  • data文件夹中是我运行程序之后从OpenStreetMap上面下载的旧金山的道路网络以及进行投影之后的道路网络,需要请自行下载使用

  • image文件夹是我运行程序之后保存的部分的矢量图(.svg),需要请自行下载

  • 程序运行环境:本程序采用python 3编写,所用的IDE为Jupyter Notebook。故运行此程序建议安装Anaconda 3 (当然,pycharm也是ok的,不过不如Anaconda方便),Anaconda集成了Jupyter Notebook和相关的科学计算的包,另外,此程序正确运行需要安装Osmnx和它的依赖库。推荐使用conda安装(不建议用pip进行安装)

osmnxprojectdemo's People

Contributors

difcreate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.