diff flys-backend/contrib/shpimporter/shpimporter.py @ 2862:998f1a7dcfde

New shape importers and schema modifications. flys-backend/trunk@4345 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 04 May 2012 06:58:00 +0000
parents b0132e1b9719
children 59ca5dab2782
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/shpimporter.py	Thu May 03 14:19:52 2012 +0000
+++ b/flys-backend/contrib/shpimporter/shpimporter.py	Fri May 04 06:58:00 2012 +0000
@@ -10,6 +10,9 @@
 from crosssectiontracks import CrosssectionTrack
 from floodplains import Floodplain
 from boundaries import HydrBoundary, HydrBoundaryPoly
+from hws import HWS
+from gauges import GaugeLocation
+from catchments import Catchment
 
 DBCONN='OCI:user/pass@host'
 PATH='/path/to/Gewaesser/Elbe'
@@ -28,6 +31,9 @@
         Floodplain(DBCONN, RIVER_ID, DEST_SRS),
         HydrBoundary(DBCONN, RIVER_ID, DEST_SRS),
         HydrBoundaryPoly(DBCONN, RIVER_ID, DEST_SRS),
+        HWS(DBCONN, RIVER_ID, DEST_SRS),
+        GaugeLocation(DBCONN, RIVER_ID, DEST_SRS),
+        Catchment(DBCONN, RIVER_ID, DEST_SRS),
         UESG(DBCONN, RIVER_ID, DEST_SRS)
         ]
 

http://dive4elements.wald.intevation.org