Re: [sumo-user] Dividing a network into a grid of small cells

2018-02-15 Thread Rehab Shaheen
Thank you for your great help. Now I think I can do it. On Feb 15, 2018 9:40 AM, "Jakob Erdmann" wrote: > You would then write another script to read edge-based traffic measures > (traffic density, average speed) generated by the simulation and also load > the set of edges for each polygon to ag

Re: [sumo-user] Dividing a network into a grid of small cells

2018-02-14 Thread Jakob Erdmann
You would then write another script to read edge-based traffic measures (traffic density, average speed) generated by the simulation and also load the set of edges for each polygon to aggregate the traffic measurements yourself. It may also be necessary to load the network itself to retrieve edge l

Re: [sumo-user] Dividing a network into a grid of small cells

2018-02-14 Thread Rehab Shaheen
So, this means that i will write a script to create polygons then define which edges are inside each polygon. Then, how can i obtain data like traffic density, average speed and so for each polygon (district)? On Feb 15, 2018 12:57 AM, "Jakob Erdmann" wrote: Hello, if you write your own little s

Re: [sumo-user] Dividing a network into a grid of small cells

2018-02-14 Thread Jakob Erdmann
Hello, if you write your own little script (basically two nested loops) that defines polygons in the sumo format for each of your cells ( http://sumo.dlr.de/wiki/Simulation/Shapes#Polygon_Definitions) you can then use an existing tool to determine all edges that overlap each of the polygons: http:/

[sumo-user] Dividing a network into a grid of small cells

2018-02-14 Thread Rehab Shaheen
Hello, I have some research work that requires converting a network into a grid of cells of a certain size. Each cell may contain multiple edges. A single edge may be split into multiple edges each one is located in a different cell. I need to collect some data from each cell as a whole, not from