annotate flys-backend/doc/documentation/de/importer-geodaesie.tex @ 3670:6c0d6d74139c

Documented install steps for Oracle Instantclient, Python and GDAL. flys-backend/trunk@5293 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 29 Aug 2012 13:25:30 +0000
parents 3ea5e835ecce
children 924055b11545
rev   line source
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 \section{Geodatenimport}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3 Der Geodaten Importer ist ein in Python geschriebenes Kommandozeilen Tool zum
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
4 Import von Shapefiles in eine Datenbank. Zum Lesen der Shapefiles und zum
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
5 Schreiben der Geodaten in die Datenbank wird GDAL verwendet. Zum Import in eine
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
6 Oracle Datenbank ist es erforderlich, dass GDAL und GDAL Python Bindungs mit
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
7 Oracle Unterst�tzung installiert sind. Weitere Details hierzu befinden sich im
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
8 Kapitel \ref{Systemanforderungen} und \ref{Installationsanleitung}.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
9
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
10 Der Importer kann mit einem Shellscript von der Kommandozeilen gestartet werden
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
11 (siehe Kapitel \ref{Starten des Geodaten Importers}). Nach dem Start wird anhand der
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 Konfiguration festgestellt, welche Klassen von Shapefiles aus dem Dateisystem
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 importiert werden sollen. F�r jede Klasse gibt es hierzu einen speziellen
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14 Parser, der die speziellen Attribute eines Shapefiles liest und in die ent-
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
15 sprechende Relation der Datenbank schreibt. Die Parser sind speziell auf das
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16 Dateisystem der BfG ausgerichtet. So wird z.B. erwartet, dass die Shapefiles der
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
17 Gew�sserachse im Ordner $Geodaesie/Flussachse+km$ liegen. Weitere Informationen zu
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
18 den einzelnen Parsern sind dem n�chsten Kapitel \ref{Beschreibung der Parser} zu
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
19 entnehmen. Der Erfolg oder Misserfolg eines Shape-Imports wird je nach
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
20 Konfiguration im Logfile vermerkt. Folgende Eintr�ge k�nnen dem Logfile
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
21 entnommen werden:
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
22
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
23 \textbf{INFO: Inserted 4 features}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
24 \\Gibt die Anzahl der erfolgreich importierten Features an.\\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
25
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
26 \textbf{INFO: Failed to create 2 features}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
27 \\Gibt die Anzahl der Features an, die nicht importiert werden konnten.\\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
28
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
29 \textbf{INFO: Found 3 unsupported features}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
30 \\Gibt die Anzahl der Features an, die aufgrund ihres Datentyps nicht importiert
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
31 werden konnten. Z.B: es werden Linien erwartet, im Shapefile sind jedoch
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
32 Polygone enthalten.\\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
33
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
34 \textbf{ERROR: Unable to insert feature: DETAIL}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
35 \\Beim Lesen der Attribute eines Features ist ein Fehler aufgetreten.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
36 Das Feature konnte nicht in die Datenbank geschrieben werden.\\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
37
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
38 \textbf{ERROR: Exception while committing transaction}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
39 \\Beim Abschluss des Schreib-Vorgangs in die Datenbank ist ein unerwarteter
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
40 Fehler aufgetreten. Die Features des Shapes sind nicht importiert worden.\\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
41
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
42 Damit die Geodaten eines Shapes sp�ter eindeutig in der Datenbank identifiziert
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
43 werden k�nnen, wird f�r jede Geometrie der Pfad des Shapes im Dateisystem in
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
44 einer Spalte der Datenbank gespeichert. Anwendungen, die auf der Datenbank
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
45 aufbauen, k�nnen die Geodaten eines Shapefiles sp�ter anhand dieses Merkmals
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
46 gruppieren und anzeigen.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
47
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
48
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
49 \subsection{Beschreibung der Parser}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
50 \label{Beschreibung der Parser}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
51
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
52 Wie im letzten Kapitel beschrieben, sind die Parser speziell an das Dateisystem
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
53 der BfG ausgerichtet. Im folgenden werden zu jedem Parser folgende Informationen
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
54 angegeben:
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
55
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
56 \textbf{Pfad}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
57 \\Der Pfad, in dem die Shapefiles im Dateisystem abgelegt sein m�ssen ausgehend
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
58 vom Gew�sser Verzeichnis.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
59
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
60 \textbf{Geometrie}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
61 \\Der Geometrie Typ, der f�r diese Klasse von Shapefiles erwartet wird.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
62
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
63 \textbf{Attribute}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
64 \\Eine Liste der Attribute, die vom Parser aus dem Shape gelesen werden.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
65
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
66
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
67 \subsubsection{Achsen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
68 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
69 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
70 Pfad & Geodaesie/Flussachse+km \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
71 Geometrie & LINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
72 Attribute & name, kind \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
73 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
74
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
75
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
76 \subsubsection{Hydrologische Grenzen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
77 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
78 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
79 Pfad & Hydrologie/Hydr.Grenzen/Linien \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
80 Geometrie & LINESTRING, POLYGON \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
81 Attribute & name, kind \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
82 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
83
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
84 \subsubsection{Bauwerke}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
85 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
86 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
87 Pfad & Geodaesie/Bauwerke \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
88 Geometrie & LINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
89 Attribute & name, Name, KWNAAM \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
90 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
91
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
92
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
93 \subsubsection{Einzugsgebiete}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
94 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
95 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
96 Pfad & Hydrologie/Einzugsgebiet \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
97 Geometrie & POLYGON, MULTIPOLYGON \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
98 Attribute & name, Name, AREA, area \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
99 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
100
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
101
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
102 \subsubsection{Querprofilspuren}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
103 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
104 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
105 Pfad & Geodaesie/Querprofile \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
106 Geometrie & LINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
107 Attribute & KILOMETER, KM, STATION, ELEVATION \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
108 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
109
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
110
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
111 \subsubsection{Festpunkte}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
112 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
113 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
114 Pfad & Geodaesie/Festpunkte \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
115 Geometrie & POINT \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
116 Attribute & name, KM, ELBE\_KM, X, Y, HPGP \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
117 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
118
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
119
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
120 \subsubsection{Talaue}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
121 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
122 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
123 Pfad & Hydrologie/Hydr.Grenzen \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
124 Geometrie & POLYGON, MULTIPOLYGON \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
125 Attribute & name \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
126 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
127
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
128
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
129 \subsubsection{Pegelstationen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
130 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
131 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
132 Pfad & Hydrologie/Streckendaten \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
133 Geometrie & POINT \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
134 Attribute & Name, name, MPNAAM \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
135 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
136
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
137
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
138 \subsubsection{Hochwasserschutzanlagen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
139 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
140 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
141 Pfad & Hydrologie/HW-Schutzanlagen \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
142 Geometrie & LINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
143 Attribute & TYP, Bauart, Name, name \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
144 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
145
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
146
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
147 \subsubsection{Kilometrierung}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
148 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
149 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
150 Pfad & Geodaesie/Flussachse+km \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
151 Geometrie & POINT \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
152 Attribute & name, km, KM \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
153 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
154
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
155
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
156 \subsubsection{Linien}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
157 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
158 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
159 Pfad & Geodaesie/Linien \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
160 Geometrie & LINESTRING, MULTILINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
161 Attribute & name, TYP, Z \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
162
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
163 Anmerkung & Wenn kein Attribut 'TYP' definiert ist, wird standardm��ig der Wert \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
164 & 'DAMM' angenommen. Fehlt ein Attribut 'Z' wird als '9999' als H�he \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
165 & angenommen. \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
166 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
167
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
168
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
169 \subsubsection{�berschwemmungsfl�che}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
170 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
171 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
172 Pfad & Hydrologie/UeSG/Berechnung \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
173 Geometrie & POLYGON, MULTIPOLYGON \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
174 Attribut & name, diff, count, area, perimeter \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
175 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
176
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
177
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
178 \subsection{Systemanforderungen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
179 \label{Systemanforderungen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
180 \begin{itemize}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
181 \item Oracle Datenbank inkl. Schema f�r FLYS
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
182 \item GDAL Binding f�r Python mit Oracle Support
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
183 \item ogr2ogr
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
184 \item Python $>=$ 2.6
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
185 \end{itemize}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
186
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
187
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
188 \subsection{Installationsanleitung}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
189 \label{Installationsanleitung}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
190 \begin{itemize}
3670
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
191
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
192 \item Python\\
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
193 Zum Starten des Importers ist es notwendig Python zu installieren. Dies k�nnen
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
194 Sie mit folgendem Befehl auf der Kommandozeile erledigen:
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
195
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
196 \begin{lstlisting}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
197 zypper in python
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
198 \end{lstlisting}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
199
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
200 \item \todo ogr2ogr installieren?
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
201
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
202 \item \todo python-gdal; woher?
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
203
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
204 \item Oracle Instantclient\\
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
205 Der Oracle Instantclient 11.2 wird ben�tigt, damit der Importer mittels Python
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
206 und GDAL in die bestehende Oracle Datenbank schreiben kann. Dazu ist es
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
207 erforderlich, folgende Archive von Oracle herunterzuladen:
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
208
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
209 \begin{itemize}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
210 \item \todo URL zu instantclient-basic-linux-x86-64-11.2.0.2.0.zip
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
211 \item \todo URL zu instantclient-sdk-linux-x86-64-11.2.0.2.0.zip
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
212 \item \todo URL zu instantclient-sqlplus-linux-x86-64-11.2.0.2.0.zip
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
213 \end{itemize}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
214
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
215 Anschlie�end f�hren Sie folgende Befehle auf der Kommandozeile aus:
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
216
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
217 \begin{lstlisting}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
218
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
219 mkdir /opt
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
220
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
221 unzip ~/instantclient-basic-linux-x86-64-11.2.0.2.0.zip -d /opt
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
222 unzip ~/instantclient-sdk-linux-x86-64-11.2.0.2.0.zip -d /opt
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
223 unzip ~/instantclient-sqlplus-linux-x86-64-11.2.0.2.0.zip -d /opt
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
224
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
225 mkdir /opt/instantclient_11_2/lib
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
226 cd /opt/instantclient_11_2/lib
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
227 ln -s ../libclntsh.so.11.1 .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
228 ln -s ../libclntsh.so.11.1 libclntsh.so
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
229 ln -s ../libnnz11.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
230 ln -s ../libocci.so.11.1 .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
231 ln -s ../libocci.so.11.1 libocci.so
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
232 ln -s ../libociei.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
233 ln -s ../libocijdbc11.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
234 ln -s ../libsqlplusic.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
235 ln -s ../libsqlplus.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
236
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
237 rpm -i --nodeps ~/flys-importer/rpm/RPMS/x86_64/libgdal1180-1.8.0-intevation1.x86_64.rpm
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
238 rpm -i --nodeps ~/flys-importer/rpm/RPMS/x86_64/libgdal180-devel-1.8.0-intevation1.x86_64.rpm
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
239 rpm -i --nodeps ~/flys-importer/rpm/RPMS/x86_64/gdal180-1.8.0-intevation1.x86_64.rpm
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
240
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
241 \end{lstlisting}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
242
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
243 Sollten keine Fehler aufgetreten sein, haben Sie den \textit{Oracle
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
244 Instantclient 11.2} erfolgreich entpackt und im Dateisystem unter
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
245 \textit{/opt/instantclient\_11\_2} abgelegt. Mit den Befehlen $rpm -i --nodeps$
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
246 haben Sie anschlie�end die notwendigen Bindings installiert, damit der Importer
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
247 die Geodaten in die Oracle Datenbank schreiben kann.
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
248
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
249 \end{itemize}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
250
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
251
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
252 \subsection{Konfiguration}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
253 \label{Konfiguration}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
254 Der Geodaten Importer kann �ber die Datei `contrib/shpimporter/run.sh`
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
255 konfiguriert werden. �ffnen Sie die Datei mit einem Texteditor Ihrer Wahl.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
256 In den Zeilen 4-9 werden Optionen definiert, die zwangsl�ufig angepasst
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
257 werden m�ssen:
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
258
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
259 \textbf{RIVER\_PATH}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
260 \\Der Pfad zum Gew�sser im Dateisystem.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
261
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
262 \textbf{RIVER\_ID}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
263 \\Die Datenbank ID des zu importierenden Gew�ssers.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
264
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
265 \textbf{TARGET\_SRS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
266 \\Das EPSG Referenzsystem in das die Geodaten beim Import projeziert werden
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
267 sollen.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
268
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
269 \textbf{HOST}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
270 \\Der Host der Datenbank.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
271
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
272 \textbf{USER}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
273 \\Der Nutzer, der zum Verbinden zur Datenbank verwendet wird.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
274
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
275 \textbf{PASS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
276 \\Das Passwort f�r USER zum Verbinden zur Datenbank.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
277
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
278 In den Zeilen 12-23 werden weitere Optionen definiert, die bei Bedarf angepasst
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
279 werden k�nnen. Falls nicht anders angegeben, k�nnen die Optionen mit den Werten
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
280 `0` und `1` belegt werden.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
281
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
282 \textbf{VERBOSE}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
283 \\Dieser Wert gibt die Granularit�t der Log-Ausgaben w�hrend des
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
284 Imports an. Je h�her der Wert, desto mehr Informationen werden
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
285 in das Logfile geschrieben. Aktuell sind die Werte `0`, `1` und
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
286 `2` definiert. Wird der Wert `0` gesetzt, werden nur Fehler und
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
287 Warnungen in das Logfile geschrieben. Bei `1` werden neben
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
288 Fehlern und Warnungen auch Infos in das Logfile geschrieben. Bei
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
289 `2` werden s�mtliche Ausgaben des Programms geschrieben. Dieser
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
290 Modus ist haupts�chlich f�r die Entwicklung gedacht.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
291
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
292 \textbf{SKIP\_AXIS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
293 \\Bei gesetztem Wert `1` werden keine Flussachsen importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
294
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
295 \textbf{SKIP\_KMS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
296 \\Bei gesetztem Wert `1` werden keine Kilometrierungen importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
297
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
298 \textbf{SKIP\_CROSSSECTIONS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
299 \\Bei gesetztem Wert `1` werden keine Querprofilespuren importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
300
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
301 \textbf{SKIP\_LINES}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
302 \\Bei gesetztem Wert `1` werden keine Linien importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
303
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
304 \textbf{SKIP\_FIXPOINTS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
305 \\Bei gesetztem Wert `1` werden keine Festpunkte importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
306
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
307 \textbf{SKIP\_BUILDINGS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
308 \\Bei gesetztem Wert `1` werden keine Bauwerke importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
309
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
310 \textbf{SKIP\_FLOODPLAINS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
311 \\Bei gesetztem Wert `1` werden keine Talauen importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
312
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
313 \textbf{SKIP\_HYDR\_BOUNDARIES}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
314 \\Bei gesetztem Wert `1` werden keine hydrologischen Grenzen importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
315
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
316 \textbf{SKIP\_HWS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
317 \\Bei gesetztem Wert `1` werden kein Hochwasserschutzanlagen importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
318
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
319 \textbf{SKIP\_GAUGE\_LOCATION}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
320 \\Bei gesetztem Wert `1` werden keine Pegelort importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
321
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
322 \textbf{SKIP\_CATCHMENTS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
323 \\Bei gesetztem Wert `1` werden keine Einzugsgebiet importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
324
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
325 \textbf{SKIP\_UESG}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
326 \\Bei gesetztem Wert `1` werden keine �berschwemmungsfl�chen importiert.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
327
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
328
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
329 \subsection{Starten des Geodaten Importers}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
330 \label{Starten des Geodaten Importers}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
331 Der Geodaten Importer wird mittels eines Shellskripts von einer Konsole
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
332 gestartet. Dazu wechseln Sie auf der Konsole in das Verzeichnis \todo und
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
333 f�hren Sie folgenden Befehl aus:\\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
334
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
335 \begin{lstlisting}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
336 sh contrib/shpimporter/run.sh > import.log
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
337 \end{lstlisting}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
338 Der Importer wird nun gestartet. S�mtliche Log-Ausgaben werden in die Datei
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
339 $import.log$ geschrieben.

http://dive4elements.wald.intevation.org