const AdmZip = require('adm-zip');
const path = require('path');

const zipPath = path.resolve('public/daten/Windenergiebereiche-Regionalplanung-NRW_EPSG25832_Geodatabase.zip');

try {
    const zip = new AdmZip(zipPath);
    const zipEntries = zip.getEntries();

    console.log(`Contents of ${zipPath}:`);
    zipEntries.forEach(entry => {
        console.log(entry.entryName);
    });
} catch (e) {
    console.error("Error reading zip:", e.message);
}
