How to add a static traffic model: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
''A static model does not change (over time), when changes occur in the [[project]].   
''A static model does not change (over time), when changes occur in the [[project]].   


This type of model can be used when you for example have a scenario for 2030 ready that contains the traffic intensities then and want to use this data in your project.  
Use this model if you have a pre-defined scenario (e.g., for 2030) with specific traffic intensities.
To upload the dataset, create a [[GeoJSON]] file of the data and make sure the features contain an attribute with the number of [[units]]/hour of a specific vehicle category. In this example, we will overwrite the [[Num cars (Traffic Overlay)|NUM_CARS]] attribute of the roads with the corresponding values of the attribute from the GeoJSON file.
To upload the dataset, create a [[GeoJSON]] file of the data and make sure the features contain an attribute with the number of [[units]]/hour of a specific vehicle category. In this example, we will overwrite the [[Num cars (Traffic Overlay)|NUM_CARS]] attribute of the buildings with the corresponding values of the attribute from the GeoJSON file.
When importing this data, [[Buildings]] that are intersected by sections of the imported data are given the new traffic flow attribute of imported data.
During import, buildings intersected by the GeoJSON features are assigned the new traffic flow attributes.


{{Editor location|Geo Import}}
{{Editor location|Geo Import}}
Line 14: Line 14:
|View the features of the selected GeoJSON file in step 2
|View the features of the selected GeoJSON file in step 2
|Select the 'No Filtering' option in step 3
|Select the 'No Filtering' option in step 3
|Select the option 'Only update existing building with attributes' and the option 'Any Building' in step 4
|Select the option 'Only update existing buildings with attributes' and the option 'Any Building' in step 4
|Ensure that the attribute NUM_CARS is activated in the list of attributes in step 5
|Ensure that the attribute NUM_CARS is activated in the list of attributes in step 5
|Select 'Finish' in step 6}}
|Select 'Finish' in step 6}}
Line 32: Line 32:
{{article end
{{article end
|notes=
|notes=
* You can import and map multiple traffic attributes, such as [[ Num cars (Traffic Overlay)|NUM_CARS]], [[Num trucks (Traffic Overlay)|NUM_TRUCKS]], [[Num vans (Traffic Overlay)|NUM_VANS]] at the same time.
* You can import and map multiple traffic attributes, such as [[Num cars (Traffic Overlay)|NUM_CARS]], [[Num trucks (Traffic Overlay)|NUM_TRUCKS]], [[Num vans (Traffic Overlay)|NUM_VANS]] at the same time.
* The attribute that you import is also allowed to hold an array of hourly traffic values.
* The attribute that you import is also allowed to hold an array of hourly traffic values.
|seealso=
|seealso=
*[[Traffic Model]]
*[[Traffic model]]
|api=*[[Api session event editor building set attributes]]
}}
}}
[[Category:How-to's]]
[[Category:How-to's]]

Latest revision as of 12:45, 8 July 2026

A static model does not change (over time), when changes occur in the project.

Use this model if you have a pre-defined scenario (e.g., for 2030) with specific traffic intensities. To upload the dataset, create a GeoJSON file of the data and make sure the features contain an attribute with the number of units/hour of a specific vehicle category. In this example, we will overwrite the NUM_CARS attribute of the buildings with the corresponding values of the attribute from the GeoJSON file. During import, buildings intersected by the GeoJSON features are assigned the new traffic flow attributes.

Editor → Current Situation (Ribbon tab) → Geo import (Ribbon bar)
How to add a Static Traffic Model using the Geo Data Wizard:
  1. Select the Geo Data header
  2. Select the Geo Import bar
  3. Notice that a Geo Data Wizard window appears
  4. In the data wizard select the type 'Buildings'
  5. Select the 'Import a GeoJSON file' option in step 1
  6. Select the GeoJSON file you wish to add in step 1
  7. View the features of the selected GeoJSON file in step 2
  8. Select the 'No Filtering' option in step 3
  9. Select the option 'Only update existing buildings with attributes' and the option 'Any Building' in step 4
  10. Ensure that the attribute NUM_CARS is activated in the list of attributes in step 5
  11. Select 'Finish' in step 6


Notes

  • You can import and map multiple traffic attributes, such as NUM_CARS, NUM_TRUCKS, NUM_VANS at the same time.
  • The attribute that you import is also allowed to hold an array of hourly traffic values.

See also

API Endpoints