Battle analysis

terrain:
map

Terrain types are identified as filling the whole hexagon ( like a forest, rough, town )
or applying just to the hexagon side ( like a road, river ).

hexagon terrain
 
  Notice that the terrain types, such as rough, forest and town are displayed as the mouse enters the hexagon.
 
  The hexagon point is calculated and used as a reference point.
 
  Notice that the hexagon name is not used as a refrence point. The hexagon name is a calculated label.
 
  This hexagon point and terrain type are stored in a database.

hexside terrain

  Terrain types, such as road and river are displayed as the mouse enters a hexside.
 
  Terrain types such as a road also include a hexagon center data point where the 2 hexsides are connected.
 
  A seperate grid on the map creates hexsides and hexagon center reference points called a grid point.
 
  This gridpoint and terrain type are stored in a database.

Note: the hexagon name is not a coordinate. This is a common mistake. The hexagon name is calculated from the hexagon 'grid point' coordinate. The hexagon name is a label.
 
This hexagon grid coordinate system is a cartesian coordinate system from analytic geometry.
 
All the mathematics of analytic geometry can be used to calculate points, lines and curves. Trigonometric functions provide calculations for bearing, range and line of sight.
 
The y-axis is scaled by a factor of √3 so that the (x,y) points are integers.