From 8dafc756aa176ec4af518a5951777ebaf7ae51a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 27 May 2020 15:39:10 +0300 Subject: [PATCH] managedb --- II/Referatas/mj-referatas.tex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/II/Referatas/mj-referatas.tex b/II/Referatas/mj-referatas.tex index 43feea3..665dc35 100644 --- 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}