forked from MapComplete/MapComplete
Add comments
This commit is contained in:
parent
f29c62ab19
commit
a27904439e
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@ import StaticFeatureSource from "../Logic/FeatureSource/Sources/StaticFeatureSou
|
||||||
import * as readline from "readline";
|
import * as readline from "readline";
|
||||||
import ScriptUtils from "./ScriptUtils";
|
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<any[]> {
|
async function readFeaturesFromLineDelimitedJsonFile(inputFile: string): Promise<any[]> {
|
||||||
const fileStream = fs.createReadStream(inputFile);
|
const fileStream = fs.createReadStream(inputFile);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue