Full code cleanup

This commit is contained in:
Pieter Vander Vennet 2022-01-26 21:40:38 +01:00
parent 3a4a2a2016
commit fa971ffbbf
300 changed files with 16352 additions and 19284 deletions

View file

@ -6,7 +6,7 @@ import ScriptUtils from "./ScriptUtils";
import {Utils} from "../Utils";
/**
* This script slices a big newline-delimeted geojson file into tiled geojson
* This script slices a big newline-delimeted geojson file into tiled geojson
* It was used to convert the CRAB-data into geojson tiles
*/
@ -117,7 +117,7 @@ async function main(args: string[]) {
const keysToRemove = ["STRAATNMID", "GEMEENTE", "POSTCODE"]
for (const f of allFeatures) {
if(f.properties === null){
if (f.properties === null) {
console.log("Got a feature without properties!", f)
continue
}