You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: riversite_input_data_setup.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ create index if not exists admins__name on admins (name);
4
4
deletefrom admins where level IS NULLOR name IS NULL;
5
5
6
6
-- merge things with same name & iso
7
-
create temp table new_admins asselectmin(ogc_fid) as ogc_fid, name, iso, min(parent_iso) as parent_iso, min(level) as level, ST_Union(geom) as geom from admins group by (name, iso);
7
+
create temp table new_admins asselectmin(ogc_fid) as ogc_fid, name, iso, min(parent_iso) as parent_iso, min(level) as level, ST_Multi(ST_Union(geom)) as geom from admins group by (name, iso);
0 commit comments