Git Product home page Git Product logo

phone_singnal's Introduction

青岛手机信令数据生成器

简介:

程序采用Python语言进行编写开发,用来生成手机信令数据的数据生成器。主要用到defineloggeneratordbhandlerconfig几个功能模块。

数据类型

  • 1 数据概况
  • 2 人口密度
  • 2.1 人口动态分布
  • 2.2 平均人口动态分布
  • 2.3 分时段人口动态分布
  • 2.4 分时段平均人口动态分布
  • 2.5 人口+岗位密度分布
  • 3 出行分布
  • 3.1 日出行OD(总量)
  • 3.2 日出行OD(分方向)
  • 3.3 时段出行OD
  • 4 ͨ通勤出行
  • 4.1 工作居住地分布(工作总量)
  • 4.2 工作居住地分布(工作密度)
  • 4.3 工作居住地分布(居住总量)
  • 4.4 工作居住地分布(居住密度)
  • 4.5 职住比
  • 4.6 非工作人口分布(总量)
  • 4.7 非工作人口分布(密度)
  • 5 外来人口
  • 5.1 外来人口分布(总量)
  • 5.2 外来人口分布(密度)
  • 5.3 外来人口来源地(city)
  • 5.4 外来人口来源地(region)
  • 6 轨道交通
  • 6.1 1公里范围人口数量
  • 6.2 1公里范围岗位数量
  • 6.3 吸引范围
  • 7 区域面积

包:

  • import inspect
  • import logging
  • import os
  • import sys
  • import pymssql
  • import yaml
  • import platform
  • from datetime import datetime
  • from logging.handlers import RotatingFileHandler

流程图:

   +------------+
    | Run server |
    +------------+
          |
          v
    +------------+
    | Query data |
    +------------+
          |
          v
    +------------+
    | Write data |
    +------------+
          |
          v
    +------------+
    | Stop server|
    +------------+

运行:

  • 1.安装python运行环境,安装百度即可。
  • 2.安装程序所用的三方包,详细包见上面功能包。
  • 3.修改config文件夹下面的config.yaml配置文件,包括数据的存放文件夹,以及数据库的账号,密码等连接信息,各种手机信令数据的相关配置。
  • 4.运行data_server.py文件。
  • 5.检查配置文件的设定的存放数据文件夹是否有源数据。

phone_singnal's People

Contributors

gis90 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.