diff db_schema/stammdaten_fill_verwaltungsgrenze.sql @ 1188:1bc8ab13e1f7

redesign stammdaten.verwaltungseinheit
author Michael Stanko <mstanko@bfs.de>
date Fri, 25 Nov 2016 09:37:39 +0100
parents
children f094aca05cf2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db_schema/stammdaten_fill_verwaltungsgrenze.sql	Fri Nov 25 09:37:39 2016 +0100
@@ -0,0 +1,7 @@
+insert into stammdaten.verwaltungsgrenze(gem_id, shape)
+SELECT 
+  verwaltungseinheit.id,
+  gem_utm.geom
+FROM 
+  stammdaten.verwaltungseinheit
+left join geo.gem_utm on verwaltungseinheit.id = gem_utm.ags;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)