'Is there any way to use AnyLogic traffic simulation by using GIS map without building all roads using "Road" from Road traffic library?
I am working on traffic volume simulation model for big city. The simulation can be done perfectly by building roads using "Road" from Road traffic library. However, The simulation model is for big city and it is very hard to draw all roads with detailes. Is there is any way to simulate the traffic roads directly by GIS or any other way?
Solution 1:[1]
the answer to this question is no.
The road traffic library is not compatible with GIS features, nevertheless if you have a shapefile with the roads, you can transform it into the road traffic objects, but you will need to fix a lot of small details and add traffic lights in a very manual way.
You can also automate the creation of all your road objects on startup if you have a file that has all the definitions, but you will need to do a lot of advanced coding for this.
I have always been scared to do a project like this because even with small models, the creation of roads is very hard.
I would suggest also to look into other better traffic simulators such as SUMO, which I think is the most popular on the topic.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Felipe |

