add dbug aides

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:48 +03:00 committed by Motiejus Jakštys
parent eeb6a505d0
commit ec85e3bd79

View File

@ -24,6 +24,9 @@
\input{version.inc}
\input{vars.inc}
% for layout debugging
\usepackage{layouts}
\newcommand{\onpage}[1]{\ref{#1} on page~\pageref{#1}}
\newcommand{\titlecite}[1]{\citetitle{#1} \cite{#1}}
\newcommand{\DP}{Douglas \& Peucker}
@ -78,6 +81,11 @@ Current open-source line generalization solutions have their roots in
\section{Introduction}
\label{sec:introduction}
\begin{itemize}
\item Text width in pt: \prntlen{\textwidth}
\item Text width in cm: {\printinunitsof{cm}\prntlen{\textwidth}}
\end{itemize}
When creating small-scale maps, often the detail of the data source is greater
than desired for the map. This becomes especially acute for natural features
that have many bends, like coastlines, rivers and forest boundaries.
@ -461,6 +469,8 @@ bends need to be checked.
\subsection{Attributes of a Single Bend}
\textsc{Compactness Index} is "the ratio of the area of the polygon over the
circle whose circumference length is the same as the length of the
circumference of the polygon" \cite{wang1998line}. Given a bend, its