From a27904439e093e5ace4aa248217e97cd78525983 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 9 Dec 2021 17:56:37 +0100 Subject: [PATCH] Add comments --- scripts/slice.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/slice.ts b/scripts/slice.ts index 342dc22f9..c8c6331a0 100644 --- a/scripts/slice.ts +++ b/scripts/slice.ts @@ -4,6 +4,11 @@ import StaticFeatureSource from "../Logic/FeatureSource/Sources/StaticFeatureSou import * as readline from "readline"; import ScriptUtils from "./ScriptUtils"; +/** + * This script slices a big newline-delimeted geojson file into tiled geojson + * It was used to convert the CRAB-data into geojson tiles + */ + async function readFeaturesFromLineDelimitedJsonFile(inputFile: string): Promise { const fileStream = fs.createReadStream(inputFile);