Battle Analysis: Terrain Data
This terrain needs to be converted to data with x,y values
0101 Clear
0102 Woods
0301 Road, 0301-0302 Road, 0302 Road, 0302-0303 Road
0301-0401 River, 0302-0401 River
Geocoding in GIS is the process of taking a text-based description of a location,
such as an address or place name,
and returning a coordinate → hexagon grid coordinate
Movement point costs are calculated according to the terrain.
Geocoding examples
Hexagon: Hexagon name → wargame coordinate x, y
text | x | y | terrain |
0102 Woods → | 4 | 12 | Woods |
0301 Road → | 8 | 8 | Road |
0302 Road → | 8 | 12 | Road |
Hexside: Bounding Hexagon coordinates → wargame midpoint coordinate x, y
text | x | y | terrain |
0301-0302 Road → | 8 | 10 | Road use midpoint: 0301(8,8) → (8,10) ← 0302(8,12) |
0301-0401 River → | 9 | 9 | River use midpoint: 0301(8,8) → (9,9) ← 0401(10,10) |
Edge: Bounding Hexagon/Hexside coordinates → wargame midpoint coordinate x, y
text | x | y | terrain |
0402\0502 Slope → | 10.5 | 13.5 | Slope use midpoint: 0402(10,14) → (10.5,13.5) ← 0402\0502(11,13) |
CAUTION: DO NOT USE terrain with hexagon label and direction number format. Subject to data errors.
text | x | y | terrain |
0301 4 Road → | 8 | 10 | Road 0301(8, 8) → (+0,+2) → (8,10) |
0301 3 River → | 9 | 9 | River 0301(8, 8) → (+1,+1) → (9,9) |
0401 6 River → | 9 | 9 | River 0301(10,10) → (-1,-1) → (9,9) (duplicate entry) |
Let's say 0301 3 River needs to be changed to 0301 4 River and gets updated.
If that River hexside had a second text based description 0401 6 River, it did not get updated.
text | x | y | terrain |
0301 4 River → | 8 | 10 | River entry corrected |
0401 6 River → | 9 | 9 | River entry did not get updated |
Example terrain types with a point type. (note: dots are color-coded by number of neighbors, green:0 blue:1 cyan:2 brown:3)