annotate flys-backend/doc/documentation/de/importer-geodaesie.tex @ 3673:b6fb31fad420

Fixed bugs in hydrological and morphological documentation. flys-backend/trunk@5304 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 30 Aug 2012 08:35:15 +0000
parents 924055b11545
children ae16bd95879e
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
3671
924055b11545 Describe connection error in geo importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3670
diff changeset
42 \textbf{ERROR 1: ORA-01017: invalid username/password; logon denied}
924055b11545 Describe connection error in geo importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3670
diff changeset
43 \\Es konnte keine Verbindung zur Oracle Datenbank hergestellt werden. Pr�fen Sie
924055b11545 Describe connection error in geo importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3670
diff changeset
44 die Verbindungseinstellungen.
924055b11545 Describe connection error in geo importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3670
diff changeset
45
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
46 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
47 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
48 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
49 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
50 gruppieren und anzeigen.
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
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
53 \subsection{Beschreibung der Parser}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
54 \label{Beschreibung der Parser}
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 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
57 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
58 angegeben:
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{Pfad}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
61 \\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
62 vom Gew�sser Verzeichnis.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
63
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
64 \textbf{Geometrie}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
65 \\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
66
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
67 \textbf{Attribute}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
68 \\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
69
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
70
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
71 \subsubsection{Achsen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
72 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
73 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
74 Pfad & Geodaesie/Flussachse+km \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
75 Geometrie & LINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
76 Attribute & name, kind \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
77 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
78
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
79
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
80 \subsubsection{Hydrologische Grenzen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
81 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
82 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
83 Pfad & Hydrologie/Hydr.Grenzen/Linien \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
84 Geometrie & LINESTRING, POLYGON \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
85 Attribute & name, kind \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
86 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
87
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
88 \subsubsection{Bauwerke}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
89 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
90 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
91 Pfad & Geodaesie/Bauwerke \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
92 Geometrie & LINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
93 Attribute & name, Name, KWNAAM \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
94 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
95
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
96
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
97 \subsubsection{Einzugsgebiete}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
98 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
99 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
100 Pfad & Hydrologie/Einzugsgebiet \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
101 Geometrie & POLYGON, MULTIPOLYGON \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
102 Attribute & name, Name, AREA, area \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
103 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
104
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
105
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
106 \subsubsection{Querprofilspuren}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
107 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
108 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
109 Pfad & Geodaesie/Querprofile \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
110 Geometrie & LINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
111 Attribute & KILOMETER, KM, STATION, ELEVATION \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
112 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
113
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
114
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
115 \subsubsection{Festpunkte}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
116 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
117 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
118 Pfad & Geodaesie/Festpunkte \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
119 Geometrie & POINT \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
120 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
121 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
122
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
123
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
124 \subsubsection{Talaue}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
125 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
126 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
127 Pfad & Hydrologie/Hydr.Grenzen \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
128 Geometrie & POLYGON, MULTIPOLYGON \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
129 Attribute & name \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
130 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
131
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
132
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
133 \subsubsection{Pegelstationen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
134 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
135 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
136 Pfad & Hydrologie/Streckendaten \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
137 Geometrie & POINT \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
138 Attribute & Name, name, MPNAAM \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
139 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
140
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
141
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
142 \subsubsection{Hochwasserschutzanlagen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
143 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
144 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
145 Pfad & Hydrologie/HW-Schutzanlagen \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
146 Geometrie & LINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
147 Attribute & TYP, Bauart, Name, name \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
148 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
149
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
150
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
151 \subsubsection{Kilometrierung}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
152 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
153 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
154 Pfad & Geodaesie/Flussachse+km \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
155 Geometrie & POINT \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
156 Attribute & name, km, KM \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
157 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
158
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
159
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
160 \subsubsection{Linien}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
161 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
162 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
163 Pfad & Geodaesie/Linien \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
164 Geometrie & LINESTRING, MULTILINESTRING \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
165 Attribute & name, TYP, Z \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
166
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
167 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
168 & '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
169 & angenommen. \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
170 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
171
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
172
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
173 \subsubsection{�berschwemmungsfl�che}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
174 \hspace{1cm}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
175 \begin{tabular}[t]{ll}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
176 Pfad & Hydrologie/UeSG/Berechnung \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
177 Geometrie & POLYGON, MULTIPOLYGON \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
178 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
179 \end{tabular}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
180
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
181
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
182 \subsection{Systemanforderungen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
183 \label{Systemanforderungen}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
184 \begin{itemize}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
185 \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
186 \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
187 \item ogr2ogr
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
188 \item Python $>=$ 2.6
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
189 \end{itemize}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
190
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
191
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
192 \subsection{Installationsanleitung}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
193 \label{Installationsanleitung}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
194 \begin{itemize}
3670
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 \item Python\\
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
197 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
198 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
199
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
200 \begin{lstlisting}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
201 zypper in python
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
202 \end{lstlisting}
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 \todo ogr2ogr installieren?
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
205
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
206 \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
207
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
208 \item Oracle Instantclient\\
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
209 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
210 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
211 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
212
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
213 \begin{itemize}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
214 \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
215 \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
216 \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
217 \end{itemize}
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 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
220
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
221 \begin{lstlisting}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
222
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
223 mkdir /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 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
226 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
227 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
228
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
229 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
230 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
231 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
232 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
233 ln -s ../libnnz11.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
234 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
235 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
236 ln -s ../libociei.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
237 ln -s ../libocijdbc11.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
238 ln -s ../libsqlplusic.so .
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
239 ln -s ../libsqlplus.so .
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 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
242 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
243 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
244
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
245 \end{lstlisting}
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
246
6c0d6d74139c Documented install steps for Oracle Instantclient, Python and GDAL.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3661
diff changeset
247 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
248 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
249 \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
250 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
251 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
252
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
253 \end{itemize}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
254
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
255
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
256 \subsection{Konfiguration}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
257 \label{Konfiguration}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
258 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
259 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
260 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
261 werden m�ssen:
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
262
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
263 \textbf{RIVER\_PATH}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
264 \\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
265
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
266 \textbf{RIVER\_ID}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
267 \\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
268
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
269 \textbf{TARGET\_SRS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
270 \\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
271 sollen.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
272
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
273 \textbf{HOST}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
274 \\Der Host der Datenbank.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
275
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
276 \textbf{USER}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
277 \\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
278
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
279 \textbf{PASS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
280 \\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
281
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
282 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
283 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
284 `0` und `1` belegt werden.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
285
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
286 \textbf{VERBOSE}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
287 \\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
288 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
289 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
290 `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
291 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
292 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
293 `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
294 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
295
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
296 \textbf{SKIP\_AXIS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
297 \\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
298
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
299 \textbf{SKIP\_KMS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
300 \\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
301
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
302 \textbf{SKIP\_CROSSSECTIONS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
303 \\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
304
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
305 \textbf{SKIP\_LINES}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
306 \\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
307
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
308 \textbf{SKIP\_FIXPOINTS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
309 \\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
310
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
311 \textbf{SKIP\_BUILDINGS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
312 \\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
313
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
314 \textbf{SKIP\_FLOODPLAINS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
315 \\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
316
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
317 \textbf{SKIP\_HYDR\_BOUNDARIES}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
318 \\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
319
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
320 \textbf{SKIP\_HWS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
321 \\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
322
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
323 \textbf{SKIP\_GAUGE\_LOCATION}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
324 \\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
325
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
326 \textbf{SKIP\_CATCHMENTS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
327 \\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
328
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
329 \textbf{SKIP\_UESG}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
330 \\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
331
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
332
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
333 \subsection{Starten des Geodaten Importers}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
334 \label{Starten des Geodaten Importers}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
335 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
336 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
337 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
338
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
339 \begin{lstlisting}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
340 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
341 \end{lstlisting}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
342 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
343 $import.log$ geschrieben.

http://dive4elements.wald.intevation.org