14 lines
543 B
JavaScript
14 lines
543 B
JavaScript
const fs = require('fs');
|
|
|
|
async function checkOtherProjectJson() {
|
|
const data = JSON.parse(fs.readFileSync('Geodaten/Geodaten/project.json', 'utf8'));
|
|
console.log("Keys in Geodaten/Geodaten/project.json:", Object.keys(data));
|
|
if (data.wea) {
|
|
console.log("Found wea key with", data.wea.features.length, "features");
|
|
}
|
|
const netzKeys = Object.keys(data).filter(k => k.toLowerCase().includes('netz'));
|
|
console.log("Keys containing 'netz':", netzKeys);
|
|
}
|
|
|
|
checkOtherProjectJson().catch(err => console.error(err));
|