utdf2gmns.UTDF2GMNS
- class utdf2gmns.UTDF2GMNS(utdf_filename: str, region_name: str = '', *, verbose: bool = False)[source]
UTDF2GMNS performs the data conversion from UTDF to different formats. The class includes functions such as:
geocode_utdf_intersections: geocode intersections
create_signal_control: signalize intersections
create_gmns_links: create network from UTDF data by combining Nodes, Links, Lanes, and Phases
utdf_to_gmns: convert UTDF data to GMNS data and save to the output directory
utdf_to_sumo: convert UTDF data to SUMO data and save to the output directory
and more…
- __init__(utdf_filename: str, region_name: str = '', *, verbose: bool = False)[source]
Initialize UTDF2GMNS class with UTDF file and region name
- Parameters:
utdf_filename (str) – the path to the UTDF file.
region_name (str) – the metropolitan region/place the utdf file represent. Defaults to “”.
verbose (bool) – whether to printout processing message. Defaults to False.
Methods
__init__(utdf_filename[, region_name, verbose])Initialize UTDF2GMNS class with UTDF file and region name
create_gmns_links(*[, default_width, ...])Create network from UTDF data by combining Nodes, Links, Lanes, and Phases
create_signal_control()Signalize intersections 1.
geocode_utdf_intersections(*[, ...])Geocode intersections Firstly, geocode one intersection from given single intersection coordinate.
utdf_to_gmns(*[, output_dir, incl_utdf, ...])Convert UTDF data to GMNS data and save to the output directory
utdf_to_gmns_signal_ints(*[, output_dir])Empower Sigma-X engine to generate each signal intersection with visualization
utdf_to_sumo(*[, output_dir, sim_name, ...])Convert UTDF to SUMO and save networks to the output directory