Skip to main content

vissim2gmns converts VISSIM files (.inpx, .fzp, .fhz) into GMNS format with WGS 1984 coordinates for easy GIS visualization and analysis.

Project description

vissim2gmns

vissim2gmns converts VISSIM files (.inpx, .fzp, .fhz) into GMNS format with WGS 1984 coordinates for easy GIS visualization and analysis.

Specifically:

  1. convert .inpx to csv/geojson/shp files
  2. convert .fzp file to csv/geojson/shp files
  3. convert .fhz file to .csv file.

[!Warning]

We have deprecated the development of vissim2geojson and the latest update have move to vissim2gmns

Background Knowledge Before Use This Tool

  1. Vissim Simulation

    This tool is to conver files geneated by PTV Vissim.

    You will get the layer file (.inpx):

    the .inpx can only open by PTV Vissim and you can use this tool to convert layer file to wgs1984 so that you can open the layer using different platform (QGIS, Kepler.gl, ArcMap...)

    You will get simulation results (such as .fzp and .fhz, these files can open by PTV Vissim but not other platforms). You can use this tool to convert .fzp file to .geojson and .csv, .fhz file to .geojson and .csv, and then perform analysis based on the simulation results.

How to use the tool

  1. install from pypi

    pip install vissim2gmns

  2. use case

    Sample user case at intersection 1655249626589

    import  vissim2gmns as vg
    
    if__name__=="main":
    
        input_folder ="./datasets/one_intersection/"  # make sure your .inpx or fhz, fzp files are in your input_folder
    
        vissim = vg.VISSIM2GMNS(input_folder)
    
        # This will save output files inside your input_folder (geojson files will be generated in default)
        vissim.vissim_to_gmns()
    
        # You can decide which files to save: csv, geojson and shp
    
        isCsv = False  # defalut to False, you can change to True to save csv file
        isGeojsion = True  # default to True, you can change to False not to save the file
        isShp = False  # default to False, you can chagne to True to save  ESRI shp file
        vissim.vissim_to_gmns(isCsv=isCsv, isGeojson=isGeojson, isShp=isShp)
    

Enjoy it!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vissim2gmns-1.5.9-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file vissim2gmns-1.5.9-py3-none-any.whl.

File metadata

  • Download URL: vissim2gmns-1.5.9-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for vissim2gmns-1.5.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c6fe3e8c20ce49c4115f9f5ab66213b4d8939ca934a568930726520303fa7618
MD5 2fd9c8c66552e38e6ea761eabd212a3b
BLAKE2b-256 2b9629133a133ef1d3af47399f993c8c0f9b9080d58022874888476b45e39e2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page