Skip to content

Commit 1268752

Browse files
author
WolfBunke
authored
Merge pull request #244 from openego/bugfix/change_srid
change SRID
2 parents 109cb62 + f391088 commit 1268752

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

preprocessing/sql_snippets/ego_dp_preprocessing_res_powerplant.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,11 @@ UPDATE model_draft.ego_dp_supply_res_powerplant
285285
WHEN eeg_id LIKE '%%BALTIC%%'
286286
THEN (SELECT geom from model_draft.ego_dp_supply_res_powerplant where id = 1561137)
287287
WHEN eeg_id LIKE '%%RIFFE%%'
288-
THEN ST_SetSRID(ST_MakePoint(6.48, 53.69),3035)
288+
THEN ST_Transform(ST_SetSRID(ST_MakePoint(6.48, 53.69),4326), 3035)
289289
WHEN eeg_id LIKE '%%ALPHAVENTUE%%'
290-
THEN ST_SetSRID(ST_MakePoint(6.598333, 54.008333),3035)
290+
THEN ST_Transform(ST_SetSRID(ST_MakePoint(6.598333, 54.008333),4326), 3035)
291291
WHEN eeg_id LIKE '%%BAOEE%%'
292-
THEN ST_SetSRID(ST_MakePoint(5.975, 54.358333),3035)
292+
THEN ST_Transform(ST_SetSRID(ST_MakePoint(5.975, 54.358333),4326), 3035)
293293
END)
294294
WHERE postcode = '00000' OR postcode = 'keine' or postcode = 'O04WF' AND generation_subtype = 'wind_offshore';
295295

0 commit comments

Comments
 (0)