Visibility and Map Mode in layers
Technical Note #4
by Gabriel Funes
Layers in Aimsun help you to structure objects at different heights but they also have other very important properties such as the Visibility field and the Map Mode option.
Active layer in Map Mode
By default a layer is always visible (the ‘Visibility: Always’ option is activated) so all of the objects in the layer are always visible and always drawn by Aimsun in view. However, this can cause delays in editing and simulation for large-scale networks. You can significantly improve the Aimsun drawing tool’s performance and speed if you specify what visibility scale you want for each layer.
To take an example, this layer contains buildings and is scaled at 1:35000.
A layer containing buildings
After changing the layer’s Visibility settings to values between 1:1 and 1:15000, the buildings that were previously visible at scale 1:35000 (because they were visible in any scale as the default Visibility setting is Always), are no longer visible (left-hand image below). In order to see them, you need to lower the scale to a value of less than 1:15000, for example 1:10000 (as in the right-hand image).
Scale 1:35,000 (left); scale 1:10,000 (right)
When a layer is active in Map Mode, the objects belonging to this layer have various functionalities when you are drawing.
1. Drawing objects
You can draw objects using the ‘Drawing Style’ in each layer. If no drawing style is active, then you can colour each object individually. You can draw sections according to their the functional class. The functional class depends on the road type and each one has its own size and colour.
Section and road type
2. Filtering objects
In addition to drawing, you can filter the objects you want to draw depending on the zoom level. This allows you to optimise the object that you are going to load into the view and make the tool smoother and easier to use.
To illustrate: you wouldn’t draw the entire road network of a whole country in full zoom; you would zoom out. The objects differ according to type:
- Sections are filtered by functional class, 1 always visible
- Polygons are filtered by their size; greater size = greater visibility
- Lines are filtered by their length; greater length = greater visbility
The city of Bangkok viewed at three zoom levels: the greater the zoom, the greater the detail and number of objects.