Skip to content

Future-proof schema, to support other transport companies and cities #3

@roata

Description

@roata

The current data structures are tied to RTEC. What we need is to make it future-proof and extendable, such that we can cover other transport networks in Chișinău (PUA - parcul urban de autobuze and the minibuses) and other cities.

The new schema must:

  1. Be backwards compatible
  2. Accommodate other cities
  3. Accommodate other transport networks within the same city
  4. Maybe, be modularized - such that one could get and cache just the data they want, instead of downloading lots of unnecessary data

At the moment I am still inclined to use CSV files, but alternatives will be considered. The current proposal is to:

  1. Add 2 more columns to each routes.csv and vehicles.csv file: city_id, network_id
  2. Add 2 more CSV files: cities.csv, where Chișinău=1 :-) and transport-networks.csv, where RTEC=1
  3. Potentially, we could have several scripts that generate city-specific files, so the folks in other parts of Moldova could rely on those reduced data-sets, which will make their downloads a bit faster.

@iamandrewluca @PlugaruT, what do you think?

I would like to work on this during the weekend, so it would be great if you could share your thoughts until then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions