Completed overall testing and cases dashboard.

This commit is contained in:
Joshua Bemenderfer
2021-12-31 12:57:47 -05:00
parent bbaef02acb
commit e37988dd2f
518 changed files with 17463 additions and 285 deletions

13
public/maps/parse-map.js Normal file
View File

@@ -0,0 +1,13 @@
const fs = require('fs')
const countyMap = require('./ga-13-georgia-counties.raw.json')
countyMap.objects.collection.geometries.forEach(county => {
const id = county.properties.NAME.toLowerCase().split(' ').join('-')
county.properties.name = county.properties.NAME
county.properties.id = id
delete county.properties.NAME
county.id = `ga-13-georgia-counties.${id}`
})
fs.writeFileSync('./ga-13-georgia-counties.json', JSON.stringify(countyMap, null, ' '))