Skip to main content

An open-source academic research tool for visualizing multimodal networks for transportation system modeling and optimization

Project description

Plot4GMNS: An open-source academic research tool for visualizing multimodal networks for transportation system modeling and optimization

Authors: Dr. Junhua Chen, Zanyang Cui



To enable rapid transportation modeling and optimization, as railroad management researchers, we provide this free open-source tool for visualizing multimodal networks. Based on GMNS data format by Zepha foundation, plot4gmns is designed for reading and plotting multimodal data sets including transportation network files, demand and agent trace files.


  • pandas
  • shapely
  • matplotlib<=3.3.0
  • numpy
  • seaborn
  • scipy
  • chardet


pip install plot4gmns


  • For Windows users, the pip method might fail to install some dependencies. If errors occur when you try to install any of those dependencies, try instead to pip install their .whl files, which can be downloaded from the Unoffical Windows Binaries for Python Extension Packages.

Simple Example

>>>import plot4gmns as pg

"""Step 1: Reading network files"""

"""Step 2: Visualizing network of different modes"""
# show all modes network
# show auto mode network

all modes network

auto mode network

"""Step 3: Visualizing network by node attributes"""
# show network by node ‘ctrl_type’ for 1 as signalized intersection

"""Step 4: Visualizing network by link attributes"""
# show network by given link type names

"""Step 5: Visualizing network by POI attributes"""
# show network by given POI building types

"""Step 6: Visualizing network by zone attributes"""
# show network by zone demand traces

"""Step 7: Visualizing network by agent traces"""

User guide

Users can check the user guide for detialed introduction of plot4gmns.

Project details

Download files

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

Source Distribution

plot4gmns-0.0.9.tar.gz (18.9 kB view hashes)

Uploaded source

Built Distribution

plot4gmns-0.0.9-py3-none-any.whl (18.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page