Coder Social home page Coder Social logo

diamant's Introduction

diamant's People

Contributors

rinatz avatar tadashi-aikawa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

rinatz

diamant's Issues

stops2nodesテーブルの作成

  • stopsのmapping
    • stopsを距離が近しいもの同士グルーピングして紐付けする
    • グループから適切なnodesテーブルを作成

service_route_identity.tsvの対応

改正日などでデータを新しく作り直すとき、既に採番されたservice_routeを採用するため。

service_routeの IdentifyStrategy に必要な情報を service_route_identity.tsv に保持しておく。

IdentityStrategy から以下を削除。

  • RouteId,
  • RouteShortName,
  • RouteLongName,

これを認めると、異なるstop[]をもつtripを同一のservice_routeとして認めることになる。度同一の service_route は 異なるstop並びを持てないので矛盾が生じてしまう。

stop_name の順列は同じでも stop_id が異なるケースがあるので、その場合はidentityファイルで同一の service_route が複数レコードできる可能性あり。

nodesテーブルの作成

  • ウォーミングアップ

    • 親なしのstopsを取得
    • 先頭のstopから無造作にnodesテーブルを作成
  • stopsの束ね

    • stopsを距離が近しいもの同士グルーピングして紐付けする
    • グループから適切なnodesテーブルを作成

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.