vissim2gmns.VISSIM2GMNS
- class vissim2gmns.VISSIM2GMNS(input_dir: str, *, x_col_name: str = 'POS', y_col_name: str = 'POSLAT')[source]
A tool to convert vissim files to geojson and csv.
Specifically:
convert .inpx file to geopandas dataframe and csv/geojson/shp file
convert .fzp file to geopandas dataframe and csv/geojson/shp file
convert .fhz file to csv file
- Parameters:
vissim_file_path (str) – the folder or file path to the vissim file
x_col_name (str) – the longitude column name in fzp file to convert fzp file to geojson. Defaults to “POS”.
y_col_name (str) – the latitude column name in fzp file to convert fzp file to geojson. Defaults to “POSLAT”.
- __init__(input_dir: str, *, x_col_name: str = 'POS', y_col_name: str = 'POSLAT')[source]
Initialize the VISSIM2GMNS class.
Methods
__init__(input_dir, *[, x_col_name, y_col_name])Initialize the VISSIM2GMNS class.
vissim_to_gmns(**kwargs)Convert vissim files to csv files in GMNS format.