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

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

try {
    const zip = new AdmZip(zipPath);
    const zipEntries = zip.getEntries();
    console.log("Entries in zip:");
    zipEntries.forEach(entry => {
        console.log(entry.entryName);
    });
} catch (e) {
    console.error("Error reading zip:", e);
}
