Data model (in progress) - Azgaar/Fantasy-Map-Generator GitHub Wiki
In this document I would like to outline the expected data structure.
Relevant links:
Structure:
{
"meta": {
"copyright": "Azgaar's Fantasy Map Generator",
"license": "MIT",
"source": "http://azgaar.github.io/Fantasy-Map-Generator",
"seed": "342342342323",
"createdOn": "2023-09-11T23:36:17.227Z",
"updatedOn": "2023-09-11T23:42:31.748Z",
"revision": 2,
"initialVersion": "1.91.12",
"currentVersion": "1.93.03",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
},
"settings": {
"graph": {
"width": 1280,
"heigh": 740,
"points": 50000
},
"heightmap": {
"template": "Volcano",
"isRandom": false,
"isPrecreated": false,
"isCustom": false
},
"cultures": {
"set": "Oriental",
"limit": 11,
"sizeVariety": 2,
"growthRate": 1.3
},
"states": {
"limit": 14,
"sizeVariety": 2,
"growthRate": 3,
"labels": {
"mode": "auto"
}
},
"provinces": {
"ratio": 30
},
"burgs": {
"limit": null,
"showMfcgMap": true
},
"religions": {
"limit": 7
},
"labels": {
"autoHide": true,
"rescaleOnZoom": true
},
"notes": {
"pinned": false
},
"scaleBar": {
"label": "",
"position": {
"x": 99,
"y": 99
}
},
"layers": {
"heightmap": false,
"states": true
}
},
"style": {
"scaleBar": {
"size": 2,
"backOpacity": 0.2,
"backColor": "#ffffff",
}
},
"world": {
"name": "Narnia",
"calendar": {
"year": 2024,
"era": "Test Era",
"eraShort": "TE"
},
"climate": {
"temperature": {
"equator": 30,
"northPole": -30,
"southPole": -25
},
"winds": [225,45,225,315,135,315],
"precipitation": 100
},
"geography": {
"mapSize": 11,
"latitudeShift": 50,
"coordinates": {
"latN": 34
}
},
"measurements": {
"distance": {
"unit": "m",
"scale": 3
},
"area": {
"unit": "square",
"scale": 1
},
"height": {
"unit": "ft",
"exponent": 2
},
"temperature": {
"unit": "°C",
"scale": 1
},
"population": {
"scale": 1000,
"urbanization": {
"rate": 1,
"density": 10
}
}
},
"rulers": {
"0": {
"i": 0,
"type": "ruler",
"points": [0,0],[642,17](/Azgaar/Fantasy-Map-Generator/wiki/0,0],[642,17),
}
},
"military": {
"units": {
"0": {
"name": "infantry"
}
}
},
"biomes": {
"0": {
"name": "Marine",
"isCustom": false
}
},
"states": {
"0": {},
"1": {}
},
"notes": {
"0": {}
}
},
"grid": {
"cells": {
"i": [],
"temp": []
},
"vertices": {
"c": [](/Azgaar/Fantasy-Map-Generator/wiki/)
}
},
"pack": {
"cells": {
"i": [],
"g": [],
"states": []
},
"vertices": {
"c": [](/Azgaar/Fantasy-Map-Generator/wiki/)
}
}
}