Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Dividing a network into a grid of small cells

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.dlr.de/wiki/Tools/District#edgesInDistricts.py

regards,
Jakob

2018-02-14 17:39 GMT+01:00 Rehab Shaheen <eng.rehab.s@xxxxxxxxx>:
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 each edge.

I found that authors of many papers managed to do that but don't know whether they used a certain tool/script that executes this job or they wrote their own method.

In both cases, does any one know a tool to generate the grid or from where to start writing my own method?

Thanks

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top