motiejus/wm

Wang–Müller line generalization algorithm in PostGIS
git clone https://git.jakstys.lt/motiejus/wm.git
Log | Tree | Refs | README | LICENSE

commit 429f7be6a3593967ead0e3fa233fddd7fe90f028 (tree)
parent d4ff4cccb237a1ba75dbe56aa193800e8ab49a6b
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Thu, 27 May 2021 17:28:08 +0300

wip code

Diffstat:
MMakefile | 2+-
Mslides-2021-06-02.tex | 20++++++++++++++++++--
2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -317,7 +317,7 @@ slides-2021-03-29.pdf: slides-2021-03-29.txt pandoc -t beamer -i $< -o $@ slides-2021-06-02.pdf: slides-2021-06-02.tex isolated-1-before.pdf isolated-1-after.pdf - latexmk -pdf $< + latexmk -shell-escape -pdf $< dump-debug_wm.sql.xz: docker exec -ti wm-mj pg_dump -Uosm osm -t wm_devug | xz -v > $@ diff --git a/slides-2021-06-02.tex b/slides-2021-06-02.tex @@ -7,6 +7,7 @@ \usepackage{tabularx} \usepackage[labelformat=empty,justification=centering]{caption} \usepackage{tikz} +\usepackage{minted} \usetikzlibrary{shapes.geometric,arrows,positioning} \usefonttheme{serif} @@ -142,9 +143,24 @@ \section{Aktualumas} -\begin{frame}{Aktualumas: praplečiama teorija} - \twocols{ +\begin{frame}[fragile] %{Aktualumas: praplečiama teorija} + \begin{minted}[fontsize=\small]{sql} + create function ST_SimplifyWM( + geom geometry, + dhalfcircle float, + ) returns geometry + \end{minted} +\end{frame} + +\begin{frame}[fragile] %{Aktualumas: praplečiama teorija} + \twocols{ + %\begin{minted}[fontsize=\small]{sql} + % create function ST\_SimplifyWM( + % geom geometry, + % dhalfcircle float, + % ) returns geometry + %\end{minted} }{ \begin{itemize} \item Leidžia išplėsti kartografinės teorijos žinias apie gamtinių