Skip to content

Commit

Permalink
add template for all methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludee committed Aug 14, 2018
1 parent f403a16 commit 639fb7a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions preprocessing/sql_snippets/openstreetmap/ego_pp_osm_deu_power.sql
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,39 @@ INSERT INTO sandbox.ego_pp_osm_deu_power_point_reaosm (osm_id, rea_method, geom)
FROM sandbox.ego_pp_osm_deu_power_point_mview
WHERE
ORDER BY osm_id;

-- insert M2
INSERT INTO sandbox.ego_pp_osm_deu_power_point_reaosm (osm_id, rea_method, geom)
SELECT osm_id,
'M1',
geom
FROM sandbox.ego_pp_osm_deu_power_point_mview
WHERE
ORDER BY osm_id;

-- insert M3
INSERT INTO sandbox.ego_pp_osm_deu_power_point_reaosm (osm_id, rea_method, geom)
SELECT osm_id,
'M1',
geom
FROM sandbox.ego_pp_osm_deu_power_point_mview
WHERE
ORDER BY osm_id;

-- insert M4
INSERT INTO sandbox.ego_pp_osm_deu_power_point_reaosm (osm_id, rea_method, geom)
SELECT osm_id,
'M1',
geom
FROM sandbox.ego_pp_osm_deu_power_point_mview
WHERE
ORDER BY osm_id;

-- insert M5
INSERT INTO sandbox.ego_pp_osm_deu_power_point_reaosm (osm_id, rea_method, geom)
SELECT osm_id,
'M1',
geom
FROM sandbox.ego_pp_osm_deu_power_point_mview
WHERE
ORDER BY osm_id;

0 comments on commit 639fb7a

Please sign in to comment.