|
14 | 14 | - [Motivation](#motivation) |
15 | 15 | - [Features](#features) |
16 | 16 | - [Installation](#installation) |
| 17 | + - [Getting started with examples](#getting-started-with-examples) |
| 18 | + - [Read the documentation](#read-the-documentation) |
| 19 | + - [Directory Structure](#directory-structure) |
17 | 20 | - [Data folder description](#data-folder-description) |
18 | 21 | - [Contributing](#contributing) |
19 | 22 | - [License](#license) |
@@ -50,16 +53,16 @@ The tool was developed in Python and it is able to analyze the last mile routing |
50 | 53 | - Node degree |
51 | 54 | - Polar plots of street orientation |
52 | 55 |
|
53 | | - |
54 | 56 | ## Installation |
55 | 57 |
|
56 | 58 | First you need to certify that you have [Python 3.9](https://www.python.org/downloads/release/python-380/) installed. |
57 | 59 |
|
58 | 60 | Then you can install the package using pip: |
59 | 61 |
|
60 | | -```bash |
| 62 | +```bash |
61 | 63 | pip install git+https://github.com/Gui-FernandesBR/Last-Mile-Routing-Analyzer/lmr_analyzer.git |
62 | | -``` |
| 64 | + |
| 65 | +``` |
63 | 66 |
|
64 | 67 | The package will automatically install the dependencies listed at [requirements.txt]() file. |
65 | 68 |
|
@@ -101,16 +104,16 @@ The repository is organized as follows: |
101 | 104 |
|
102 | 105 | The lmr_analyzer package is organized as follows: |
103 | 106 |
|
104 | | - __init__.py - Main module |
105 | | - amz_serializer.py - Amazon S3 data serializer |
106 | | - analysis.py - Analysis module, to analyze a set of routes |
107 | | - distance_matrix.py - Distance Matrix module |
108 | | - geometry.py - Handle with spatial information from shapefiles |
109 | | - package.py - Store package information |
110 | | - route.py - Store route information |
111 | | - stop.py - Store stop information |
112 | | - utils.py - Utilities module to be used on other modules |
113 | | - vehicle.py - Store vehicle information |
| 107 | + `__init__.py` - Main module |
| 108 | + amz_serializer.py - Amazon S3 data serializer |
| 109 | + analysis.py - Analysis module, to analyze a set of routes |
| 110 | + distance_matrix.py - Distance Matrix module |
| 111 | + geometry.py - Handle with spatial information from shapefiles |
| 112 | + package.py - Store package information |
| 113 | + route.py - Store route information |
| 114 | + stop.py - Store stop information |
| 115 | + utils.py - Utilities module to be used on other modules |
| 116 | + vehicle.py - Store vehicle information |
114 | 117 |
|
115 | 118 | The architecture of the package is represented by the following diagram: |
116 | 119 |
|
@@ -160,13 +163,27 @@ classDiagram |
160 | 163 |
|
161 | 164 | Due to the large amount of information, the data folder can be a bit confusing, so here is a brief description of what each folder contains: |
162 | 165 |
|
163 | | -* data/driving_distances: |
164 | | - * A set of csv files containing the driving distances between some pairs of points in the dataset. The files are named as follows: `driving_distances_{dataset_name}.csv`. The dataset name is the same as the name of the folder containing the dataset. |
165 | | -* data/shapefiles: |
166 | | - * `los_angeles_majors`: Shapefile containing the major neighborhoods of Los Angeles. |
167 | | - * `los_angeles_minors`: Shapefile containing the minor neighborhoods of Los Angeles. |
168 | | - * `guarulhos_osm` : geospatial data describing boundaries of all neighborhoods of the Guarulhos city. source: _OpenStreetMap_ |
169 | | - * `urban_regions_Sao_Paulo`: geospatial data describing land use over state of Sao Paulo. source: unknown |
| 166 | +```bash |
| 167 | +data/ |
| 168 | +├── driving_distances/ - Driving distances to be used with Amazon dataset |
| 169 | +│ ├── austin.csv |
| 170 | +│ ├── boston.csv |
| 171 | +│ ├── ... |
| 172 | +│ └── seattle.csv |
| 173 | +├── results/ - Results from the examples |
| 174 | +│ ├── dataframes/ - all .csv or .txt files |
| 175 | +│ ├── graph_shapefile/ - gespatial data files |
| 176 | +│ ├── graphs/ - Report of the Graphs generated with the examples |
| 177 | +│ ├── pickles/ - Objects saved as pickle files |
| 178 | +│ └── polar_plots/ - Polar plots generated with the examples |
| 179 | +└── shapefiles/ - geospatial data files |
| 180 | + ├── austin/ - Neighborhoods of Austin county |
| 181 | + ├── los_angeles_minors/ - Neighborhoods of Los Angeles county |
| 182 | + ├── guarulhos_osm/ - Neighborhoods of Guarulhos city |
| 183 | + ├── ... |
| 184 | + └── urban_regions_Sao_Paulo/ - Urban regions of Sao Paulo state |
| 185 | + |
| 186 | +``` |
170 | 187 |
|
171 | 188 | ## Contributing |
172 | 189 |
|
|
0 commit comments