commit 8dafc756aa176ec4af518a5951777ebaf7ae51a2 (tree)
parent c88c8416554af47a5050f8cab57332d1ef78b79a
Author: Motiejus Jakštys <desired.mta@gmail.com>
Date: Wed, 27 May 2020 15:39:10 +0300
managedb
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/II/Referatas/mj-referatas.tex b/II/Referatas/mj-referatas.tex
@@ -408,6 +408,9 @@ The input files outside of these listings are {\tt zeimena.gpkg}, which is a
manually created GeoPackage containing Žeimena and Lakaja rivers, and the
\LaTeX\ report itself.
+The analysis was executed and report was generated on Ubuntu 20.04 with only
+system packages.
+
\subsection{douglas.sql}
Transforms a layer ({\tt :src}) to {\DP} using $tolerance$ tolerance.
\inputminted[fontsize=\small]{sql}{douglas.sql}
@@ -434,5 +437,11 @@ This file binds all the pieces together:
This file accepts a layer (or two) and generates a PDF image suitable for embedding into the report.
\inputminted[fontsize=\small]{python}{layer2img.py}
+\subsection{managedb}
+Manages a PostGIS database in the project directory. That way, the database can
+be torn down and re-created by automated tools like the {\tt Makefile} itself.
+You may need to update the paths in this script to suit your environment.
+\inputminted[fontsize=\small]{bash}{managedb}
+
\end{appendices}
\end{document}