Updated Data model (markdown)

Azgaar 2024-08-17 15:24:03 +02:00
parent cf98ff7746
commit 400de709fd

@ -196,8 +196,8 @@ Provinces data is stored as an array of objects with strict element order. Eleme
* `center`: `number` - cell id of province center (initial cell)
* `pole`: `number[]` - state pole of inaccessibility (visual center) coordinates, see [the concept description](https://blog.mapbox.com/a-new-algorithm-for-finding-a-visual-center-of-a-polygon-7c77e6492fbc?gi=6bd4fcb9ecc1)
* `area`: `number` - province area in pixels
* `burgs`: `number` - id of province capital burg if any
* `burgs`: `number[]` - id of burgs within the province
* `burg`: `number` - id of province capital burg if any
* `burgs`: `number[]` - id of burgs within the province. Optional (added when Province editor is opened)
* `cells`: `number` - number of cells within the province
* `rural`: `number` - rural (non-burg) population of province cells. In population points
* `urban`: `number` - urban (burg) population of state province. In population points