-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
111 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
...e/modeling_with_aequilibrae/1-aequilibrae_project/transit_database/datamodel.rst.template
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
29 changes: 29 additions & 0 deletions
29
...ibrae/aequilibrae_project/project_database/data_model/transit_graph_configs.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
*transit_graph_configs* table structure | ||
--------------------------------------- | ||
|
||
The *transit_graph_configs* table holds configuration parameters for a TransitGraph of a particular `period_id` | ||
Attributes follow | ||
|
||
.. csv-table:: | ||
:header: "Field", "Type", "NULL allowed", "Default Value" | ||
:widths: 30, 20, 20, 20 | ||
|
||
period_id*,INTEGER,NO, | ||
config,TEXT,YES, | ||
|
||
|
||
(* - Primary key) | ||
|
||
|
||
|
||
The SQL statement for table and index creation is below. | ||
|
||
|
||
:: | ||
|
||
CREATE TABLE if not exists transit_graph_configs (period_id INTEGER UNIQUE NOT NULL PRIMARY KEY REFERENCES periods(period_id), | ||
config TEXT); | ||
INSERT INTO 'attributes_documentation' (name_table, attribute, description) VALUES('transit_graph_configs','period_id', 'The period this config is associated with.'); | ||
INSERT INTO 'attributes_documentation' (name_table, attribute, description) VALUES('transit_graph_configs','mode_id', 'JSON string containing the configuration parameters.'); |
46 changes: 46 additions & 0 deletions
46
...ling_with_aequilibrae/aequilibrae_project/project_database/data_model/zones.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
*zones* table structure | ||
----------------------- | ||
|
||
The *zones* table holds information on the Traffic Analysis Zones (TAZs) | ||
in AequilibraE's model. | ||
|
||
The **zone_id** field identifies the zone. | ||
|
||
The **area** field corresponds to the area of the zone in **km2**. | ||
TAZs' area is automatically updated by triggers. | ||
|
||
The **name** fields allows one to identity the zone using a name | ||
or any other description. | ||
|
||
.. csv-table:: | ||
:header: "Field", "Type", "NULL allowed", "Default Value" | ||
:widths: 30, 20, 20, 20 | ||
|
||
ogc_fid*,INTEGER,YES, | ||
zone_id,INTEGER,NO, | ||
area,NUMERIC,YES, | ||
name,TEXT,YES, | ||
geometry,MULTIPOLYGON,NO,'' | ||
|
||
|
||
(* - Primary key) | ||
|
||
|
||
|
||
The SQL statement for table and index creation is below. | ||
|
||
|
||
:: | ||
|
||
CREATE TABLE 'zones' (ogc_fid INTEGER PRIMARY KEY, | ||
zone_id INTEGER UNIQUE NOT NULL, | ||
area NUMERIC, | ||
"name" TEXT); | ||
SELECT AddGeometryColumn( 'zones', 'geometry', 4326, 'MULTIPOLYGON', 'XY', 1); | ||
CREATE UNIQUE INDEX idx_zone ON zones (zone_id); | ||
SELECT CreateSpatialIndex( 'zones' , 'geometry' ); | ||
INSERT INTO 'attributes_documentation' (name_table, attribute, description) VALUES('zones','zone_id', 'Unique node ID'); | ||
INSERT INTO 'attributes_documentation' (name_table, attribute, description) VALUES('zones','area', 'Area of the zone in km2'); | ||
INSERT INTO 'attributes_documentation' (name_table, attribute, description) VALUES('zones','name', 'Name of the zone, if any'); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters