landkreise

This commit is contained in:
2019-01-22 17:16:19 +01:00
parent 87d6e0960f
commit 81ecdd2890
9 changed files with 1258 additions and 4 deletions

417
additional/G4+6_2.geojson Normal file

File diff suppressed because one or more lines are too long

417
additional/G4+6_3.geojson Normal file

File diff suppressed because one or more lines are too long

417
additional/G4+6_4.geojson Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
const fs = require('fs');
let str = fs.readFileSync('./landkreise_simplify20.geojson',{encoding:'UTF-8'});
let str = fs.readFileSync('./landkreise_simplify200_2.geojson',{encoding:'UTF-8'});
str = str.replace('DE1",',"DE1\", 'BUND':'Baden-Württemberg', 'BEZIRK': '', 'KREIS': ''");
str = str.replace('DE11",',"DE11\", 'BUND':'Baden-Württemberg', 'BEZIRK': 'Stuttgart', 'KREIS': ''");
str = str.replace('DE111",',"DE111\", 'BUND':'Baden-Württemberg', 'BEZIRK': 'Stuttgart', 'KREIS': 'Stuttgart, Stadtkreis'");
@@ -457,4 +457,4 @@ str = str.replace('DEG0L",',"DEG0L\", 'BUND':'Thüringen', 'BEZIRK': 'Thüringen
str = str.replace('DEG0M",',"DEG0M\", 'BUND':'Thüringen', 'BEZIRK': 'Thüringen', 'KREIS': 'Altenburger Land'");
str = str.replace('DEG0N",',"DEG0N\", 'BUND':'Thüringen', 'BEZIRK': 'Thüringen', 'KREIS': 'Eisenach, Kreisfreie Stadt'");
str = str.replace('DEG0P",',"DEG0P\", 'BUND':'Thüringen', 'BEZIRK': 'Thüringen', 'KREIS': 'Wartburgkreis'");
fs.writeFileSync('./landkreise_simple20.geojson', str);
fs.writeFileSync('./landkreise_simple200.geojson', str);