Mercurial > lada > lada-server
annotate db_schema/stammdaten_fill_verwaltungsgrenze.sql @ 1207:6692b3bdc49d
Backout 2f9dfd292ff1 because it reverts d667092cc788.
What it intended to fix should have been fixed already with 7f4c473e7856.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 02 Dec 2016 20:22:56 +0100 |
parents | 1bc8ab13e1f7 |
children | f094aca05cf2 |
rev | line source |
---|---|
1188
1bc8ab13e1f7
redesign stammdaten.verwaltungseinheit
Michael Stanko <mstanko@bfs.de>
parents:
diff
changeset
|
1 insert into stammdaten.verwaltungsgrenze(gem_id, shape) |
1bc8ab13e1f7
redesign stammdaten.verwaltungseinheit
Michael Stanko <mstanko@bfs.de>
parents:
diff
changeset
|
2 SELECT |
1bc8ab13e1f7
redesign stammdaten.verwaltungseinheit
Michael Stanko <mstanko@bfs.de>
parents:
diff
changeset
|
3 verwaltungseinheit.id, |
1bc8ab13e1f7
redesign stammdaten.verwaltungseinheit
Michael Stanko <mstanko@bfs.de>
parents:
diff
changeset
|
4 gem_utm.geom |
1bc8ab13e1f7
redesign stammdaten.verwaltungseinheit
Michael Stanko <mstanko@bfs.de>
parents:
diff
changeset
|
5 FROM |
1bc8ab13e1f7
redesign stammdaten.verwaltungseinheit
Michael Stanko <mstanko@bfs.de>
parents:
diff
changeset
|
6 stammdaten.verwaltungseinheit |
1bc8ab13e1f7
redesign stammdaten.verwaltungseinheit
Michael Stanko <mstanko@bfs.de>
parents:
diff
changeset
|
7 left join geo.gem_utm on verwaltungseinheit.id = gem_utm.ags; |