-- 1. Aktualisieren der Haupttabelle "projekte" UPDATE geodaten.projekte SET name = 'trasse_bw_scheddebrock' WHERE name = 'BW Scheddebrock'; UPDATE geodaten.projekte SET name = 'projekt_bw_samern-ohne' WHERE name = 'bw_samern-ohne'; UPDATE geodaten.projekte SET name = 'projekt_bw_test' WHERE name = 'test'; UPDATE geodaten.projekte SET name = 'projekt_bw_an_der_landwehr' WHERE name ILIKE '%landwehr%'; -- 2. Aktualisieren der Verknüpfungen in den Standorten (WEA) UPDATE geodaten.wea_standorte SET projekt_id = 'trasse_bw_scheddebrock' WHERE projekt_id = 'BW Scheddebrock'; UPDATE geodaten.wea_standorte SET projekt_id = 'projekt_bw_samern-ohne' WHERE projekt_id = 'bw_samern-ohne'; UPDATE geodaten.wea_standorte SET projekt_id = 'projekt_bw_test' WHERE projekt_id = 'test'; UPDATE geodaten.wea_standorte SET projekt_id = 'projekt_bw_an_der_landwehr' WHERE projekt_id ILIKE '%landwehr%'; -- 3. Nordex N175 Anlage mit Gesamthöhe 250m hinzufügen INSERT INTO geodaten.anlagendaten_wea (hersteller, anlagentyp, nabenhoehe, rotordurchmesser, nennleistung) VALUES ('Nordex', 'N175/6.X', 162.5, 175, 6.8) ON CONFLICT DO NOTHING;