Map Products#
This page gives the format of each map file that the game and ACRES Core read at the start of a session. The ACRE Scene describes the contents of the map and the frames.
| File | Format | Contents |
|---|---|---|
site.json |
JSON | The grid, the origin, the roads, the building boxes, the bins. |
heights.f32 |
float32 grid, 1001 x 1001 | The heights of the terrain. |
surface_polygons.json |
JSON | The ground layer: polygons with a surface class. |
surfaces.u8 |
uint8 grid, 1000 x 1000 | The surface codes of the survey cells. |
grass-lanes.u8 |
uint8 grid, 1000 x 1000 | The grass mask of the survey cells. |
field-grid.json |
JSON | The geometry of the 4 m grid. |
field_ids.u8 |
uint8 grid, 382 x 382 | The field of each 4 m cell. |
cover.u8 |
uint8 grid, 382 x 382 | The land cover of each 4 m cell. |
fields.json |
JSON | The outlines of the 59 fields. |
crops_2026.json |
JSON | The crop and the planting date of each field in 2026. |
vegetation.json |
JSON | The planting record of the level. |
crop_patches.bin |
Binary records and JSON | The crop patches that are planted in the level, for ACRES Core. |
soils.json |
JSON | The soil map units and their properties. |
soil_units.u8 |
uint8 grid, 1000 x 1000 | The soil map unit of each survey cell. |
places.json |
JSON | The named places and the spawn places. |
| Drawn Site Map | Picture made at run time | The map of the HUD, of the replay and of the menu. |
Scouting/ |
JSON and uint8 grid | The ground classes, the Scout loops, the entries and the transit graph. |
DriveRegion/ |
Binary grid, JSON and GeoJSON | Optional regional ground and the planned scene scope. |
regional_* |
GeoJSON and JSON | The buildings, trees and fields to place outside the tile. These files are in Map/Layers. |
acre_scene.json |
JSON | The buildings, bins and trees for ACRES Core. |
road_mask.bin |
uint8 grid, 1160 x 1620 | A road mask of a map that is not in the game now. |
Conventions#
The runtime map files are in the folder Game/Content/Simulation/ACRE. The examples use paths relative to the repository root.
| Rule | Description |
|---|---|
| Binary grids | A grid file has no header. The values are in row sequence. Row 0 is the north edge of the tile and column 0 is the west edge. |
| Byte sequence | heights.f32 is little-endian. The other grids have one byte for each cell. |
| Survey grid | 1000 x 1000 cells of 1.524003048 m. Cell \((u, v)\) is at column \(u\) and row \(v\). |
| 4 m grid | 382 x 382 cells of 4 m. Its north-west corner is the corner of the survey grid. |
| Units | Meters, unless the key name gives a different unit (_ft, _cm, _px, _ha, _deg). |
Suffix _px or _uv |
A position in survey grid cells: \(u\) east, \(v\) south. |
| Python | The examples need numpy. Use the conda environment torchenv. |
The map tools read source data from the folder Game/Raw/ACRE. That folder is not in the repository.
Thus a build of the game does not need the tools. The command python Tests/Map/test_map.py tests the mathematics of the tools without the source data.
Site and Terrain#
site.json#
The site file gives the geometry of the survey grid and the georeference of the tile.
It also contains the current road centrelines, building boxes and grain bins.
The farm road lines come from the current surface_polygons.json. US 52 keeps its measured median line and lane offsets.
The earlier road lines remain in Git history. They are not a second runtime map.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
origin_source_ft |
array | ftUS | 2977500, 1902500, 705 | The origin in EPSG:2968 and its NAVD88 height. |
crs |
text | EPSG:2968 |
The coordinate reference system. | |
grid_step_m |
number | m | 1.524003048 | The size of a survey cell. |
grid_x0_m, grid_y0_m |
number | m | -762.001524 | The world position of the north-west corner. |
grid_width, grid_height |
integer | node | 1001 | The size of heights.f32. |
surface_width, surface_height |
integer | cell | 1000 | The size of the survey grid. |
spawn_uv, spawn_yaw_deg |
array, number | cell, deg | 625, 477. 180 | The start pose when places.json is not available. |
roads |
array | 92 items | name, kind, width_m, points_px, source. US 52 also has lane_offsets_m. |
|
buildings |
array | 23 items | name, bounds_px (\(u_0, v_0, u_1, v_1\)), height_m, ground_m, footprint_id, label. |
|
silos |
array | 32 items | id, group, uv, diameter_m, height_m, ground_m. |
|
trees |
array | 174 items | The trees of the first survey. | |
road_review_corrections |
array | 1 item | The record of the height correction along the roads. | |
road_network |
object | The source hash, build tool and 5 cm tolerance for polygon seams. | ||
demo_routes |
object | The Beck–ICSC route anchors and corner radii in Unreal meters. | ||
terrain_revision |
text | 2026-09-23-road-review-3 |
The revision of heights.f32. |
| Use | Item |
|---|---|
| Readers in the game | AcresVehicle.cpp (grid, spawn, review routes), AcresNpc.cpp (road graph), AcresHud.cpp, AcresSensors.cpp, AcresPolaris.cpp, AcresSimControl.cpp. |
| Readers in ACRES Core | FAcresTerrain::Load, FSiteGeoreference::Load. |
| Other readers | Game/Core/Scripts/build_scene.py, Map/geo.py, the scouting map builder. |
| Tools that write it | us52.py (US 52), building_models.py (buildings, bins), building_names.py (building labels), site_edits.py, icsc_driveway.py, refresh_site_roads.py. |
The key label of a building is the text to show: the footprint identifier, or ICSC or Beck's Ag Center.
The key name of a building is a key for code and keeps an earlier name. Do not show it.
Results/Map/building_names.json gives the two values for each building.
After a surface edit, run Map/refresh_site_roads.py, then rebuild the scouting products.
Run Map/check_runtime_data.py --packaged before a demo. The package tool also runs this check.
For a farm road, width_m is twice the smallest clearance of its center line from the surface boundary.
It is not a check of the vehicle footprint through a turn. Some lanes are too narrow for a tractor.
The seam tolerance closes gaps up to 10 cm wide. It does not move a road to match an old route.
The legacy_road_ids in road_review_corrections refer to the earlier terrain correction.
Road indices after index 10 can change when the lane data changes. Select a review route from the current file.
import json
from pathlib import Path
ACRE = Path("Game/Content/Simulation/ACRE")
site = json.loads((ACRE / "site.json").read_text())
s = site["grid_step_m"]
x0, y0 = site["grid_x0_m"], site["grid_y0_m"]
def grid_to_enu(u, v):
"""Survey grid cells to world ENU metres."""
return x0 + u * s, -(y0 + v * s)
print(grid_to_enu(474.6, 592.2))
# (-38.70967741935476, -140.51308102616213)
print(len(site["roads"]), len(site["buildings"]),
len(site["silos"]))
# 92 23 32
heights.f32#
The terrain heights at the nodes of the survey grid.
| Property | Value |
|---|---|
| Data type | float32, little-endian |
| Shape | 1001 rows x 1001 columns (grid_height x grid_width) |
| Size | 4008004 bytes |
| Index | heights[j, i] is node \((u, v) = (i, j)\) |
| Origin | Node (0, 0) is the north-west corner. Node (500, 500) is the origin of the world. |
| Spacing | 1.524003048 m |
| Unit | m above the origin height (NAVD88 height minus 214.884 m) |
| Range | -12.652 to 7.833 |
| Use | Item |
|---|---|
| Readers in the game | AAcresVehiclePawn::LoadAcreTerrain, FAcresFieldSetup::SurveyHeights, FAcresFarmRuntime::Initialize, AcresSoilVisuals.cpp. |
| Readers in ACRES Core | FAcresTerrain::Load. |
| Other readers | Game/Core/Scripts/build_scene.py, Map/geo.py, the building and tree tools. |
| Tool that writes it | None in the repository. The file is the survey product with the road review correction. |
A point between the nodes has the height of one of the two triangles of its cell.
import numpy as np
w, h = site["surface_width"], site["surface_height"]
heights = np.fromfile(ACRE / "heights.f32", dtype="<f4")
heights = heights.reshape(h + 1, w + 1)
print(heights.shape, heights.dtype) # (1001, 1001) float32
print(heights[500, 500]) # 0.32698855
def height_at(u, v):
"""Height on the two triangles of the cell."""
i, j = min(int(u), w - 1), min(int(v), h - 1)
fx, fy = u - i, v - j
a, b = heights[j, i], heights[j, i + 1]
c, d = heights[j + 1, i], heights[j + 1, i + 1]
if fx + fy <= 1:
return a + (b - a) * fx + (c - a) * fy
return d + (c - d) * (1 - fx) + (b - d) * (1 - fy)
print(round(float(height_at(474.6, 592.2)), 3))
# 0.639 (the ICSC garage spawn)
Ground Layer#
surface_polygons.json#
The ground layer. The wheels, the implements and the farm read the surface class from these polygons.
The schema is acres-surface-polygons-1. The frame is the Unreal world in centimetres: X east, Y south.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
classes |
array | 7 names | field, asphalt, concrete, gravel, grass_lane, grass, dirt. The index is the class code. |
|
priority |
object | 60, 55, 40, 30, 20, 10 | The priority of asphalt, concrete, gravel, dirt, grass_lane, grass. |
|
polygons |
array | 521 items | The polygons. A later polygon has priority over an earlier one of the same priority. | |
polygons[].id |
text | The identifier, for example G0017. |
||
polygons[].class |
text | The surface class. | ||
polygons[].priority |
integer | The priority of the polygon. | ||
polygons[].ring |
array | cm | The outer ring: integer points \([X, Y]\). The ring is open. | |
polygons[].holes |
array | cm | none | Rings that the polygon does not contain. 28 polygons have holes. |
polygons[].source |
text | The origin of the polygon, for example verges:R0012. |
||
polygons[].role |
text | none | verge for a road verge. |
|
polygons[].centreline |
array | cm | none | The center line of a grass lane. |
polygons[].wheel_track_m |
number | m | 1.55 | The distance between the wheel tracks of a grass lane. |
polygons[].edge_source |
text | none | The image that gave the edges. county2025 marks the county orthophoto. |
| Use | Item |
|---|---|
| Reader in the game | FAcresFieldSetup::SurfaceMap (one time for each process), then FSurfaceMap::ClassAt. |
| Reader in ACRES Core | FAcresWorld loads it into the same FSurfaceMap. |
| Other readers | Map/geo.py, the scouting map builder. |
| Tools that write it | game_layer.py, then game_layer_fit.py, then site_edits.py. |
All coordinates are in the range of ±76200 cm.
layer = json.loads(
(ACRE / "surface_polygons.json").read_text())
polygons = layer["polygons"]
print(len(polygons)) # 521
def inside(ring, x, y):
"""Even-odd test of a point against one ring."""
hit = False
for (xi, yi), (xj, yj) in zip(ring, ring[-1:] + ring[:-1]):
if (yi > y) != (yj > y) and \
x < (xj - xi) * (y - yi) / (yj - yi) + xi:
hit = not hit
return hit
def class_at(x_cm, y_cm):
"""Surface class at an Unreal world point (cm)."""
best = None
for k, p in enumerate(polygons):
if not inside(p["ring"], x_cm, y_cm):
continue
if any(inside(q, x_cm, y_cm)
for q in p.get("holes", [])):
continue
key = (p["priority"], k)
if best is None or key > best[0]:
best = (key, p["class"])
return best[1] if best else "field"
print(class_at(-3871, 14051)) # concrete
print(class_at(0, 0)) # field
surfaces.u8#
The surface code of each survey cell. game_layer.py makes it from the polygons with 4 x 4 samples in each cell.
The code with the most samples applies. If two codes have equal counts, the lower code applies.
| Property | Value |
|---|---|
| Data type | uint8 |
| Shape | 1000 rows x 1000 columns |
| Index | surfaces[v, u] |
| Cell size | 1.524003048 m |
| Code | Surface | Cells |
|---|---|---|
| 0 | asphalt |
28233 |
| 1 | concrete |
1290 |
| 2 | gravel |
22851 |
| 3 | dry_soil |
947626 |
| 4 | wet_soil |
0 |
| 5 | mud |
0 |
| Use | Item |
|---|---|
| Readers in the game | AAcresVehiclePawn::SampleSurface (only when surface_polygons.json is not available), AcresSoilVisuals.cpp (the vertex colors of the terrain). |
| Reader in ACRES Core | FAcresWorld, only when surface_polygons.json is not available. |
| Tools that write it | game_layer.py (write_game_rasters), site_edits.py. |
grass-lanes.u8#
A mask of the survey cells with grass. A cell has the value 1 when grass_lane or grass has 8 or more of its 16 samples.
| Property | Value |
|---|---|
| Data type | uint8, values 0 and 1 |
| Shape | 1000 rows x 1000 columns |
| Index | grass[v, u] |
| Cells with the value 1 | 166350 |
| Use | Item |
|---|---|
| Reader in the game | AcresSoilVisuals.cpp (the vertex colors of the terrain tiles near the vehicle). |
| Tools that write it | game_layer.py (write_game_rasters), site_edits.py. |
Fields and Land Cover#
field-grid.json#
The geometry of the 4 m grid. field_ids.u8, cover.u8 and the water grid of the farm use this grid.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
width |
integer | cell | 382 | The number of cells on each side. |
step_m |
number | m | 4.0 | The cell size. |
origin_m |
number | m | -762.001524 | The Unreal world position of the north-west corner, for X and for Y. |
fields_sha256 |
text | The SHA-256 hash of the bytes of fields.json. |
||
scope |
text | A note about the use of the grid. |
The cell of an Unreal world point \((X, Y)\) in meters is
with \(o\) = origin_m and \(\Delta\) = step_m. FAcresFarmRuntime::CellAt uses this equation.
The grid is 1528 m wide. Thus the last column and the last row go 4 m outside the tile.
grid = json.loads((ACRE / "field-grid.json").read_text())
n, step = grid["width"], grid["step_m"]
origin = grid["origin_m"]
print(n, step, origin) # 382 4.0 -762.001524003048
def cell_of(x_m, y_m):
"""Row and column of an Unreal world point (m)."""
return (int((y_m - origin) // step),
int((x_m - origin) // step))
print(cell_of(-38.71, 140.513)) # (225, 180)
field_ids.u8#
The field of each 4 m cell. The tool tests the center of each cell against the outlines of fields.json.
| Property | Value |
|---|---|
| Data type | uint8 |
| Shape | 382 rows x 382 columns |
| Index | field_ids[row, column] of field-grid.json |
| Values | 0: no field. 1 to 59: the field F01 to F59. |
| Use | Item |
|---|---|
| Reader in the game | FAcresFarmRuntime::Initialize (FieldAt). |
| Reader in ACRES Core | FAcresWorld. |
| Tools that write it | fields_recut.py, field_edits.py. |
field_ids = np.fromfile(ACRE / "field_ids.u8", dtype=np.uint8)
field_ids = field_ids.reshape(n, n)
print(field_ids.shape, field_ids.max()) # (382, 382) 59
fields = json.loads((ACRE / "fields.json").read_text())
f39 = next(f for f in fields["fields"] if f["id"] == "F39")
u, v = f39["label_uv"]
print(field_ids[cell_of(x0 + u * s, y0 + v * s)]) # 39
cover.u8#
The land cover of each 4 m cell. The water model of the farm reads the roughness and the interception of a cell from this code. The LiDAR reads the material of a ground hit from it.
| Property | Value |
|---|---|
| Data type | uint8 |
| Shape | 382 rows x 382 columns |
| Index | cover[row, column] of field-grid.json |
| Code | Cover | Cells |
|---|---|---|
| 0 | bare |
68596 |
| 1 | corn |
4176 |
| 2 | soybean |
4252 |
| 3 | grass |
25422 |
| 4 | woodland |
35968 |
| 5 | shrubs |
0 |
| 6 | asphalt |
4111 |
| 7 | concrete |
164 |
| 8 | gravel |
3235 |
| 9 | potato |
0 |
| Use | Item |
|---|---|
| Readers in the game | FAcresFarmRuntime::Initialize, AcresSensors.cpp (ground material of the LiDAR). |
| Reader in ACRES Core | FAcresWorld. |
| Tools that write it | game_layer.py (write_game_rasters, 8 x 8 samples in each cell), site_edits.py, field_edits.py. |
At the start of a session, the game changes the codes of the field cells in memory to the crops of the session. It does not change the file.
cover = np.fromfile(ACRE / "cover.u8", dtype=np.uint8)
cover = cover.reshape(n, n)
names = ["bare", "corn", "soybean", "grass", "woodland",
"shrubs", "asphalt", "concrete", "gravel", "potato"]
counts = np.bincount(cover.ravel(), minlength=10)
print(dict(zip(names, counts.tolist())))
# {'bare': 68596, 'corn': 4176, 'soybean': 4252,
# 'grass': 25422, 'woodland': 35968, 'shrubs': 0,
# 'asphalt': 4111, 'concrete': 164, 'gravel': 3235,
# 'potato': 0}
print(names[cover[cell_of(-38.71, 140.513)]]) # concrete
fields.json#
The outlines of the 59 fields in survey grid coordinates.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
schema_version |
integer | 1 | The version of the format. | |
coordinate_system |
text | A note: survey grid cells, \(u\) east, \(v\) south. | ||
fields |
array | 59 items | The fields. | |
fields[].id |
text | F01 to F59. |
||
fields[].land_cover |
text | unassigned, corn, soybean, empty, lawn, shrubs or woodland. |
||
fields[].crop |
text or null | corn, soybean or null. |
||
fields[].geometry_uv |
object | cell | A GeoJSON Polygon. The game reads only the outer ring. |
|
fields[].label_uv |
array | cell | The position of the label on a map. | |
fields[].area_ha |
number | ha | The area of the field. | |
fields[].confidence |
text | A note about the source of the outline. | ||
fields[].geometry_source |
text | The tool step that cut the outline. |
| Use | Item |
|---|---|
| Readers in the game | FAcresFieldSetup::Fields, FAcresSimControl::LoadFields, FAcresFarmRuntime::Initialize (fingerprint). |
| Reader in ACRES Core | FAcresWorld. |
| Other readers | Map/acres_map/acre.py, the scouting map builder. |
| Tools that write it | fields_recut.py, field_edits.py, icsc_driveway.py, smooth_ground_edges.py. |
The game changes the land cover unassigned to corn.
crops_2026.json#
The crop season of 2026. The option -CropSeason=<name> selects the file crops_<name>.json. The default is 2026.
The schema is acres-crop-season-1.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
season |
text | 2026 |
The name of the season. | |
rules |
array | 5 items | The rules that select the crop of a field. | |
fields[].id |
text | F01 to F59. |
||
fields[].crop |
text | corn, soybean or none. |
||
fields[].plant_date |
date | The planting date, YYYY-MM-DD. |
||
fields[].rule |
text | The rule that applied. A rule that starts with default is not a call of the crop map. |
||
fields[].confidence |
text | high, medium or low. |
||
fields[].call_2026 |
text | The call of the crop map of 2026. | ||
fields[].sim_land_cover |
text | The land cover of fields.json. |
||
weather.first_date |
date | 2026-04-01 |
The date of the first temperature value. | |
weather.measured_days |
integer | day | 178 | The number of measured days. The other days are means of 2023 to 2025. |
weather.min_c, weather.max_c |
array | °C | 244 values | The daily minimum and maximum air temperature. |
| Use | Item |
|---|---|
| Reader in the game | FAcresFieldSetup::CropSeason. |
| Reader in ACRES Core | FAcresWorld (the crop of each field). |
| Tool that writes it | game_crops.py, from Map/Layers/crops_2026.json (crops.py). |
season = json.loads(
(ACRE / "crops_2026.json").read_text())
print(season["schema"], season["weather"]["first_date"],
len(season["weather"]["min_c"]))
# acres-crop-season-1 2026-04-01 244
print({f["id"]: (f["crop"], f["plant_date"])
for f in season["fields"][:3]})
# {'F01': ('soybean', '2026-05-28'),
# 'F02': ('soybean', '2026-06-29'),
# 'F03': ('soybean', '2026-05-30')}
vegetation.json#
The record of the planting of the level: the crop patches and the trees that the level contains for each field.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
revision |
text | 2026-09-23-planting-1 |
The revision of the planting. | |
fields |
object | 27 keys | One entry for each planted field or zone, for example F30. |
|
fields.<id>.land_cover |
text | corn, soybean, woodland or shrubs. |
||
fields.<id>.area_ha |
number | ha | The planted area. | |
fields.<id>.instances |
integer | The number of mesh instances. | ||
fields.<id>.represented_plants |
integer | The number of plants that the instances show. | ||
fields.<id>.headland_m |
number | m | The strip without crop at the edge of the field. | |
zones |
array | 1 item | Areas that are not fields. V01 is the woodland south of US 52. |
| Use | Item |
|---|---|
| Reader in the game | FAcresFarmRuntime::Initialize (only for the fingerprint of a saved farm state). |
| Reader in ACRES Core | FAcresWorld (headland_m of the planted crop fields). |
| Tool that writes it | None in the repository. |
crop_patches.bin and crop_patches.json#
The crop patches that are planted in the level. The game takes these patches from the crop actors of the level.
ACRES Core cannot open a level, thus it reads them from crop_patches.bin.
Tools/Level/export_level_crop_patches.py makes the two files from the level file Game/Content/Maps/ACRE.umap.
It does not use Unreal.
The tool finds each instanced mesh component of the level as one array of 4 × 4 matrices. A crop component has its
instances on one lattice of 1.52 m × 1.0 m. The field of a component is the field of fields.json that contains most
of its instances. The tool stops if the instance count of a field is not the count of vegetation.json.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
crop_patches.bin, bytes 0 to 7 |
text | ACRLCP01 |
The magic bytes. | |
| bytes 8 to 15 | 2 × uint32 | 49,714 and 32 | The number of records and the size of a record. | |
record: x_cm, y_cm, z_cm |
3 × float64 | cm | The position of the instance in the level: X east, Y south, Z up. | |
record: field |
uint8 | The field number, 27 to 54. | ||
record: component |
uint8 | 0, 1 or 2: the component of the field. Each field has three, one for each patch mesh. | ||
| record: 6 bytes | 0 | Not used. | ||
crop_patches.json: patches, components |
integer | 49,714 and 60 | The counts. | |
fields.<id>.instances |
integer | The patches of the field in the level, equal to vegetation.json. |
||
fields.<id>.in_outline |
integer | The patches of the field that are in its outline of fields.json. |
||
not_in_level |
list | F51, F56 | The crop fields of vegetation.json that the level does not contain. |
|
inputs, bin_sha256 |
objects, text | The SHA-256 of the level file, of fields.json, of vegetation.json and of crop_patches.bin. |
The records are in the order of the field numbers. In a field, the components are in the order of the level file, and the instances are in the order of the component.
ACRES Core applies the rules of the game to these patches (FAcresWorld::LoadFieldsAndCrops):
- A field without a crop in the crop season has no patch. 19 of the 20 fields have a crop in the season 2026.
- A patch whose center is not on field ground of the surface map is left out. 46,833 patches stay.
- A field with level patches gets no generated patches.
With the file, ACRES Core has the 705,070 patches of the game. Without the file, ACRES Core puts the patches of these fields on its own grid, as before.
Soil#
soils.json#
The soil map units of the SSURGO survey on the tile and their hydraulic properties. Soil Water describes the model that uses them.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
source |
text | The query of the SSURGO data (2026-09-23). | ||
manning_n |
object | s/m^(1/3) | 10 keys | The roughness of each cover for sheet flow. |
tile_drainage.coefficient_mm_day |
number | mm/day | 9.525 | The drainage coefficient of the tile drains. |
units |
array | 16 items | The map units. | |
units[].index |
integer | 1 to 16 | The value of the unit in soil_units.u8. |
|
units[].musym, units[].muname |
text | The symbol and the name of the unit, for example Cm. |
||
units[].cells |
integer | cell | The number of survey cells of the unit. | |
units[].ksat_surface_mm_h |
number | mm/h | The saturated conductivity of the surface layer. | |
units[].ksat_profile_50cm_mm_h |
number | mm/h | The saturated conductivity of the top 0.5 m. | |
units[].ksat_sealed_mm_h |
number | mm/h | The conductivity of a sealed surface. | |
units[].wetting_suction_m |
number | m | The suction head of the Green-Ampt model. | |
units[].saturated_theta |
number | m³/m³ | The water content at saturation. | |
units[].field_capacity_theta |
number | m³/m³ | The water content at field capacity. | |
units[].wilting_theta |
number | m³/m³ | The water content at the wilting point. | |
units[].surface_*, units[].subsoil_* |
number | m, m³/m³ | The depth and the water contents of the two layers. | |
units[].drainage, units[].hydrologic_group |
text | The drainage class and the hydrologic group. | ||
units[].components |
array | The soil components of the unit with their texture. |
| Use | Item |
|---|---|
| Readers in the game | FAcresFarmRuntime::Initialize, AAcresVehiclePawn::LoadAcreTerrain (soil texture). |
| Reader in ACRES Core | FAcresWorld. |
| Tool that writes it | None in the repository. |
soils = json.loads((ACRE / "soils.json").read_text())
unit = {x["index"]: x for x in soils["units"]}
print(len(unit), unit[9]["musym"], unit[9]["muname"])
# 16 Cm Chalmers silty clay loam
print(unit[9]["wilting_theta"],
unit[9]["field_capacity_theta"],
unit[9]["saturated_theta"])
# 0.22899999999999998 0.345 0.43
soil_units.u8#
The soil map unit of each survey cell.
| Property | Value |
|---|---|
| Data type | uint8 |
| Shape | 1000 rows x 1000 columns |
| Index | units[v, u] |
| Values | 1 to 16: the index of a unit in soils.json. 0: no map unit (no cell has this value). |
| Use | Item |
|---|---|
| Readers in the game | FAcresFarmRuntime::Initialize, AAcresVehiclePawn::LoadAcreTerrain. |
| Reader in ACRES Core | FAcresWorld. |
| Tool that writes it | None in the repository. |
Places and Minimap#
places.json#
The named places of the tile. Each place gives its points in four frames.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
schema |
integer | 1 | The version of the format. | |
places[].id |
text | The identifier, for example spawn-icsc-garage. |
||
places[].name |
text | The name that the menu shows. The two landmarks have the names ICSC and Beck's Ag Center. |
||
places[].category |
text | spawn, landmark or yard. |
||
places[].kind |
text | point, route or area. |
||
places[].heading_deg |
number or null | deg | The compass heading of a point. | |
places[].ue_yaw_deg |
number or null | deg | The Unreal yaw: the heading minus 90°. | |
places[].cells |
array | cell | The points in survey grid coordinates. | |
places[].ue_cm |
array | cm | The points in the Unreal world. | |
places[].enu_m |
array | m | The points in the world ENU frame. | |
places[].latlon_wgs84 |
array | deg | Latitude and longitude in WGS84(G2139) at the epoch 2026.75. | |
places[].spawn_flags |
text | The spawn options of a point. | ||
places[].area_m2 |
number | m² | The area of an area place. |
| Use | Item |
|---|---|
| Reader in the game | AcresPlaces::All (the first point and ue_yaw_deg of each place). |
| Readers in ACRES Core | FAcresWorld, CoreSimServer.cpp. |
| Other readers | Map/acres_map/acre.py, Game/Core/Scripts/unreal_dbw_replay.py. |
| Tool that writes it | places.py, from a folder with one JSON file for each place. building_names.py gives the names of the landmarks. |
Drawn Site Map#
The game has no map image in its content. It draws the map of the site one time at the start of a session, on a worker thread. The picture has one pixel for each survey cell: 3000 x 3000 pixels with the regional ground, 1000 x 1000 pixels for the tile. A second picture has a quarter of this resolution for a view of the whole region.
| Layer | Source | Color |
|---|---|---|
| Ground surfaces | surfaces.u8, or DriveRegion/region.bin with the regional ground |
One flat color for each surface class. |
| Fields | fields.json and DriveRegion/fields.json |
The color of the crop, with a dark outline. |
| Trees | Scouting/obstacles.json, tree_trunks |
A dark green disc of 3 m for each trunk. |
| Bins | Scouting/obstacles.json, circles |
A light gray disc. |
| Buildings | Scouting/obstacles.json, polygons |
A light footprint with a dark outline. |
| Use | Item |
|---|---|
| Maker | FAcresSiteMap in Game/Source/Acres/AcresSiteMap.cpp. |
| Readers in the game | The minimap, the inset of a replay and the map of the key M (AcresHud.cpp). |
The map shows the field names at a point in each field, and the names of two places: ICSC and Beck's Ag Center. No aerial image is in the map.
Scouting Folder#
The folder Game/Content/Simulation/ACRE/Scouting/ has the geometry of the missions. It gives the ground class of each point, the Scout loop around each field, the coverage checkpoints, the field entries and the transit graph. The routes, the planner, the tracker and ACRES Core read it.
| File | Content |
|---|---|
scouting_map.json |
Schema acres-scouting-map-2: the build parameters, the source hashes, home, the fields, the transit graph, the statistics and the map box (region) |
ground_classes.u8 |
The ground class of each 0.5 m cell, row 0 at the north edge (Git LFS). The key ground_classes of scouting_map.json gives its size and position. |
obstacles.json |
Schema acres-obstacles-1: the collision geometry of the level (polygons, circles, tree_trunks) and keep_out. ACRES Core loads the collision shapes. It does not load keep_out. |
Positions are ENU metres about the tile centre. World metres are X = east and Y = −north.
The raster cell of a point is:
| Symbol | Key of ground_classes |
Value for the Default Map |
|---|---|---|
| \(n_{\text{north}}\) | north_m |
2175.004 m |
| \(e_{\text{west}}\) | west_m |
−1970.004 m |
| \(\Delta\) | step_m |
0.500001 m |
width, height |
7060, 5874 cells |
| Code | Class | Content | Driving |
|---|---|---|---|
| 0 | Crop | The field area that is not edge band | Not permitted |
| 1 | Lane | Grass lanes, asphalt, concrete, gravel and dirt roads | Permitted |
| 2 | Verge | Grass outside the fields | Permitted |
| 3 | Edge band | Crop within the swept footprint of the vehicle along the edge-band stretches of the loops | Permitted. The crop damage is unavoidable. |
| 4 | Obstacle | The collision geometry of obstacles.json and the stall rows of the parking lots |
Not permitted |
| 5 | Other | Ground that is not field, lane or verge: woodland floor, bare strips, US 52, drives and yards | Not used by loops or transit |
A field of scouting_map.json has the keys id, area_ha, boundary, outline, loop, checkpoints, entries and stats. The loop has one point for each metre, with a ground class and a speed limit at each point. An entry joins the transit graph to the loop.
A map of roads only (8 Nov 2026). With drivable_network in Map/Layers/map_edits.json the drivable ground is the user's roads of Map/Layers/user_roads.json (each at its width) and a strip of verge_m grass beside them. Every other lane and verge cell is other ground. The transit graph is made of these roads, with no connector over crop or field soil.
A field then has the key delivery and stats.deliverable. delivery has up to 6 points of the lane edges of the graph joined to H, at most 25 m from its outline (the nearest one for each 60 m of the outline). A mission drives to a spot beside a field and stops. It does not drive the loop (the vehicle and the skill worlds refuse scout. A goto to a field drives to its delivery spot nearest to the vehicle. The missions of a vehicle, acres_runtime_vehicle_start, do the same: goto:<field> is that point goal and a mission of fields is refused). The game's ground layer has the same roads (Map/user_roads_game.py).
Outside the tile, python Map/user_roads_game.py region writes them as polygons of the regional surface layer (Map/Layers/regional_user_roads.geojson: a grass road is class grass_lane with the look of mown grass). Map/regional_ground.py classes and textures paint them into region.bin and the masks of the regional ground material (on a machine without the orthophoto features, the brightness channel of texture B comes from the imported texture, exported to Game/Raw/ACRE/RegionalGround/T_RegionSurfaceB.png). Map/regional_crops.py bake plants no crop on them. Tools/Level/bake_region_ground.py --rebind <old region.bin> keeps the cooked ground chunks when only the surface classes of region.bin changed (the chunks are made of its heights).
The regional fields reach the roads. python Map/user_roads_game.py fields grew each regional field of Map/Layers/regional_fields.geojson by at most 10 m, to 1 m from the road's edge. It grew only into the ground within 10 m of a road (the outlines had left 5 m to 7 m of rough grass beside a road where the July 2025 aerial has crop. 64 of 77 fields, 7.2 ha). Then regional_surface_fields.py apply, the region steps above and regional_field_products.py build.
The Python reader is acres_map.map_products.ScoutingMap. It needs only numpy:
from acres_map.map_products import ScoutingMap
m = ScoutingMap.load()
f = m.field("F39")
f.loop_xy, f.loop_class, f.loop_speed_limit # 1 m apart, anticlockwise from the northernmost point
m.path("F39", entry=0, clockwise=True) # the loop from an entry, in a driving direction
m.graph.shortest_path(m.home["graph_node"], f.entries[0]["node"])
m.ground_class(east, north) # class codes at points
Map/acres_map/build_map.py and obstacles.py write the folder. Tools/Level/rebuild_scene_and_map.sh runs the full build after a change of the level or of a map layer.
Drive Region Folder#
DriveRegion/ extends the ground around the original tile: the regional ground.
Enable it with -DriveRegion in Unreal or acres_core.Batch(root, drive_region=True) in Python.
The default farm map and its 59 task fields remain unchanged.
| File | Contents |
|---|---|
region.bin |
Ground corner heights, surface classes and soil textures on a 3000 x 3000 cell grid. |
manifest.json |
Source hashes, frames, interpolation method, route containment and limits. ground_surfaces names the surface layer. |
roads.geojson |
The hard surfaces of the regional ground in world meters, X east and Y south: 3,420 road, junction, turnaround, drive, lot and yard polygons. See Regional Ground Surfaces. |
markings.json |
The paint lines of US 52 and the center line of N 400 W outside the tile: 354 lines in world meters. |
ground_assets.json |
The 128 cooked ground chunks and the SHA-1 of the region.bin that they belong to. |
crops.bin, crops.json |
The regional crop patches. See Regional Crops. |
scene_plan.geojson |
The selected detail area, neighbourhood and 200 m route buffer. New houses and procedural forest remain planned. |
The binary starts with a 40-byte little-endian header:
8s magic, uint32 width, uint32 height, float64 x0, float64 y0, float64 step.
The magic is ACRGN001. The payload has (width+1)*(height+1) float32 heights,
then width*height surface bytes and width*height soil texture bytes.
Rows progress south. Surface classes are 0 to 6. Soil textures are 0 to 2. 255 means unknown. An unknown soil texture uses the medium template. This fallback is not a calibration result.
The side length is 4572.009 m. The existing central 1001 x 1001 terrain nodes are identical. The old flat background planes move beyond the extension when it is active. Ground chunks use distance culling. Scenery streaming and mesh level of detail require separate implementation.
Map/expand_drive_region.py builds the terrain, imagery, layers and binary.
Its layout stage records the scene plan from drive_region_layout.json.
Its surface classes are a first state only. Map/regional_ground.py writes the final classes outside the tile and roads.geojson.
The heights and the soil textures keep the bytes of expand_drive_region.py.
Use the source heights only for terrain and foundations. Use satellite footprints and camera views for building dimensions. See The ACRE Scene for the scene.
Regional Scene Layers#
Four layers in Map/Layers list the objects to put into the selected detail area outside the original tile.
The area is 3410 m by 2620 m (8.93 km²). 7.00 km² of it is outside the tile.
Map/regional_scene.py writes the layers. See Tools and Scripts.
The game and ACRES Core do not read these layers at this time. A placement task reads them.
| File | Contents |
|---|---|
regional_buildings.geojson |
200 building outlines with a class, height priors and a proposed model. One substation that needs a manual model. |
regional_woodlots.geojson |
8 woodlot polygons (41.2 ha). |
regional_trees.json |
5685 trees: 3939 seeded trees in the woodlots and 1746 trees from crowns of scattered canopy. The level holds 5640 of them. See regional_trees_not_placed.json. |
regional_fields.geojson |
77 crop fields with the numbers RF001 to RF077, each with a crop |
regional_plot_lines.geojson |
367 straight plot lines of the 2023 orthophoto (80.2 km), from regional_plot_lines.py. No image pixel. |
regional_tracks.json |
The record of the farm tracks that the scouting map has as lane surfaces: the plot line and the two ends of each track. |
regional_track_surfaces.geojson |
One lane surface for each track of the record, with the properties of a surface of regional_surfaces.geojson, from regional_tracks.py. The scouting map reads it after the surface layer. |
../regional_tracks.json |
The report of regional_tracks.py measure: each track against the brightness of the orthophoto. Numbers only. |
terrain_keep_out.json |
The pits of the regional terrain that a path must not go over (TP001, TP002), each with its ring from terrain_keep_out.py measure. The limits of the terrain check with their basis, and the accepted places (TD001). The evidence that the pits are true ground of the elevation source. The scene export puts the rings into the list keep_out of Scouting/obstacles.json. |
../path_terrain.json |
The result of terrain_keep_out.py check, a step of the build command. It has the largest height step and the largest height difference of the wheel tracks under each mission path, and the places. |
regional_field_joins.json |
The record of the fields that join a neighbor (regional_field_joins.py), by their first numbers. |
../regional_scene.json |
The validation report: counts, coverage, overlaps, input hashes and limits. |
regional_building_models.json |
The model of each of the 200 buildings: 185 generated buildings, 10 villas and 5 cottages. |
../regional_buildings.json |
The validation report of the building models. |
The layers use these frames and identifiers:
| Rule | Description |
|---|---|
| Geometry | The GeoJSON coordinates are EPSG:2968 in US survey feet, as in buildings.geojson and roads.geojson. |
| Properties | Positions in the properties are meters east and north of the ACRE origin. Heights are meters above the origin height of 705 ftUS. |
| Unreal | X = east × 100 and Y = −north × 100, in centimetres. yaw_ue_deg is the yaw about the Unreal Z axis. |
| Identifiers | RB001 for a building, RW01 for a woodlot, RF001 for a field and RT... for a tree. The fields of the tile keep F01 to F59. |
| Original tile | No object is in the 5000 ft tile. The tile keeps its own buildings, trees and fields. |
regional_buildings.geojson#
Each feature is one building outline. The source is Microsoft Global ML Building Footprints. Where Microsoft has no outline, the source is the IndianaMap footprint of 2018. The outlines are machine-made. They are not survey data.
| Name | Type | Unit | Description |
|---|---|---|---|
id |
text | RB001 to RB200, from north to south. |
|
source |
text | microsoft_ml (151) or indianamap_2018 (49). |
|
class |
text | house (115), mobile_home (52), small_outbuilding (28) or large_building (5). |
|
class_rule |
text | The rule that gave the class. The class is a prior from the size and the shape of the outline. | |
area_m2 |
number | m² | The area of the outline. |
centre_enu_m |
array | m | The center of the oriented rectangle. |
length_m, width_m |
number | m | The long side and the short side of the oriented rectangle. |
yaw_enu_deg |
number | degree | The direction of the long side, counter-clockwise from east, 0 to 180. |
yaw_ue_deg |
number | degree | The same direction as an Unreal yaw. |
eave_m, ridge_m |
number | m | The height priors above the ground. They are typical values for the class. They are not LiDAR heights. |
height_rule |
text | The rule that gave the heights. The top-level key height_rules has the values. |
|
ground_m |
number | m | The ground height at the center, from DriveRegion/region.bin. |
ground_min_m, ground_max_m |
number | m | The lowest and the highest ground height below the outline. |
ground_navd88_m |
number | m | The ground height in NAVD88. |
proposed_model |
text | generated (152), cottage (9) or villa (39). This is a proposal. regional_building_models.json has the decision. |
|
model_rule |
text | The rule that gave the model. | |
model_scale_length, model_scale_width |
number | The stretch of the supplied model. Only with cottage and villa. |
|
model_dimensions_verified |
flag | true for the two models. The audits of 3 October 2026 give the sizes. |
|
roof_2018_cover |
number | The part of the outline where the 2018 LiDAR shows a solid object. The script does not use its height. | |
in_indianamap_2018 |
flag | The outline touches an IndianaMap footprint of 2018. | |
flags |
array | The reasons for doubt. doubtful is true if there is a flag. |
| Flag | Count | Description |
|---|---|---|
outline_2018_only |
49 | Microsoft has no outline here. Make sure that the building is there in a recent image. |
not_in_2018_lidar |
11 | Nothing was there in 2018. The building is new or the outline is an error. |
substation_equipment_house |
3 | The outline is in the substation. |
tiny |
1 | The area is less than 20 m². |
on_road, sliver_or_ragged, overlaps_other_outline, crosses_tile_edge |
0 | No outline has these faults now. |
A house takes a supplied model if the two sides of its rectangle are 0.8 to 1.25 times the sides of the model. The size of a model is the size of its roof plan. The cottage is 14.41 m by 12.44 m. The villa is 18.32 m by 16.48 m.
Results/Assets/villa_source_audit.json and house_models_staged.json give these sizes.
A house with the villa has the two-storey eave height of 5.7 m. All other houses have one storey as a prior.
The key manual_models lists one object: the Dequine Substation of 345 kV, 4.98 ha, at east −1713 m, north −279 m.
The outline is from OpenStreetMap. The layers give no model for the substation. Make this model manually from images.
regional_woodlots.geojson and regional_trees.json#
A woodlot is closed canopy of the 2018 LiDAR that is larger than 0.5 ha and that a disc of 14 m fits in. Each woodlot has seeded trees on a lattice of 10.15 m with a random offset. This gives the woodland density of the tile, 97 trees for each hectare. A seeded tree is not at the position of a real tree. Canopy that is not a woodlot is scattered canopy: yards, roadsides and fence rows. Each crown of the canopy model gives one tree there.
| Name | Type | Unit | Description |
|---|---|---|---|
id (woodlot) |
text | RW01 to RW08. |
|
area_ha, canopy_2018_ha |
number | ha | The area of the polygon and the canopy in it. |
trees, trees_per_ha |
number | The seeded trees of the woodlot and their density. | |
height_2018_median_m, height_2018_p90_m |
number | m | The tree height priors of the woodlot. |
regional_trees.json has the schema acres-regional-trees-1. The key rows has one array for each tree. The key columns gives the sequence:
| Column | Type | Unit | Description |
|---|---|---|---|
id |
text | RTS and the lattice cell for a seeded tree. RTC and the canopy cell for a crown tree. The identifier does not change if other trees change. |
|
east_m, north_m |
number | m | The position of the trunk. |
ground_m |
number | m | The ground height from DriveRegion/region.bin. |
height_2018_m |
number | m | The canopy top of April 2018 within 3 m of the trunk, 4 m to 35 m. A prior. |
crown_width_m |
number | m | For a seeded tree, the width from the height (Popescu and Wynne, 2004). For a crown tree, the width of the 2018 crown. |
mesh |
text | elm_0, elm_1, elm_2 or broadleaf: the four tree meshes of the tile, with shares of 30, 25, 25 and 20 %. |
|
yaw_deg |
number | degree | A turn about the vertical axis from the seed. |
source |
text | woodlot_seed or canopy_crown. |
|
woodlot |
text | The woodlot of a seeded tree. null for a crown tree. |
The key clearance_m gives the minimum distance from a trunk to each object. No tree is in a field.
| Object | Minimum Distance (m) |
|---|---|
| Pavement of a Purdue road or parking lot | 1.5 |
| County road polygon | 4 |
| US 52 polygon | 12 |
| Building | 2 |
| Water | 1 |
| Rail line | 6 |
| Power line | 12 |
| Power tower, substation | 15 |
| Recorded route | 8 |
regional_fields.geojson#
A field is cultivated ground of the Cropland Data Layer (2 of the 5 years 2021 to 2025) or of the 2026 crop map. The roads and their verges, the yards, the canopy, the water, the rail line and the recorded route cut the fields. A change of the crop of 2025 or 2026 also cuts a field. The outlines are accurate to approximately 10 m. They are not survey data.
| Name | Type | Unit | Description |
|---|---|---|---|
id |
text | 77 names, RF001 to RF077, without a gap, by rows from the north-west. first_id is the number of the field in the first field layer, before the merge of thin fields. |
|
area_ha |
number | ha | The area of the polygon. The minimum is 0.2 ha. |
crop, land_cover |
text | corn (31 fields, 287.1 ha) or soybean (48 fields, 259.5 ha). The names are those of fields.json. |
|
crop_assumed |
flag | true if the 2026 crop map does not give corn or soybean (10 fields, 82.8 ha). |
|
absorbed |
list | The ground that the field has from other fields of the first layer (34 fields): from, field_removed, area_ha, crop_before and crop_assumed (true if the ground had a different crop). |
|
crop_assumed_area_ha |
number | ha | The sum of the absorbed ground with an assumed crop. The layer has 1.48 ha. |
crop_basis |
text | The evidence or the assumption. | |
crop_confidence |
text | high, medium or low, as in crops_2026.json. |
|
rotation_prior_2026 |
text | The crop that follows the crop of 2025 in the rotation. | |
s2_2026 |
object | The class of the Sentinel-2 crop map of 2026 and the part of the field in each class. | |
cdl |
object | The class and the purity of the Cropland Data Layer for each year. | |
headland_m |
number | m | The strip without crop: 1.8 m for corn and 1.3 m for soybean, as in vegetation.json. |
plant_date |
date | 2026-05-10, the default planting date of the game. It is not an estimate for the field. |
|
instances_estimate |
integer | The field area times the instance density of the crop patches of the tile. | |
label_enu_m, ground_m |
array, number | m | A point in the field and its ground height. |
An assumed crop is the crop that follows the crop of 2025 in the rotation. If 2025 gives no rotation, the assumed crop is corn. The largest assumed area is east of the tile. The 2026 crop map shows no summer crop there.
The key sliver_merge of the file is the record of the merge of the thin fields. It gives the rule, its thresholds
and the numbers that are not used any more. It also gives each move in sequence (actions) and the thin parts that
stay (thin_parts_kept).
The crop evidence of a field
(s2_2026, cdl, crop_basis) is that of the field before the merge.
The key field_shapes of the file is the record of the field shape rule, which makes the outlines regular after the
merge. The record has these parts:
- The rule, its thresholds and the treatment of each cause of an edge.
- The SHA-256 of the surface layer that the rule read.
- The field ground before and after, the thin parts that moved and the fields that the rule did not accept.
- One record for each field (
fields): the area and the vertices before and after, the ground that changed and the longest straight edge. It also gives the length of the first outline for each cause and the straight edges along a road or a lane.
The geometry of a field is the regular outline. The keys area_ha, instances_estimate, label_enu_m and
ground_m are also of the regular outline. The areas of absorbed are those of the merge.
The part visible_plots of this record is the record of the boundaries on the plot lines. It gives the hash of
the line layer, the thresholds and the counts of the plots and of the straight cuts. It gives the length of the
boundaries between two fields that is on a detected line. It also lists the visible lines beyond the field soil.
The key field_numbers of the file is the record of the numbering rule. It gives the rule, the row height, and the
row and the label point of each field. The records sliver_merge and absorbed use the numbers of the first field layer
(first_id).
regional_plot_lines.geojson#
Map/regional_plot_lines.py writes this layer. A feature is one straight line in EPSG:2968 ftUS.
| Key | Type | Unit | Description |
|---|---|---|---|
id |
string | PL0001 and up, in the sequence of the direction and the position. |
|
direction |
string | east_west or north_south. |
|
kind |
string | edge: one edge between two strips. lane: the middle of a grass lane or a track, from its two sides. |
|
width_m |
number | m | The width of a lane. 0 for an edge. |
length_m |
number | m | The length of the line: 60 m or more. |
strength |
number | The step across the line in units of the threshold: 1 or more. | |
step_v, step_ndvi |
number | The mean step of the brightness (gray levels) and of the vegetation index along the line. | |
bare_side |
string | The side that is brighter or has the lower vegetation index. Null for a lane. | |
crop_change_2026, in_two_years |
number, boolean | The largest change of the corn or soybean probability of the 2026 crop map across the line, and if it is 0.25 or more. | |
enu_m |
array | m | East and north of the two ends about the ACRE origin. |
The header of the file gives the image (product and flight dates), the thresholds and the calibration on the surveyed fields of the tile.
Validation Report#
Results/Map/regional_scene.json has the schema acres-regional-scene-1.
| Key | Contents |
|---|---|
checks |
The result of each check: equal rebuild, empty tile, no overlaps, tree clearances, woodlot density, coverage sum. |
buildings, trees, fields |
The counts by class, model, flag, mesh and crop. |
fields.crop_instances_estimate |
2.98 million crop instances at the patch densities of the tile (5132 for each hectare of corn, 5809 of soybean). The tile has 53,329 now. |
coverage |
The area of each class on a 1 m grid. Each cell has one class. |
not_modelled |
14 power towers, the power lines and the rail line. The layers give no model for them. |
inputs |
The URL, the license and the SHA-256 of each input. |
limits |
The limits of the layers. |
| Class | Area (ha) |
|---|---|
| Original tile | 193.09 |
| Fields | 546.58 |
| Woodlots | 41.10 |
| Scattered canopy | 14.50 |
| Road polygons | 12.78 |
| Road verges | 20.09 |
| Yards | 21.37 |
| Building footprints | 4.04 |
| Substation | 4.95 |
| Recorded route lane | 4.99 |
| Rail corridor | 1.58 |
| Water | 1.21 |
| Unclassified remainder | 27.14 |
| Total | 893.42 |
The remainder is 3.9 % of the area outside the tile. It is mostly grass and developed open ground. No layer gives objects for it.
Limits
The outlines, the classes and the heights of the buildings are priors. The canopy is from April 2018. The verge width, the yard width and the tree clearances from county roads are assumptions. Grass lanes between field strips are in the fields, unless the recorded route is on them.
regional_building_models.json#
This layer gives the model of each building of regional_buildings.geojson.
Map/regional_building_models.py writes it. See Tools and Scripts.
The schema is acres-regional-building-models-1. A generated building has the keys of building_models.json and more keys.
The game and ACRES Core do not read this layer at this time. The Blender generator and a later import task read it.
| Model Source | Count | Asset |
|---|---|---|
generated |
185 | One FBX file for each building. An example is bldg_RB002.fbx. |
villa |
10 | The working copy house_villa.fbx, with an X scale and a Y scale. |
cottage |
5 | The working copy house_cottage.fbx, with an X scale and a Y scale. |
| Style | Count | Look |
|---|---|---|
house |
99 | Siding or brick, a shingle roof, white trim, windows, a front door, garage doors on some houses, a chimney on some houses. |
mobile_home |
52 | A long box on a skirt of 0.6 m, a low roof, a door with steps. |
small_outbuilding |
26 | A plain shed or garage with one door. |
large_building |
5 | A metal barn in the style of the tile buildings. |
utility |
3 | A flat-roofed box. These are the equipment houses of the substation. |
villa, cottage |
10, 5 | The supplied models. |
Each model has these keys:
| Name | Type | Unit | Description |
|---|---|---|---|
id, class, flags, doubtful |
As in regional_buildings.geojson. The tool can add the flags steep_ground and plan_shrunk_to_clear. |
||
kind |
text | building for a generated building. supplied_model for the villa and the cottage. |
|
model_source |
text | generated, villa or cottage. |
|
asset_name |
text | The FBX name without the extension. | |
footprint_enu |
array | m | The outline, east and north of the ACRE origin. |
centre_enu |
array | m | The origin of the model. |
theta_deg |
number | degree | The direction of the local x axis, counter-clockwise from east. |
ground_m |
number | m | The height of the model origin. It is the highest ground below the model. |
ground_min_m, ground_max_m, ground_median_m |
number | m | The ground heights below the model, from DriveRegion/region.bin. |
foundation |
object | exposed_max_m is the ground range below the model. bottom_below_grade_plane_m is the depth of the foundation. steep is true above 1.5 m. |
|
placement |
object | x_cm, y_cm, z_cm, yaw_deg and scale for Unreal. |
|
height_m |
number | m | The height of the model above its origin. |
style |
object | The look of the building. See the next table. | |
plan |
text | Generated only. outline_rectangle, outline_rectangles or equal_area_rectangle. |
|
parts |
array | Generated only. Each part has rect, role (main or wing) and roof. |
|
proposed_model, supplied_fit |
Only where the layer proposed a supplied model. supplied_fit gives the result of the fit, or the reason in why. |
||
model_outline_enu |
array | m | Supplied only. The roof plan of the placed model. |
Key in style |
Description |
|---|---|
style |
The style from the table above. |
roof_form, pitch |
gable, hip, shed or flat, and the rise for each meter of run. |
wall, roof, trim, door |
The material slot names. |
wall_inset_m |
The distance from the roof outline to the walls. |
base_m |
The height of the floor above the model origin. |
front, front_basis |
The side of the main block with the front door: S, N, E or W in the local frame. The front points to the nearest road polygon within 150 m. |
garage_doors, chimney, porch |
The details of a house. |
A part has a rectangle [x0, y0, x1, y1] in the local frame. The rectangle is the roof outline of the part.
The roof object has the keys of building_models.json: form, axis, eave_m, ridge_m, slope and source.
The key extend shows a cross gable. The roof of the wing then continues into the roof of the larger part.
The top-level key materials gives the color and the roughness of each new material slot.
To put a model into the level, use placement:
| Key | Description |
|---|---|
x_cm, y_cm |
Unreal X = east × 100. Unreal Y = −north × 100. |
z_cm |
ground_m × 100. |
yaw_deg |
The Unreal yaw, −180 to 180. It is −theta_deg. |
scale |
[1, 1, 1] for a generated building. The X, Y and Z scales for a supplied model. |
Building Models Report#
Results/Map/regional_buildings.json has the schema acres-regional-buildings-1.
| Key | Contents |
|---|---|
checks |
The result of each check. All 22 checks pass. |
counts |
The counts by class, model source, style, roof form, wall material and flag. |
supplied_models |
The proposals, the placed models with their scales, and the reason for each rejected proposal. |
generated_fbx |
The triangles, the collision hulls and the material slots of the FBX files, from the manifest of the generator. |
triangles |
260,718 triangles in the 185 generated buildings. 174,275 triangles in the 15 placed supplied models. |
ground |
The ground range below the models and the list of the steep sites. |
accounting |
One line for each building: generated_fbx, villa, cottage, or skipped with a reason. The tool skips no building. |
per_building |
The model name, the triangles, the collision hulls and the ground range of each building. |
limits |
The limits of the models. |
| Class | Generated | Triangles, Lowest | Triangles, Median | Triangles, Highest |
|---|---|---|---|---|
house |
100 | 262 | 1682 | 3728 |
mobile_home |
52 | 936 | 1230 | 1534 |
small_outbuilding |
28 | 228 | 336 | 482 |
large_building |
5 | 1394 | 1934 | 2666 |
The checks make sure of these conditions:
- Each of the 200 buildings has one model. The outlines are the outlines of the layer.
- No model is in the original tile. No model is on a road polygon. No model touches a different model or a tile building.
- The origin height of each model is in the range of the ground below it. The foundation goes below the lowest ground.
- The eave heights are the class values. Each roof has the text
not measuredin its source. - Each supplied model is in the tolerance. Each working copy is equal to its FBX file after an import.
- The substation has no model. Its three equipment houses have the
utilitystyle. - Each generated building has one FBX file with collision. The file hashes are equal to the manifest.
Limits
The outlines are estimates. The classes, the heights, the roof forms and the colors are priors. The colors are not the colors of the real buildings. The sources do not show the front of a building. An outline with oblique wings becomes one rectangle of the same area.
Regional Ground Surfaces#
Map/Layers/regional_surfaces.geojson gives the ground surface of the regional ground outside the original tile.
Map/regional_ground.py writes it. See Tools and Scripts.
The game does not read this file. It reads the products that the tool makes from it:
| Product | Reader | Contents |
|---|---|---|
Surface classes in DriveRegion/region.bin |
Wheels, LiDAR ground class, crop bake, ACRES Core | One class for each 1.524 m cell. The class with the largest part of the 16 sub-samples of the cell. |
T_RegionSurfaceA, T_RegionSurfaceB, T_RegionRelief, T_RegionNoise |
The ground material M_DriveRegionGround |
Signed distances to the polygon outlines, the edge of each paved road, the tone of the asphalt and a noise for the grass. See Regional Ground Surfaces. |
DriveRegion/roads.geojson, markings.json |
Crop bake, tree and building checks, the paint meshes | The hard surfaces and the paint lines. |
regional_surfaces.geojson#
The file has 3,722 polygons. The geometry is EPSG:2968 in US survey feet, as the other layers.
The file order is the paint order: a polygon later in the file has the same or a higher priority.
Ground without a polygon is rough grass with the class grass.
The field soil of the regional fields comes from the field layer: Map/regional_surface_fields.py writes one polygon for each of the 77 fields. field_soil of the file is the record of that tool. It gives the hash of the field layer, the hash of the layer before and the counts.
Map/Layers/regional_first_field_soil.geojson has the 101 polygons of the first field soil. The field shape rule reads them. The farm tracks are not in this file. regional_ground.py reads regional_track_surfaces.geojson after this file.
| Name | Type | Description |
|---|---|---|
id |
text | RS00000 to RS03745 for the polygons of regional_ground.py, in file order. The 101 ids of the first field soil are not in the file. RS03746 to RS03822 for the field soil of the field layer. |
stage |
text | fields on a polygon of regional_surface_fields.py. Its source is the number of its field. |
look |
text | What the ground material draws: asphalt, concrete, gravel, lawn, water, woodland or field. |
class |
text | The surface class of region.bin: asphalt, concrete, gravel, grass, grass_lane or field. |
priority |
number | asphalt 60, concrete 55, gravel 40, route lane 20, lawn 10, water 8, woodland 6, field 4. The higher priority wins where polygons overlap. |
role |
text | road, junction, turnaround, drive, lot, yard, verge, route_lane or tile_edge. A field, a woodland and a water area have no role. |
source |
text | The record that gave the polygon: an OpenStreetMap way (osm:<id>), a county centreline, a Physical Facilities object, a layer name or the orthophoto. |
basis |
text | The evidence for the class and the width. |
assumed |
array | What is assumed and not measured: width, class, extent or edge. An empty array means that the source gives all of them. |
kind, name, width_m, width_measured |
On a road: the OpenStreetMap road type, the name, the median width and whether the image gave the width. | |
edge, kerbed |
text, boolean | On a paved road: kerb on a built-up street, grass where the pavement goes directly to grass. A polygon without edge has the shoulder of loose stone. |
pavement_end |
boolean | The asphalt that continues the tile road for 30 m on a regional gravel road. The material breaks its end into pieces. |
part, joined, building |
On a drive: its part (flare, apron, link, pad or new), how it joins its road and the building that it serves. |
|
area_m2, centroid_enu_m |
number, array | The area and the center in meters east and north of the ACRE origin. |
The look and the class differ in two cases:
| Look | Class | Where |
|---|---|---|
woodland, water |
field |
Woodlots and water areas. The class is the class that these cells had before. |
lawn |
grass_lane |
The mown lanes under the recorded route. |
| Look | Polygons | Area |
|---|---|---|
| Asphalt: US 52, roads, junctions, turnarounds, drives | 1,085 | 43.2 ha |
| Concrete: streets, drives, lots | 2,120 | 9.2 ha |
| Gravel: roads, drives, lots, the substation yard | 215 | 9.9 ha |
| Lawn: yards, verges, route lanes | 51 | 205.7 ha |
| Field soil | 165 | 978.1 ha |
| Woodland floor | 83 | 143.9 ha |
| Water | 3 | 1.4 ha |
The areas are polygon areas before the priority rule. region.bin has these class areas outside the tile:
| Class | Area |
|---|---|
| Field | 1,116.4 ha |
| Grass | 676.7 ha |
| Asphalt | 44.8 ha |
| Gravel | 10.2 ha |
| Concrete | 9.4 ha |
| Grass lane | 0.6 ha |
regional_trees_not_placed.json#
This file lists the 45 trees of regional_trees.json that stand on a hard surface, or nearer than 1.5 m to one.
regional_ground.py trees writes it. regional_tree_plan.py does not place these trees.
regional_trees.json keeps its bytes: the row index of a tree sets its scale variation.
regional_roads_provisional.geojson#
This file holds the 271 road polygons that expand_drive_region.py made from the county centrelines: ribbons of 6 m.
regional_scene.py built the regional buildings, trees and fields against these polygons, and they stay its input.
The checks of regional_ground.py, regional_trees_check.py and regional_buildings_check.py test the trees and the buildings against the measured roads.
DriveRegion/markings.json#
| Name | Type | Unit | Description |
|---|---|---|---|
schema |
text | acres-region-markings-1. |
|
width_m, lift_m |
number | m | The width of a line (0.15) and its height above the ground (0.03). |
lines[].colour |
text | yellow or white. |
|
lines[].points |
array | m | X and Y in turn, world meters, Y south. The points are less than 1 m apart. A broken line is one entry for each piece. |
lines[].width_m |
number | m | Optional. The width of this line when it is not the default. |
lines[].road |
text | The road of the line. | |
centre_lines |
array | The roads with a center line, with the evidence. | |
seam_shifts |
array | How far each US 52 line moved to meet the line of the tile at the tile edge. |
Core Scene#
acre_scene.json#
The file Game/Core/Data/acre_scene.json gives ACRES Core the static obstacles of the map: buildings, grain bins and trees.
ACRES Core uses them for the ray-cast LiDAR and for the collision test of the vehicles.
The schema is acres-core-scene-1. The frame is the world ENU frame in meters.
Placed structure triangles use a float32 buffer. Numerical precision does not establish survey or sensor accuracy.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
materials |
object | 16 keys | The LiDAR properties of each material, from sensors_polaris.json. |
|
material_names |
array | 16 names | The names of the materials. A material index refers to this list. | |
triangles_file |
path | acre_scene.triangles.f32 |
Little-endian float32 rows: three ENU vertices and a material index | |
triangle_count |
integer | triangles | 1,100,964 | Number of rows in the placed structure buffer |
cylinders |
array | m | 6,995 items | \([x, y, r, z_0, z_1, m]\): vertical trunk proxies with caps |
ellipsoids |
array | m | 13,235 items | \([x, y, z, r_x, r_y, r_z, m]\): proxies from current tree crown bounds |
obstacles |
array | m | scene-dependent | \([\text{kind}, z_0, z_1, x_0, y_0, x_1, y_1, \dots]\): collision outlines |
The current builder exports these shapes.
- Structures. Current source mesh triangles use each placed component's world transform. Buildings, bins, props and parked vehicles share this buffer.
- Trunks. A vertical cylinder bounds each actual trunk collider. This proxy does not establish exact contact agreement for every shape.
- Crowns. An ellipsoid uses each placed crown's world bounds. It does not reproduce individual animated leaves.
| Use | Item |
|---|---|
| Reader | FAcresScene::Load. It builds a bounding volume hierarchy and a collision grid with cells of 8 m. |
| Tool that writes it | Tools/Level/export_core_scene.py |
| Inputs of the tool | Current saved ACRE, its placed source meshes and colliders, sensor materials and scouting build inputs |
First execute the export script in the Unreal editor with the saved map loaded. It writes local staging and does not save the map. Build and apply the Core and scouting candidates together. The application rejects source changes after export.
ACRE/scene_identity.json records the source map and asset fingerprints.
Core rejects a changed local source file or a mismatched identity revision.
A standalone installation can omit Unreal sources or retain Git LFS pointers. Its generated identity manifest remains required.
The older Game/Core/Scripts/build_scene.py uses historical local dumps. It cannot overwrite the current verified scene.
scene = json.loads(
Path("Game/Core/Data/acre_scene.json").read_text())
print(scene["schema"]) # acres-core-scene-1
tri = np.fromfile(Path("Game/Core/Data") / scene["triangles_file"],
dtype="<f4").reshape(-1, 10)
print(tri.shape, len(scene["cylinders"]),
len(scene["ellipsoids"]), len(scene["obstacles"]))
# The current structure buffer has 1,100,964 rows.
print(scene["material_names"][int(tri[0, 9])])
Legacy Files#
road_mask.bin and grass_mask.json#
These two files are in Game/Content/Simulation. They describe the roads of a map that is not in the game now.
The game loads them, but the level ACRE uses the ACRE files of this page.
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
x0, y0 |
number | m | -810 | The world position of the first cell. |
width, height |
integer | cell | 1620, 1160 | The size of the mask. |
step |
number | m | 1.0 | The cell size. |
eligible_m2, density_per_m2 |
number | m², 1/m² | 481930, 10 | Values of a grass generator. The game does not read them. |
road_mask.bin is a uint8 grid with height rows and width columns. A value other than 0 is a road.
| Use | Item |
|---|---|
| Reader in the game | AAcresVehiclePawn (configuration load), SampleSurface for a map other than ACRE. |
| Tool that writes it | None in the repository. |