Modal Split Analysis
Requirements: Network, Events, Optionally: Shapefile with zones. Aggregation plugin.
Data preparation
- Add the network file, events file, and if you have the zones shapefile, to Via.
- Create the following layers:
- Network
- Agents (from Events)
- Vehicles (from Events)
- Create an OD Aggregation layer and open its settings dialog.
- If you added a Shapes file with zones, select it in the
Aggregation Zones
section. - Switch to the
Attributes
section and edit the defaultCounts
attribute to use theTrips
data source.
- Create an additional aggregation attribute, name it
carShare
, use theTrips
data source and set it to calculate the aggregation asShare
, withTrip Mode
containingcar
.
- Create an additional aggregation attribute, name it
ptShare
, use theTrips
data source and set it to calculate the aggregation asShare
, withTrip Mode
containingpt
.
- Click on
OK
to calculate the attributes.
Visualization
- Open the settings dialog of the Aggregation Layer.
- Switch to the
Zones
section and set the color to use an attribute mapping on the attributecarShare (out)
with a color ramp between0.0
and1.0
.
ThecarShare (out)
describes the outgoing-value of the OD-aggregation for each zone. As we usedTrips
as data source, this describes the number of trips starting in each zone, as each trip is an OD relation between two zones. - Switch to the
Labels
section and enable theShow Labels
option. Add two parts to the label text, showing thecarShare (out)
andptShare (out)
as attributes and add matching prefixes before them. - Close the settings dialog by clicking on
OK
. This should result in a visualization similar to the one shown below, where the zones color represent the car-share, and a label showing the values of car- and pt-share.
Since Via 20.3, it’s also possible to visualize the shares as small charts within the zones, e.g. small pie charts.
Alternative Visualization
- Open the settings dialog of the Aggregation Layer.
- Disable the display of zones by unchecking the
Show Zones
checkbox in theZones
section. - Switch to the
Symbol
section and check theShow Symbols
checkbox. - Set the color of the symbol to use an attribute mapping, choose the attribute
ptShare (out)
and set a color ramp between the values0.0
and1.0
.
- Set the size of the symbol to use an attribute mapping, choose the attribute
Counts (out)
and set sizes for0.0
and some upper bound.
- Set the label in the
Labels
section to show the value ofptShare (out)
and chose the positionMiddle-Center
. - Close the settings dialog by clicking on
OK
. You should now have a visualization similar to the one below, where the color of the symbol reflects the modal share of pt, and the size of the symbol reflects to total number of trips starting in each zone. In addition, the pt-share will also be shown as label on top of the symbol.