This open-source package is a tool to convert utdf file to GMNS format.
Project description
utdf2gmns: Introduction
This open-source package is a tool to convert utdf file to GMNS format.
Required Data Input Files:
- UTDF.csv
- node.csv (GMNS format)
- movement.csv (GMNS format)
Produced outputs
If input folder have UTDF.csv only, outputs are:
- A dictionary store utdf data with keys: Networks, Node, Links, Timeplans, Lanes, and utdf_intersection_geo
- A file named utdf2gmns.pickle to store dictionary object.
If input folder have extra node.csv and movement.csv, outputs are:
- Two files named movement_utdf.csv and intersection_utdf.csv
- A file named utdf2gmns.pickle to store dictionary object.
Package dependency:
- geocoder==1.38.1
- numpy==1.23.3
- openpyxl==3.0.10
- pandas==1.4.4
Data Conversion Steps:
- Step 1: Read UTDF.csv file and perform geocoding, then produce utdf_geo, utdf_lane, and utdf_phase_timeplans.
- Step 2: Match four files (utdf_geo, node, utdf_lane, utdf_pahse_timeplans, movement) to produce movement_utdf
TODO LIST
-
Print out how many intersections being geocoded.
-
Print out how many movements being matched or not matched for signalized intersecton nodes in osm2gmns files.
-
Add cycle length and green time for each movement.
-
Check reasonable capacity.
-
Check each movement is reasonable (like 15s of green time...). other attributes.
-
Check number of lanes correctness between osm2gmns file and synchro file per movements.
-
Print out check log.
-
Number of lanes of the movements from synchro file.
-
Add signal info to micre-link.csv
-
Add function to verify whether geocoded for utdf_geo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for UTDF2GMNS-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ed43a5c044b8e8353557f6e5c99dca3b60ed73b9f3844db71831070d27ac01a |
|
MD5 | ee15af68adb72cd561dafaac61eb14cb |
|
BLAKE2b-256 | aa90f0c91f59e5d7e51016943b874f40673dc53a0cdb914433aa59deda1ab2b1 |