Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
2861:b0132e1b9719 | 2862:998f1a7dcfde |
---|---|
8 from fixpoints import Fixpoint | 8 from fixpoints import Fixpoint |
9 from buildings import Building | 9 from buildings import Building |
10 from crosssectiontracks import CrosssectionTrack | 10 from crosssectiontracks import CrosssectionTrack |
11 from floodplains import Floodplain | 11 from floodplains import Floodplain |
12 from boundaries import HydrBoundary, HydrBoundaryPoly | 12 from boundaries import HydrBoundary, HydrBoundaryPoly |
13 from hws import HWS | |
14 from gauges import GaugeLocation | |
15 from catchments import Catchment | |
13 | 16 |
14 DBCONN='OCI:user/pass@host' | 17 DBCONN='OCI:user/pass@host' |
15 PATH='/path/to/Gewaesser/Elbe' | 18 PATH='/path/to/Gewaesser/Elbe' |
16 RIVER_ID=the_river_id | 19 RIVER_ID=the_river_id |
17 DEST_SRS=31467 | 20 DEST_SRS=31467 |
26 Fixpoint(DBCONN, RIVER_ID, DEST_SRS), | 29 Fixpoint(DBCONN, RIVER_ID, DEST_SRS), |
27 Building(DBCONN, RIVER_ID, DEST_SRS), | 30 Building(DBCONN, RIVER_ID, DEST_SRS), |
28 Floodplain(DBCONN, RIVER_ID, DEST_SRS), | 31 Floodplain(DBCONN, RIVER_ID, DEST_SRS), |
29 HydrBoundary(DBCONN, RIVER_ID, DEST_SRS), | 32 HydrBoundary(DBCONN, RIVER_ID, DEST_SRS), |
30 HydrBoundaryPoly(DBCONN, RIVER_ID, DEST_SRS), | 33 HydrBoundaryPoly(DBCONN, RIVER_ID, DEST_SRS), |
34 HWS(DBCONN, RIVER_ID, DEST_SRS), | |
35 GaugeLocation(DBCONN, RIVER_ID, DEST_SRS), | |
36 Catchment(DBCONN, RIVER_ID, DEST_SRS), | |
31 UESG(DBCONN, RIVER_ID, DEST_SRS) | 37 UESG(DBCONN, RIVER_ID, DEST_SRS) |
32 ] | 38 ] |
33 | 39 |
34 | 40 |
35 if __name__ == '__main__': | 41 if __name__ == '__main__': |