Mercurial > lada > lada-server
view db_schema/stammdaten_fill_verwaltungsgrenze.sql @ 1275:a356b818389a
Use gem_id for ort_id default value if exists.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 01 Feb 2017 11:23:09 +0100 |
parents | f094aca05cf2 |
children |
line wrap: on
line source
INSERT INTO stammdaten.verwaltungsgrenze(gem_id, shape) SELECT verwaltungseinheit.id, gem_utm.geom FROM stammdaten.verwaltungseinheit JOIN geo.gem_utm ON verwaltungseinheit.id = gem_utm.ags;