"working"
This commit is contained in:
parent
8fc56f7487
commit
cc0c925b81
27 changed files with 4743 additions and 17591 deletions
|
@ -9,7 +9,7 @@ import ScriptUtils from "./ScriptUtils"
|
|||
|
||||
function makeConvex(file) {
|
||||
ScriptUtils.erasableLog("Handling", file)
|
||||
const geoJson = JSON.parse(fs.readFileSync(file, "UTF8"))
|
||||
const geoJson = JSON.parse(fs.readFileSync(file, { encoding: "utf8" }))
|
||||
const convex = GeoOperations.convexHull(geoJson, { concavity: 2 })
|
||||
if (convex.properties === undefined) {
|
||||
convex.properties = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue