Case Study Micro

Author

R Félix

You may use an intersection file already prepared to be used with VISSIM, like this one:

This file is available at Fenix, for registered students.

Watch out that the CRS of this file may not be adjusted to the basemap!

Also, some adjustments to the network (such as the connectors) may be needed.

How did this file was converted from OpenStreetMap? 🧐

From OpenStreetMap to VISSIM

Requirements

This will require:

OpenStreetMap

Go to OpenStreetMap and zoom into your area.
Select Export and save the map.osm file.

You don’t need to open that file now.

OSM2VISSIM tool

  1. Go to the OSM2VISSIM tool Github page, and download this OSM2VISSIM_v0.1.py file.

  1. Create a folder (wherever you want) and put there this .py file and the .osm file exported before. Now copy your folder path!

  1. If you have OSGeo4W installed2, open the shell. It will look like this:

  1. Navigate to your created folder, using cd yourfolderpath
  2. Now, run python OSM2VISSIM_v0.1.py

  1. This will open a dialogue window where you are supposed to type your .osm file name.
    Mine is gago

  1. Press Set.

Don’t worry! Things are happening even if you don’t notice. Just be patient and wait.

This will create a new file, and open VISSIM automatically.

Note: If you go to the Network tab and don’t see anything, even after clicking on zoom to network button, close VISSIM, and close the Shell. This happened to me every first time.

  1. Repeat again the steps from 1 to 7.

This will open VISSIM automatically and now the shell will show things happening:


Wait until VISSIM it closes automatically - don’t click anything.

  1. You may now close the OSGeo4W shell.

A few more files were created now:

At VISSIM

Open the file name.inpx and close the Start Page.

At Network Editor panel, click Show entire network:

As you may note, your network is not exactly in place, when comparing to a basemap. 🥴

To adjust this, you may either move the basemap or the network.

First, with the distance tool, measure the distance of one reference point of the network to where it should be placed, in both X and Y directions.

Then Edit ⟶ Move Network

Repeat the process until the network intersection is centred with the intersection in the basemap.

Save your network file! 🎉

This process resulted in the abovementioned file.

No go on and adjust the details that require some attention.

Footnotes

  1. This installation already comes with all the required packages.↩︎

  2. You may do everything on the cmd (command line prompt terminal), but some errors may be output.↩︎