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

regards,
Jakob

2018-02-14 17:39 GMT+01:00 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 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@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


[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 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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user