NetworkVisualiser¶
-
public class
NetworkVisualiser
¶ For visualising the road network.
Author: Milan Lovric
Methods¶
visualise¶
-
public static void
visualise
(RoadNetwork roadNetwork, String mapTitle)¶ Visualises the road network as loaded from the shapefiles.
Parameters: - roadNetwork – Road network.
- mapTitle – Map title for the window.
Throws: - IOException – if any.
visualise¶
-
public static void
visualise
(RoadNetwork roadNetwork, String mapTitle, Map<Integer, Double> linkData, String linkDataLabel, String shapefilePath)¶ Visualises the road network with dailyVolume.
Parameters: - roadNetwork – Road network.
- mapTitle – Map title for the window.
- linkData – Data used to classify and colour road links.
- linkDataLabel – Label describing the link data used.
- shapefilePath – The path to the shapefile into which data will be stored.
Throws: - IOException – if any.
visualise¶
-
public static void
visualise
(RoadNetwork roadNetwork, String mapTitle, Map<Integer, Double> linkData, String linkDataLabel, String shapefilePath, URL congestionChargeZoneUrl)¶ Visualises the road network with dailyVolume.
Parameters: - roadNetwork – Road network.
- mapTitle – Map title for the window.
- linkData – Data used to classify and colour road links.
- linkDataLabel – Label describing the link data used.
- shapefilePath – The path to the shapefile into which data will be stored.
- congestionChargeZoneUrl – The path to the shapefile with the congestion charge zone boundary.
Throws: - IOException – if any.