odysseus.city_data_manager.city_data_source.geo_data_source package¶
Submodules¶
odysseus.city_data_manager.city_data_source.geo_data_source.austin_census_tracts module¶
- class AustinCensusTracts¶
Bases:
odysseus.city_data_manager.city_data_source.geo_data_source.geo_data_source.GeoDataSource
- load_raw()¶
Abstract method that opens the file describing the geometry of the city
- Returns
nothing
- normalise()¶
Abstract method that normalizes the data and stores the created shapefiles
- Returns
nothing
odysseus.city_data_manager.city_data_source.geo_data_source.calgary_hexagonal_grid module¶
- class CalgaryHexagonalGrid¶
Bases:
odysseus.city_data_manager.city_data_source.geo_data_source.geo_data_source.GeoDataSource
- load_raw()¶
Abstract method that opens the file describing the geometry of the city
- Returns
nothing
- normalise()¶
Abstract method that normalizes the data and stores the created shapefiles
- Returns
nothing
odysseus.city_data_manager.city_data_source.geo_data_source.chicago_census_tracts module¶
- class ChicagoCensusTracts¶
Bases:
odysseus.city_data_manager.city_data_source.geo_data_source.geo_data_source.GeoDataSource
- load_raw()¶
Abstract method that opens the file describing the geometry of the city
- Returns
nothing
- normalise()¶
Abstract method that normalizes the data and stores the created shapefiles
- Returns
nothing
odysseus.city_data_manager.city_data_source.geo_data_source.chicago_community_areas module¶
- class ChicagoCommunityAreas¶
Bases:
odysseus.city_data_manager.city_data_source.geo_data_source.geo_data_source.GeoDataSource
- load_raw()¶
Abstract method that opens the file describing the geometry of the city
- Returns
nothing
- normalise()¶
Abstract method that normalizes the data and stores the created shapefiles
- Returns
nothing
odysseus.city_data_manager.city_data_source.geo_data_source.geo_data_source module¶
- class GeoDataSource(city_id, data_source_id)¶
Bases:
object
This abstract class is used only for data sources that represent the place of departure and arrival without GPS coordinates. For example, the Minneapolis-related data they contain are stored in reference to the Centerline MPLS system. In order to correctly interpret these data we use this class that normalizes them and stores them in a shapefile
- Parameters
city_id (str) – City name. The name also serves to determine the timezone to which the city belongs
data_source_id (str) – Data source from which the information is taken. This allows us to have multiple data sources associated with the same city (for example from different operators)
- load_raw()¶
Abstract method that opens the file describing the geometry of the city
- Returns
nothing
- normalise()¶
Abstract method that normalizes the data and stores the created shapefiles
- Returns
nothing
odysseus.city_data_manager.city_data_source.geo_data_source.minneapolis_centerlines module¶
- class MinneapolisCenterlines¶
Bases:
odysseus.city_data_manager.city_data_source.geo_data_source.geo_data_source.GeoDataSource
- load_raw()¶
Abstract method that opens the file describing the geometry of the city
- Returns
nothing
- normalise()¶
Abstract method that normalizes the data and stores the created shapefiles
- Returns
nothing
odysseus.city_data_manager.city_data_source.geo_data_source.minneapolis_trails_bikes module¶
- class MinneapolisTrailsBikes¶
Bases:
odysseus.city_data_manager.city_data_source.geo_data_source.geo_data_source.GeoDataSource
- load_raw()¶
Abstract method that opens the file describing the geometry of the city
- Returns
nothing
- normalise()¶
Abstract method that normalizes the data and stores the created shapefiles
- Returns
nothing
odysseus.city_data_manager.city_data_source.geo_data_source.norfolk_census_tracts module¶
- class NorfolkCensusTracts¶
Bases:
odysseus.city_data_manager.city_data_source.geo_data_source.geo_data_source.GeoDataSource
- load_raw()¶
Abstract method that opens the file describing the geometry of the city
- Returns
nothing
- normalise()¶
Abstract method that normalizes the data and stores the created shapefiles
- Returns
nothing