normalize the stations table for lyon and bordeaux
garaud opened this issue · comments
Damien Garaud commented
- get the same table name for the list of all stations (with geom)
- the name of the columns
This can avoid to have a different table name and different column for station id for instance.
This function controller.station_city_table
should be deleted.
Raphael Delhome commented
This issue is strongly related to issue #5 .
Damien Garaud commented
I think it's two different things:
- a db normalization with two tables in
lyon
andbordeaux
schema with the same structure - code factorization in several luigi tasks
Raphael Delhome commented
Ok, I understand your point.
Anyway it participates to the same move: we should normalize the lyon and bordeaux assets...
Raphael Delhome commented
Proposition of a common stations
table structure:
id
: ID of the stationname
: name of the stationaddress
: address of the stationcity
: city where the station is located innb_terminal
: number of bike terminal (bikes + available stands)geom
: geometry (for Postgis treatment)
These features are common to our first two city examples (e.g.
Bordeaux and Lyon), and I am not sure that other features are relevant in our use case.
Damien Garaud commented
Agreed. I just would have replaced nb_terminal
by stations
or stations_num