app loads configuration from json at runtime

This commit is contained in:
geoffsee
2025-06-30 11:17:25 -04:00
parent 31bb3b336b
commit 08fb45dbaf
9 changed files with 275 additions and 84 deletions

24
config.json Normal file
View File

@@ -0,0 +1,24 @@
{
"osmData": {
"useLocalExtract": false,
"localFilePath": "virginia.osm.pbf",
"boundingBox": {
"south": 37.115,
"west": -76.396,
"north": 37.139,
"east": -76.345,
"description": "Poquoson, VA"
},
"overpassTimeout": 25
},
"projection": {
"origin": {
"latitude": 37.120907,
"longitude": -76.333694
}
},
"output": {
"fileName": "municipality.glb",
"autoOpen": true
}
}