annotate backend/doc/documentation/de/importer-geodaesie.tex @ 9784:7df65516ee8b 3.2.x

Remove unused local variables
author Tom Gottfried <tom@intevation.de>
date Thu, 27 Apr 2023 11:55:46 +0200
parents b880a8adc2b2
children
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
5007
4e5d209253dd Importer doc: Update installation documentation.
Andre Heinecke <aheinecke@intevation.de>
parents: 4997
diff changeset
3 Der Geodaten Importer ist ein in der Programmiersprache Python
4e5d209253dd Importer doc: Update installation documentation.
Andre Heinecke <aheinecke@intevation.de>
parents: 4997
diff changeset
4 geschriebenes Kommandozeilen Werkzeug zum Import von Shapefiles in
4e5d209253dd Importer doc: Update installation documentation.
Andre Heinecke <aheinecke@intevation.de>
parents: 4997
diff changeset
5 eine Datenbank.
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
6 Zum Lesen der Shapefiles und zum Schreiben der Geodaten
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
7 in die Datenbank wird die GDAL-Bibliothek verwendet.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
8 Um Daten in eine Oracle Datenbank zu importieren ist es nötig, dass
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
9 GDAL und GDAL-Python-Bindings mit Oracle-Unterstützung installiert
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
10 sind. Bei der Verwendung von PostgreSQL entfällt dieser Schritt.
5007
4e5d209253dd Importer doc: Update installation documentation.
Andre Heinecke <aheinecke@intevation.de>
parents: 4997
diff changeset
11 Weitere Details hierzu befinden sich im
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 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
13
3676
ae16bd95879e Finalized geo part of importer documentation; set document revision and date.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3671
diff changeset
14 Der Importer kann mit einem Shellscript von der Kommandozeile gestartet werden
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
15 (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
16 Konfiguration festgestellt, welche Klassen von Shapefiles aus dem Dateisystem
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
17 importiert werden sollen. Für jede Klasse gibt es einen speziellen
3680
61a6d226b7a4 Added error description of geo importer; fixed bugs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3676
diff changeset
18 Parser, der die speziellen Attribute eines Shapefiles liest und in die entsprechende
61a6d226b7a4 Added error description of geo importer; fixed bugs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3676
diff changeset
19 Relation der Datenbank schreibt. Die Parser sind speziell auf das
5007
4e5d209253dd Importer doc: Update installation documentation.
Andre Heinecke <aheinecke@intevation.de>
parents: 4997
diff changeset
20 Dateisystem der BfG ausgerichtet. So wird beispielsweise erwartet, dass die Shapefiles der
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
21 Gewässerachse im Ordner $Geodaesie/Flussachse+km$ liegen. Weitere Informationen zu
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
22 den einzelnen Parsern sind Kapitel \ref{Beschreibung der Parser} zu
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
23 entnehmen.
6803
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
24
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
25 Damit die Geodaten eines Shapes später eindeutig in der Datenbank identifiziert
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
26 werden können, wird für jede Geometrie der Pfad des Shapes im Dateisystem
6803
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
27 im Datenbankfeld 'path' gespeichert. Anwendungen, die auf der Datenbank
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
28 aufbauen, können die Geodaten eines Shapefiles später anhand dieses Merkmals
6803
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
29 gruppieren und anzeigen.
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
30
6808
5487d1215f34 Importer Doc: move general information on geo-importer to overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6807
diff changeset
31 Bitte beachten Sie, dass der Geodaten Importer aufgrund der eingesetzten
5487d1215f34 Importer Doc: move general information on geo-importer to overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6807
diff changeset
32 Technologien derzeit nicht in der Lage ist, lesend auf die Oracle-Datenbank
5487d1215f34 Importer Doc: move general information on geo-importer to overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6807
diff changeset
33 zuzugreifen. Entsprechend kann beim Import nicht festgestellt werden, ob sich
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
34 die Daten eines Shapefiles bereits in der Datenbank befinden, oder nicht.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
35 Ein erneuter Import der Geodaten würde also dazu führen, dass Geometrien doppelt in der
6808
5487d1215f34 Importer Doc: move general information on geo-importer to overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6807
diff changeset
36 Datenbank abgelegt werden.
5487d1215f34 Importer Doc: move general information on geo-importer to overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6807
diff changeset
37
6803
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
38 \subsection{Koordination-Transformation}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
39 Für die Transformation der Daten verwendet GDAL wiederum die PROJ4-Bibliothek.
6803
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
40 Die Daten werden vor dem Schreiben in die Datenbank alle
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
41 in die Gauß-Krüger-Projektion Zone 3 (EPSG-Code 31467) transformiert.
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
42 Ist für die zu importierenden Daten keine Projektion ersichtlich
6803
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
43 (fehlende \textit{*.prj}-Datei), so findet keine Transformation statt.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
44 Dies führt nur zu Problemen mit dem Fachdienst FLYS, falls die Daten nicht
6803
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
45 bereits in der genannten Projektion vorlagen.
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
46
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
47 Im Falle der Digitalen Geländemodelle (DGM) findet keine Transformation statt,
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
48 da zu diesen lediglich Metadaten in der Datenbank gespeichert werden
6804
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
49 (siehe Kapitel \ref{dgm_parser}),
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
50 während die Daten selbst von der Anwendung Dive4Elements River
6804
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
51 aus dem Dateisystem geholt werden.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
52 Für Berechnungen mit den DGM werden die Geometrien aus der Datenbank
6804
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
53 in Dive4Elements River in die Projektion des jeweiligen DGM transformiert.
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
54 Daher ist es besonders wichtig, dass die Angaben des EPSG-Codes
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
55 in der Spalte SRID in DGMs.csv korrekt sind (siehe Kapitel \ref{dgm_parser})
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
56
6803
8a36575f2c43 Importer Doc: reworked sectioning of geo-importer overview.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6802
diff changeset
57 \subsection{Logfile}
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
58 Der Erfolg oder Misserfolg eines Shape-Imports wird
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
59 im Logfile vermerkt. Folgende Einträge können dem Logfile
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
60 entnommen werden:
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
61
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
62 \textbf{INFO: Inserted \# features}
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
63 \\Gibt die Anzahl der erfolgreich importierten Features an.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
64
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
65 \textbf{INFO: Failed to create \# features}
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
66 \\Gibt die Anzahl der Features an, die nicht importiert werden konnten.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
67
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
68 \textbf{INFO: Found 3 unsupported features of type: '...'}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
69 \\Gibt die Anzahl der Features an, die aufgrund ihres Datentyps nicht importiert
5007
4e5d209253dd Importer doc: Update installation documentation.
Andre Heinecke <aheinecke@intevation.de>
parents: 4997
diff changeset
70 werden konnten. Wenn etwa Punkte erwartet wurden aber sich im Shapefile
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
71 Polygone befanden.
5007
4e5d209253dd Importer doc: Update installation documentation.
Andre Heinecke <aheinecke@intevation.de>
parents: 4997
diff changeset
72
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
73 \textbf{INFO: Did not import values from fields: '...' ...}
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
74 \\Der Importer schreibt neben der geographischen Information weitere
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
75 Attribut-Daten in die Datenbank.
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
76 Attribut-Spalten die nicht importiert wurden (z.B. auf Grund
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
77 von Tippfehlern oder unterschiedlicher Schreibweise),
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
78 werden wie angegeben im Logfile aufgeführt.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
79
3680
61a6d226b7a4 Added error description of geo importer; fixed bugs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3676
diff changeset
80 \textbf{ERROR: No source SRS given! No transformation possible!}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
81 \\Das Shapefile enthält keine Information, in welcher Projektion die Geometrien
3680
61a6d226b7a4 Added error description of geo importer; fixed bugs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3676
diff changeset
82 vorliegen. Es findet keine Transformation in die Zielprojektion statt. Bitte
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
83 beachten Sie, dass FLYS diese Geometrien später ggf.\ nicht korrekt darstellen
3680
61a6d226b7a4 Added error description of geo importer; fixed bugs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3676
diff changeset
84 kann.
61a6d226b7a4 Added error description of geo importer; fixed bugs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3676
diff changeset
85
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
86 \textbf{ERROR: Unable to insert feature: DETAIL}
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
87 \\Beim Lesen eines Features ist ein Fehler aufgetreten.
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
88 Das Feature konnte nicht in die Datenbank geschrieben werden.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
89
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
90 \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
91 \\Beim Abschluss des Schreib-Vorgangs in die Datenbank ist ein unerwarteter
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
92 Fehler aufgetreten. Die Features des Shapes sind nicht importiert worden.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
93
3671
924055b11545 Describe connection error in geo importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3670
diff changeset
94 \textbf{ERROR 1: ORA-01017: invalid username/password; logon denied}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
95 \\Es konnte keine Verbindung zur Oracle Datenbank hergestellt werden. Prüfen Sie
3671
924055b11545 Describe connection error in geo importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3670
diff changeset
96 die Verbindungseinstellungen.
924055b11545 Describe connection error in geo importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3670
diff changeset
97
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
98 Weitere Fehler, die von der Oracle-Datenbank kommen, können ebenfalls im
6750
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
99 Logfile angezeigt werden.
012f79123d48 Importer Doc: completion and corrections to overview of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6749
diff changeset
100
3661
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 \subsection{Beschreibung der Parser}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
103 \label{Beschreibung der Parser}
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 Wie im letzten Kapitel beschrieben, sind die Parser speziell an das Dateisystem
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
106 der BfG angepasst. Im Folgenden werden zu jedem Parser folgende Informationen
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
107 angegeben:
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
108
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
109 \textbf{Pfad}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
110 \\Der Pfad, in dem die Shapefiles im Dateisystem abgelegt sein müssen (ausgehend
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
111 vom Gewässer Verzeichnis).
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
112
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
113 \textbf{Geometrie}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
114 \\Der Geometrie Typ, der für diese Klasse von Shapefiles erwartet wird.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
115
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
116 \textbf{Attribute}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
117 \\Eine Liste der Attribute, die vom Parser aus dem Shape gelesen werden.
6801
81814d21f1b7 Importer Doc: add description of alternativ attribut-names.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6800
diff changeset
118 In Klammern als alternativ bezeichnete Attribut-Namen werden in
81814d21f1b7 Importer Doc: add description of alternativ attribut-names.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6800
diff changeset
119 das gleiche Datenbankfeld geschrieben, wie das vorgenannte Feld.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
120 Die alternativen Namen werden vom Importer zusätzlich unterstützt,
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
121 um Dateien aus dem heterogenen Bestand der BfG unverändert
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
122 importieren zu können.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
123
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
124 Zudem werden Datenbank-Attribute beschrieben, die nicht direkt aus
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
125 Attribut-Spalten des Shapefiles gelesen werden.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
126
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
127 \subsubsection{Achsen}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
128 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
129 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
130 Pfad & Geodaesie/Flussachse+km \\
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
131 Geometrie & LINESTRING, MULTILINESTRING \\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
132 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
133
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
134 Das Attribut 'name' wird auf den Namen des Shapefiles gesetzt.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
135 Zusätzlich wird das Attribut 'kind\_id' gesetzt, welches
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
136 für die aktuelle Achse (\textit{achse.shp}) 1 ist
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
137 und für sonstige Achsen (weitere Linien-Shapes) 2.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
138
8807
884617654878 Document singularity of river axes at server start.
Tom Gottfried <tom@intevation.de>
parents: 7448
diff changeset
139 Hinweis:
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
140 Da die Layer-Konfiguration (Mapfiles) für die Flussachsen beim Start des
8807
884617654878 Document singularity of river axes at server start.
Tom Gottfried <tom@intevation.de>
parents: 7448
diff changeset
141 Artefakt-Servers generiert werden, muss der Artefakt-Server neugestartet
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
142 werden um die Flussachse in der Anwendung darstellen zu können.
8807
884617654878 Document singularity of river axes at server start.
Tom Gottfried <tom@intevation.de>
parents: 7448
diff changeset
143
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
144 \subsubsection{Hydr. Grenzen}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
145 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
146 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
147 Pfad & Hydrologie/Hydr.Grenzen \\
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
148 Geometrie & LINESTRING, MULTILINESTRING, POLYGON, MULTIPOLYGON \\
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
149 Attribute & SECTIE, STROVOER \\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
150 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
151
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
152 Das Attribut 'name' wird auf den Namen des Shapefiles gesetzt.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
153 Das Attribut 'kind' wird 1 gesetzt für Daten aus dem
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
154 Unterverzeichnis \textit{Linien/BfG},
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
155 2 für Daten aus \textit{Linien/Land},
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
156 3 für Daten aus \textit{Sonstige}
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
157 und für alle übrigen 0.
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
158 Ausgenommen sind Dateien, in deren Namen 'Talaue'
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
159 (Groß-Klein-Schreibung irrelevant) vorkommt.
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
160
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
161 Linien und Polygone werden in der Datenbank in unterschiedlichen
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
162 Tabellen gespeichert.
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
163
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
164 \subsubsection{Bauwerke}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
165 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
166 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
167 Pfad & Geodaesie/Bauwerke \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
168 Geometrie & LINESTRING \\
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
169 Attribute & Name (alternativ: KWNAAM),
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
170 km (alternativ: station, wsv-km),
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
171 z (alternativ: Höhe, Hoehe, m+NHN)\\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
172 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
173
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
174 Das Attribut 'name' wird auf den Namen des Shapefiles gesetzt.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
175 Das Attribut 'kind\_id' ist 0 für Sonstige,
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
176 1 für Brücken, 2 für Wehre, 3 für Pegel.
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
177 Es wird aus dem Dateinamen hergeleitet
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
178 (\textit{bruecken.shp, wehre.shp, pegel.shp},
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
179 teilweise auch alternative Schreibweisen unterstützt)
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
180 oder je Feature gesetzt, wenn in einer Attributspalte
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
181 die Werte 'bruecke' und 'wehr'
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
182 (teilweise auch alternative Schreibweisen unterstützt) vorkommen.
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
183 Ausgenommen sind Dateien, in deren Namen 'Buhnen'
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
184 (Groß-Klein-Schreibung irrelevant) vorkommt.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
185
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
186 \subsubsection{Querprofilspuren}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
187 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
188 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
189 Pfad & Geodaesie/Querprofile \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
190 Geometrie & LINESTRING \\
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
191 Attribute & KILOMETER (alternativ: KM, STATION), ELEVATION \\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
192 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
193
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
194 Das Attribut 'kind\_id' wird 1 gesetzt für die Datei \textit{qps.shp} (aktuelle Querprofilspuren)
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
195 und 0 für alle weiteren.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
196
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
197 \subsubsection{Festpunkte}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
198 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
199 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
200 Pfad & Geodaesie/Festpunkte \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
201 Geometrie & POINT \\
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
202 Attribute & KM (alternativ: ELBE\_KM), X, Y, HPGP (alternativ: ART) \\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
203 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
204
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
205 Das Attribut 'name' wird auf den Namen des Shapefiles gesetzt.
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
206
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
207 \subsubsection{Hochwassermarken}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
208 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
209 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
210 Pfad & Hydrologie/HW-Marken/hw-marken.shp \\
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
211 Geometrie & POINT \\
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
212 Attribute & Ort (alternativ: Pegel),
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
213 km (alternativ: station, wsv-km, FlussKm),
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
214 z (alternativ: z mit anschließender Zahl, m+NHN)\\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
215 \end{tabular*}
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
216
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
217 Groß-Klein-Schreibung im Dateinamen ist irrelevant.
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
218 Für das Attribut 'year' wird im Dateinamen nach einer Jahreszahl
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
219 nach folgendem Muster gesucht: \textit{\_YYYY\_} oder \textit{-YYYY-}.
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
220 Gelingt dies nicht, erscheint im Logfile die Warnung
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
221 'Could not extract year from filename: ...'.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
222
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
223 \subsubsection{Talaue}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
224 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
225 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
226 Pfad & Hydrologie/Hydr.Grenzen \\
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
227 Geometrie & POLYGON, MULTIPOLYGON \\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
228 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
229
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
230 Es werden nur Dateien betrachtet, in deren Namen das Wort 'Talaue'
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
231 (Groß-Klein-Schreibung irrelevant) vorkommt.
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
232 Das Attribut 'name' wird auf den Namen des Shapefiles gesetzt.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
233 Das Attribut 'kind\_id' wird 1 gesetzt für die Datei \textit{talaue.shp} (aktuelle Talaue)
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
234 und 0 für alle weiteren.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
235
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
236 \subsubsection{Hochwasserschutzanlagen}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
237 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
238 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
239 Pfad & Hydrologie/HW-Schutzanlagen \\
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
240 Geometrie & LINESTRING, MULTILINESTRING, POINT \\
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
241 Attribute & Name, Art, Quelle, Anmerkung, Stand, Verband,
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
242 km (alternativ: Deich\_km), Bereich,
9711
21e276cef740 Fix attribute name in documentation
Tom Gottfried <tom@intevation.de>
parents: 8826
diff changeset
243 Hoehe\_ist, Hoehe\_soll, WSP\_Bfg100, Bundesland
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
244 (Teilweise auch alternative Schreibweisen unterstützt)\\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
245 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
246
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
247 Das Attribut 'name' wird auf den Namen des Shapefiles gesetzt,
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
248 wenn kein Attribut 'Name' im Shapefile vorhanden ist.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
249 Das Feld 'kind\_id' wird per Default auf 2 (für Damm) gesetzt.
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
250 Wird ein Attribut 'ART' im Shapefile gefunden,
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
251 so wird 'kind\_id' entsprechend dieses Feldes gesetzt
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
252 (1 für die Werte 'Durchlass', 'Rohr1', 'Rohr 1', 'Rohr 2',
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
253 2 für die Werte 'Damm', 'Deich', 'Hochufer', 'Hauptdeich', 'Sommerdeich',
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
254 3 für den Wert 'Graben').
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
255 Es wird versucht das Bundesland aus dem Dateinamen zu ermitteln,
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
256 wenn das Shapefile kein Attribut 'Bundesland' enthält.
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
257
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
258 Linien und Punkte werden in der Datenbank in unterschiedlichen
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
259 Tabellen gespeichert.
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
260
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
261 \subsubsection{Buhnen}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
262 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
263 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
264 Pfad & Geodaesie/Bauwerke/Buhnen.shp \\
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
265 Geometrie & POINT \\
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
266 Attribute & station (alternativ: km, wsv-km),
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
267 z (alternativ: Hoehe, Höhe, m+NHN) \\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
268 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
269
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
270 Das Attribut 'kind\_id' wird für
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
271 Buhnenkopf (\textit{bkl, bkr, bk}) 0,
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
272 für Buhnenfuß (\textit{bfl, bfr, bf}) 1 und
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
273 für Buhnenwurzel (\textit{bwl, bwr, bw}) 2 gesetzt,
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
274
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
275 \subsubsection{Stationierung}
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
276 \hspace{5mm}
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
277 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
278 Pfad & Geodaesie/Flussachse+km/km.shp \\
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
279 Geometrie & POINT \\
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
280 Attribute & km (alternativ: KM), landkm \\
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
281 \end{tabular*}
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
282
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
283 Das Attribut 'name' wird auf den Namen des Shapefiles gesetzt.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
284
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
285 \subsubsection{Überschwemmungsfläche}
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
286 \hspace{5mm}
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
287 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
288 Pfad & Hydrologie/UeSG \\
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
289 Geometrie & POLYGON, MULTIPOLYGON \\
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
290 Attribut & diff, count, area, perimeter, GEWAESSER \\
6800
1976350aa8dc Importer Doc: reformat tables in parser descriptions of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6751
diff changeset
291 \end{tabular*}
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
292
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
293 Das Attribut 'name' wird auf den Namen des Shapefiles gesetzt.
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
294 Das Attribut 'kind' wird nach folgendem Schema gesetzt:
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
295
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
296 \hspace{5mm}
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
297 \begin{tabular}[t]{ll}
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
298 Unterverzeichnis & Wert \\
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
299 \textit{Berechnungen/Aktuell/BfG} & 111 \\
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
300 \textit{Berechnungen/Aktuell/Bundesländer} & 112 \\
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
301 \textit{Berechnungen/Potentiell/BfG} & 121 \\
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
302 \textit{Berechnungen/Potentiell/Bundesländer} & 122 \\
6802
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
303 \textit{Messungen} & 200 \\
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
304 \end{tabular}
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
305
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
306 Das Attribut 'source' wird auf den Namen des Verzeichnisses gesetzt,
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
307 indem sich das jeweilige Shapefile befindet.
58371cb5faa8 Importer Doc: completed description of shapefile-parsers.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6801
diff changeset
308
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
309 \subsubsection{Metadaten zu Digitalen Gelände-Modellen}
6804
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
310 \label{dgm_parser}
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
311 \hspace{5mm}
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
312 \begin{tabular*}{155mm}[t]{l@{\extracolsep\fill}p{125mm}}
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
313 Pfad & ../DGMs.csv \\
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
314 Attribut & Projektion, Höhenstatus, Format, Bruchkanten,
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
315 Auflösung, SRID, Pfad\_Bestand,
6804
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
316 km\_von, km\_bis, Jahr\_von, Jahr\_bis \\
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
317 \end{tabular*}
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
318
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
319 Aus der Spalte 'Gewässer' in DGMs.csv wird entnommen,
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
320 für welches Gewässer das angegebene DGM verwendet wird.
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
321 Die Spalte muss daher den exakt gleichen Namen enthalten
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
322 wie in der *.gew-Datei des Gewässers angegeben
6812
aabf98124cbc Importer doc: correctly document use of gew-file for geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6808
diff changeset
323 (siehe auch Kapitel \ref{start-hydr}).
6804
1e430c0ec285 Importer Doc: document DEM-Metadata import.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6803
diff changeset
324 Die eigentlichen Geo-Daten der DGM werden nicht in die Datenbank importiert.
6935
a442cab85198 Importer Doc: be clearer on DEM-metadata import.
Tom Gottfried <tom@intevation.de>
parents: 6812
diff changeset
325 Diese werden von der Anwendung Dive4Elements River aus dem Dateisystem geholt.
6751
b5b54e8da1cf Importer Doc: partly completed geo-importer parsers (with layout issues)
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6750
diff changeset
326
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
327 \subsection{Konfiguration}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
328 \label{Konfiguration}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
329 Der Geodaten Importer kann über das Skript \textit{./run\_geo.sh}
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
330 konfiguriert werden. Öffnen Sie die Datei mit einem Texteditor Ihrer Wahl
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
331 und passen Sie ggf.\ folgende Variablen an:
3661
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 \textbf{HOST}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
334 \\Der Host der Datenbank.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
335
7448
e5e25586189c Importer doc: fix some outdated or wrong infos.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6935
diff changeset
336 \textbf{BACKEND\_NAME}
8826
2ba30caa5571 Whitespace cleanup.
Tom Gottfried <tom@intevation.de>
parents: 8807
diff changeset
337 \\Der Name der Datenbank Instanz.
7448
e5e25586189c Importer doc: fix some outdated or wrong infos.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6935
diff changeset
338 Beispielsweise \textit{XE} bei einer Oracle XE Instanz.
e5e25586189c Importer doc: fix some outdated or wrong infos.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6935
diff changeset
339
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
340 \textbf{USER}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
341 \\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
342
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
343 \textbf{PASS}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
344 \\Das Passwort für USER zum Verbinden zur Datenbank.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
345
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
346 In den weiteren Zeilen werden weitere Optionen definiert, die bei Bedarf angepasst
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
347 werden können. Falls nicht anders angegeben, können die Optionen mit den Werten
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
348 `0` und `1` belegt werden.
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
349
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
350 \textbf{VERBOSE}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
351 \\Dieser Wert gibt die Granularität der Log-Ausgaben während des
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
352 Imports an. Je höher der Wert, desto mehr Informationen werden
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
353 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
354 `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
355 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
356 Fehlern und Warnungen auch Infos in das Logfile geschrieben. Bei
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
357 `2` werden sämtliche Ausgaben des Programms geschrieben. Dieser
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
358 Modus ist hauptsächlich für die Entwicklung gedacht.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
359
4871
890eaa0a5162 Add ogr_connection parameter to allow directly setting the ogr
Andre Heinecke <aheinecke@intevation.de>
parents: 3681
diff changeset
360 \textbf{OGR\_CONNECTION}
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
361 \\Hiermit kann direkt ein beliebiger Verbindungs-String angegegeben
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
362 werden, welcher dann anstatt HOST, USER und PASS verwendet wird.
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
363 Diese Option wird direkt an die OGR-Bibliothek weitergegeben und ermöglicht
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
364 verbesserte Tests und Entwicklung mit verschiedenen Backends.
4871
890eaa0a5162 Add ogr_connection parameter to allow directly setting the ogr
Andre Heinecke <aheinecke@intevation.de>
parents: 3681
diff changeset
365
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
366 \textbf{SKIP\_AXIS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
367 \\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
368
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
369 \textbf{SKIP\_KMS}
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
370 \\Bei gesetztem Wert `1` werden keine Stationierungen importiert.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
371
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
372 \textbf{SKIP\_CROSSSECTIONS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
373 \\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
374
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
375 \textbf{SKIP\_FIXPOINTS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
376 \\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
377
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
378 \textbf{SKIP\_BUILDINGS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
379 \\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
380
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
381 \textbf{SKIP\_FLOODPLAINS}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
382 \\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
383
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
384 \textbf{SKIP\_HYDR\_BOUNDARIES}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
385 \\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
386
4880
a5669cc576b4 (Doc) Document new importer options
Andre Heinecke <aheinecke@intevation.de>
parents: 4871
diff changeset
387 \textbf{SKIP\_HWS\_LINES}
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
388 \\Bei gesetztem Wert `1` werden kein Hochwasserschutzanlagen (Liniendaten) importiert.
4880
a5669cc576b4 (Doc) Document new importer options
Andre Heinecke <aheinecke@intevation.de>
parents: 4871
diff changeset
389
a5669cc576b4 (Doc) Document new importer options
Andre Heinecke <aheinecke@intevation.de>
parents: 4871
diff changeset
390 \textbf{SKIP\_HWS\_POINTS}
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
391 \\Bei gesetztem Wert `1` werden kein Hochwasserschutzanlagen (Punktdaten) importiert.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
392
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
393 \textbf{SKIP\_UESG}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
394 \\Bei gesetztem Wert `1` werden keine Überschwemmungsflächen importiert.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
395
4971
fc7ebf104779 Update documentation and example run script
Andre Heinecke <aheinecke@intevation.de>
parents: 4880
diff changeset
396 \textbf{SKIP\_DGM}
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
397 \\Bei gesetztem Wert `1` werden keine Metadaten zu Digitalen Geländemodellen importiert.
4971
fc7ebf104779 Update documentation and example run script
Andre Heinecke <aheinecke@intevation.de>
parents: 4880
diff changeset
398
5353
d086ce6c13d3 Add jetties importer
Andre Heinecke <aheinecke@intevation.de>
parents: 5065
diff changeset
399 \textbf{SKIP\_JETTIES}
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
400 \\Bei gesetztem Wert `1` werden keine Buhnen importiert.
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
401
5545
ed149d5d7fb7 Add floodmarks importer
Andre Heinecke <aheinecke@intevation.de>
parents: 5353
diff changeset
402 \textbf{SKIP\_FLOODMARKS}
6806
54cf29667079 Importer Doc: corrections of geo-importer configuration.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6804
diff changeset
403 \\Bei gesetztem Wert `1` werden keine HW-Marken importiert.
5545
ed149d5d7fb7 Add floodmarks importer
Andre Heinecke <aheinecke@intevation.de>
parents: 5353
diff changeset
404
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
405 \subsection{Starten des Geodaten Importers}
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
406 \label{Starten des Geodaten Importers}
6807
2c5d75a02342 Importer Doc: corrections to starting of geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6806
diff changeset
407 Der Geodaten Importer wird mittels des Shellskripts,
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
408 dass auch für die Konfiguration verwendet wird, von einer Konsole
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
409 gestartet. Dazu führen Sie folgenden Befehl aus:\\
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
410
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
411 \begin{lstlisting}
6812
aabf98124cbc Importer doc: correctly document use of gew-file for geo-importer.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 6808
diff changeset
412 sh ./run_geo.sh pfad/zur/beispiel.gew > geo-import.log
3661
3ea5e835ecce Initial checkin of documentation of importer and shape importer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
413 \end{lstlisting}
3676
ae16bd95879e Finalized geo part of importer documentation; set document revision and date.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3671
diff changeset
414
9712
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
415 Bezüglich des übergebenen Pfades siehe auch Kapitel \ref{start-hydr}.
b880a8adc2b2 Convert importer documentation sources to UTF-8
Tom Gottfried <tom@intevation.de>
parents: 9711
diff changeset
416 Der Importer wird nun gestartet. Sämtliche Log-Ausgaben werden in die Datei
3676
ae16bd95879e Finalized geo part of importer documentation; set document revision and date.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3671
diff changeset
417 $geo-import.log$ geschrieben.
ae16bd95879e Finalized geo part of importer documentation; set document revision and date.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3671
diff changeset
418
ae16bd95879e Finalized geo part of importer documentation; set document revision and date.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 3671
diff changeset
419

http://dive4elements.wald.intevation.org