Skip to content

Commit 923c90a

Browse files
committed
Merge branch 'release/v0.4.2' of https://github.com/openego/data_processing into release/v0.4.2
2 parents 92bbf0e + 8c5adaf commit 923c90a

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

dataprocessing/sql_snippets/ego_dp_versioning_mviews.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ CREATE MATERIALIZED VIEW supply.ego_dp_conv_powerplant_ego100_mview AS
4545
SELECT
4646
version,
4747
preversion,
48-
gid,
48+
id,
4949
bnetza_id,
5050
company,
5151
name,

preprocessing/sql_snippets/ego_dp_preprocessing_conv_powerplant.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ SELECT obj_description('model_draft.ego_dp_supply_conv_powerplant'::regclass)::j
176176
INSERT INTO model_draft.ego_dp_supply_conv_powerplant
177177
SELECT
178178
'v0.3.0'::text as preversion,
179-
gid as id,
179+
id,
180180
bnetza_id,
181181
company,
182182
name,
@@ -237,11 +237,11 @@ UPDATE model_draft.ego_dp_supply_conv_powerplant
237237
-- Correct an invalid geom in the register
238238
UPDATE model_draft.ego_dp_supply_conv_powerplant
239239
SET lat = 48.0261021
240-
WHERE gid = 493;
240+
WHERE id = 493;
241241

242242
UPDATE model_draft.ego_dp_supply_conv_powerplant
243243
set geom = ST_SetSRID(ST_MakePoint(lon,lat),4326)
244-
WHERE gid = 493;
244+
WHERE id = 493;
245245

246246

247247
-- Update Voltage Level of Power Plants according to allocation table

preprocessing/sql_snippets/supply/ego_dp_supply_metadata.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ COMMENT ON TABLE supply.ego_dp_conv_powerplant
147147
"format": "PostgreSQL",
148148
"fields": [
149149
{"name": "version", "description": "version number of eGo data processing", "unit": "" },
150-
{"name": "gid", "description": "Unique identifier", "unit": "" },
150+
{"name": "id", "description": "Unique identifier", "unit": "" },
151151
{"name": "bnetza_id", "description": "Bundesnetzagentur unit ID", "unit": " " },
152152
{"name": "company", "description": "Name of company", "unit": " " },
153153
{"name": "name", "description": "name of unit ", "unit": " " },

0 commit comments

Comments
 (0)