********
Grid One
********

The grid1 test case has two roads in a square grid forming a cross pattern.
The roads are placed at 0.001 degree intervals in both latitude and longitude.

The OSM file is hand-built and is nominally at the same location as JPL.

Grid Layout
===========

Each ``grid1`` road has two segments or sets of edges, each extending outside
the region of interest (continous edges downloaded from OSM are seen to also extend
outside the RoI).

Nodes are numbered from left to right and bottom to top, relative to
where they are on the grid.
So there is no node "00" (it would be at the far
bottom left corner), and the leftmost node is "02".

OSM ways are numbered sequentially starting at "101".

Processing
==========

To create a network from the OSM file::

  netconvert --osm grid1.osm --o grid1.net.xml -v --tls.guess --tls.set 22

To create traffic from an explicit flow file::

  duarouter -n grid1.net.xml -f grid1.flows.xml -o grid1.rou.xml --remove-loops -b 0 -e 1000 -a sumo.vtypes.xml --departlane best

To create traffic in the network (one vehicle per 30 seconds on each source)::

  sumo-randomTrips -n grid1.net.xml -r grid1.rou.xml  --period 30

To visualize the traffic on the network::

  sumo-gui -n grid1.net.xml -r grid1.rou.xml --step-length 0.1


..
  Local Variables:
  mode: rst
  End:
