Skip to content

Commit 9e1cf39

Browse files
committed
Merge branch 'release/v0.3' of https://github.com/openego/data_processing into release/v0.3
2 parents 09a88d6 + 8868e39 commit 9e1cf39

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

preprocessing/sql_snippets/ego_dp_res_rea_by_scenario.sql

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1558,6 +1558,12 @@ WHERE ST_Intersects(regions.geom, upt.geom)
15581558
AND generation_subtype = 'wind_onshore'
15591559
And upt.nuts is null;
15601560

1561+
-- Change geom to SRID 4326
1562+
ALTER TABLE model_draft.ego_dp_supply_res_powerplant
1563+
ALTER COLUMN geom TYPE geometry(Point, 4326)
1564+
USING ST_Transform(ST_SetSRID(geom,3035),4326);
1565+
1566+
15611567
-- VACUUM FULL ANALYZE model_draft.ego_dp_supply_res_powerplant;
15621568
-- MView for scenarios in dataprocessing/sql_snippets/ego_dp_powerflow_create_pp_mview.sql
15631569

@@ -1576,4 +1582,4 @@ DROP TABLE IF EXISTS model_draft.ego_supply_res_biomass_2050_temp CASCADE;
15761582
DROP TABLE IF EXISTS model_draft.ego_supply_res_pv_2050_germany_mun_temp CASCADE;
15771583
DROP TABLE IF EXISTS model_draft.ego_supply_res_hydro_2050_temp CASCADE;
15781584
DROP TABLE IF EXISTS model_draft.ego_supply_res_chp_2050_temp CASCADE;
1579-
*/
1585+
*/

0 commit comments

Comments
 (0)