labels and tables
This commit is contained in:
parent
be5a175b6b
commit
be870f2ce7
@ -285,7 +285,7 @@ simplification for scale 1:\numprint{50000} and especially for
|
|||||||
\includegraphics[width=\textwidth]{salvis-visvalingam-64-50k}
|
\includegraphics[width=\textwidth]{salvis-visvalingam-64-50k}
|
||||||
\caption{Using {\VW}.}
|
\caption{Using {\VW}.}
|
||||||
\end{subfigure}
|
\end{subfigure}
|
||||||
\caption{Generalized using classical algorithms (1:\numprint{50000}).}
|
\caption{Simplified using classical algorithms (1:\numprint{50000}).}
|
||||||
\label{fig:salvis-generalized-50k}
|
\label{fig:salvis-generalized-50k}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
@ -300,14 +300,14 @@ figure~\onpage{fig:salvis-generalized-chaikin-50k}.
|
|||||||
\centering
|
\centering
|
||||||
\begin{subfigure}[b]{.49\textwidth}
|
\begin{subfigure}[b]{.49\textwidth}
|
||||||
\includegraphics[width=\textwidth]{salvis-douglas-64-chaikin-50k}
|
\includegraphics[width=\textwidth]{salvis-douglas-64-chaikin-50k}
|
||||||
\caption{{\DP} + Chaikin's.}
|
\caption{{\DP} and Chaikin's.}
|
||||||
\end{subfigure}
|
\end{subfigure}
|
||||||
\hfill
|
\hfill
|
||||||
\begin{subfigure}[b]{.49\textwidth}
|
\begin{subfigure}[b]{.49\textwidth}
|
||||||
\includegraphics[width=\textwidth]{salvis-visvalingam-64-chaikin-50k}
|
\includegraphics[width=\textwidth]{salvis-visvalingam-64-chaikin-50k}
|
||||||
\caption{{\VW} + Chaikin's.}
|
\caption{{\VW} and Chaikin's.}
|
||||||
\end{subfigure}
|
\end{subfigure}
|
||||||
\caption{Generalized and smoothened river (1:\numprint{50000}).}
|
\caption{Simplified and smoothened river (1:\numprint{50000}).}
|
||||||
\label{fig:salvis-generalized-chaikin-50k}
|
\label{fig:salvis-generalized-chaikin-50k}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
@ -315,18 +315,18 @@ figure~\onpage{fig:salvis-generalized-chaikin-50k}.
|
|||||||
\centering
|
\centering
|
||||||
\begin{subfigure}[b]{.49\textwidth}
|
\begin{subfigure}[b]{.49\textwidth}
|
||||||
\includegraphics[width=\textwidth]{salvis-overlaid-douglas-64-chaikin-50k}
|
\includegraphics[width=\textwidth]{salvis-overlaid-douglas-64-chaikin-50k}
|
||||||
\caption{{\DP} + Chaikin's.}
|
\caption{{\DP} and Chaikin's.}
|
||||||
\end{subfigure}
|
\end{subfigure}
|
||||||
\hfill
|
\hfill
|
||||||
\begin{subfigure}[b]{.49\textwidth}
|
\begin{subfigure}[b]{.49\textwidth}
|
||||||
\includegraphics[width=\textwidth]{salvis-overlaid-visvalingam-64-chaikin-50k}
|
\includegraphics[width=\textwidth]{salvis-overlaid-visvalingam-64-chaikin-50k}
|
||||||
\caption{{\VW} + Chaikin's.}
|
\caption{{\VW} and Chaikin's.}
|
||||||
\end{subfigure}
|
\end{subfigure}
|
||||||
\caption{Zoomed-in generalized and smoothened river + original.}
|
\caption{Zoomed-in simplified and smoothened river and original.}
|
||||||
\label{fig:salvis-overlaid-generalized-chaikin-50k}
|
\label{fig:salvis-overlaid-generalized-chaikin-50k}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
The resulting generalized and smoothened example
|
The resulting simplified and smoothened example
|
||||||
(figure~\onpage{fig:salvis-generalized-chaikin-50k}) yields a more
|
(figure~\onpage{fig:salvis-generalized-chaikin-50k}) yields a more
|
||||||
aesthetically pleasing result, however, it obscures natural river features.
|
aesthetically pleasing result, however, it obscures natural river features.
|
||||||
Given the absence of rocks, the only natural features that influence the river
|
Given the absence of rocks, the only natural features that influence the river
|
||||||
@ -433,7 +433,7 @@ following cartographic problems from our examples:
|
|||||||
|
|
||||||
\end{description}
|
\end{description}
|
||||||
|
|
||||||
Like discussed in section~\label{sec:from-simplification-to-generalization}, we
|
Like discussed in section~\ref{sec:from-simplification-to-generalization}, we
|
||||||
limiting the problem to cartographic line generalization. That is, full
|
limiting the problem to cartographic line generalization. That is, full
|
||||||
cartographic generalization, which takes topology and other feature classes
|
cartographic generalization, which takes topology and other feature classes
|
||||||
into account, is out of scope.
|
into account, is out of scope.
|
||||||
@ -445,7 +445,9 @@ exaggerated.
|
|||||||
\begin{figure}[h]
|
\begin{figure}[h]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=.8\textwidth]{wang125}
|
\includegraphics[width=.8\textwidth]{wang125}
|
||||||
\caption{Originally Figure 12.5 from \cite{wang1998line}.}
|
|
||||||
|
\caption{Originally figure 12.5: cartographic line generalization example.}
|
||||||
|
|
||||||
\label{fig:wang125}
|
\label{fig:wang125}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
@ -517,10 +519,9 @@ throughout this paper and the implementation.
|
|||||||
quadruples.
|
quadruples.
|
||||||
|
|
||||||
$O$ notation was first suggested by
|
$O$ notation was first suggested by
|
||||||
Bachmann\cite{bachmann1894analytische} and
|
Bachmann\cite{bachmann1894analytische} and Landau\cite{landau1911} in
|
||||||
Landau\cite{landau1911} in late XIX'th century, and clarified
|
late \textsc{xix} century, and clarified and popularized for
|
||||||
and popularized for computing science by Donald
|
computing science by Donald Knuth\cite{knuth1976big} in the 1970s.
|
||||||
Knuth\cite{knuth1976big} in the 1970s.
|
|
||||||
|
|
||||||
\end{description}
|
\end{description}
|
||||||
|
|
||||||
@ -551,10 +552,10 @@ the implementation:
|
|||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
|
|
||||||
\item Created a function \textsc{wm\_exaggeration}, which exaggerates bends
|
\item Created a function \textsc{wm\_exaggeration}, which exaggerates bends
|
||||||
following the rules. It worked well over simple geometries, but, due to
|
following the rules. It worked well over simple geometries, but, due to a
|
||||||
a subtle bug, created a self-crossing bend in Visinčia. We copied the
|
subtle bug, created a self-crossing bend in Visinčia. We copied the
|
||||||
offending bend to the automated test suite and fixed the bug. The test
|
offending bend to the automated test suite and fixed the bug. The test
|
||||||
suite has the bend itself (a hook-like bend on the right-hand side of
|
suite has the bend itself (a hook-looking bend on the right-hand side of
|
||||||
figure~\ref{fig:test-figures}) and code to verify that it was correctly
|
figure~\ref{fig:test-figures}) and code to verify that it was correctly
|
||||||
exaggerated.
|
exaggerated.
|
||||||
|
|
||||||
@ -672,14 +673,14 @@ of 45cm (1.5 feet) is 1.5mm, as analyzed in \titlecite{mappingunits}.
|
|||||||
In our case, our target is line bend, rather than a symbol. Assume 1.5mm is a
|
In our case, our target is line bend, rather than a symbol. Assume 1.5mm is a
|
||||||
diameter of the bend. A semi-circle of 1.5mm diameter is depicted in
|
diameter of the bend. A semi-circle of 1.5mm diameter is depicted in
|
||||||
figure~\ref{fig:half-circle}. In other words, a bend of this size or larger,
|
figure~\ref{fig:half-circle}. In other words, a bend of this size or larger,
|
||||||
when adjusted to scale, will not be generalized.
|
when adjusted to scale, will not be simplified.
|
||||||
|
|
||||||
\begin{figure}[h]
|
\begin{figure}[h]
|
||||||
\centering
|
\centering
|
||||||
\begin{tikzpicture}[x=1mm,y=1mm]
|
\begin{tikzpicture}[x=1mm,y=1mm]
|
||||||
\draw[] (-10, 0) -- (-.75,0) arc (225:-45:.75) -- (10, 0);
|
\draw[] (-10, 0) -- (-.75,0) arc (225:-45:.75) -- (10, 0);
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\caption{Smallest feature that will be not generalized (to scale).}
|
\caption{Smallest feature that will be not simplified (to scale).}
|
||||||
\label{fig:half-circle}
|
\label{fig:half-circle}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
@ -691,14 +692,13 @@ table~\ref{table:scale-halfcirlce-diameter}.
|
|||||||
|
|
||||||
\begin{table}[h]
|
\begin{table}[h]
|
||||||
\centering
|
\centering
|
||||||
\begin{tabular}{| c | D{.}{.}{1} |}
|
\begin{tabular}{ c D{.}{.}{1} }
|
||||||
\hline
|
Scale & \multicolumn{1}{c}{$D(m)$} \\ \hline
|
||||||
Scale & \multicolumn{1}{c|}{$D(m)$} \\ \hline
|
1:\numprint{10000} & 15 \\
|
||||||
1:\numprint{10000} & 15 \\ \hline
|
1:\numprint{15000} & 22.5 \\
|
||||||
1:\numprint{15000} & 22.5 \\ \hline
|
1:\numprint{25000} & 37.5 \\
|
||||||
1:\numprint{25000} & 37.5 \\ \hline
|
1:\numprint{50000} & 75 \\
|
||||||
1:\numprint{50000} & 75 \\ \hline
|
1:\numprint{250000} & 375 \\
|
||||||
1:\numprint{250000} & 375 \\ \hline
|
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\caption{{\WM} half-circle diameter $D$ for popular scales.}
|
\caption{{\WM} half-circle diameter $D$ for popular scales.}
|
||||||
\label{table:scale-halfcirlce-diameter}
|
\label{table:scale-halfcirlce-diameter}
|
||||||
@ -715,7 +715,7 @@ from circle's area formula $A = 2\pi \frac{D}{2}^2$:
|
|||||||
In reverse, adjusted size $A_{adj}$ from half-circle's diameter:
|
In reverse, adjusted size $A_{adj}$ from half-circle's diameter:
|
||||||
|
|
||||||
\[
|
\[
|
||||||
A_{adj} = \frac{1}{8} \pi D^2
|
A_{adj} = \frac{\pi D^2}{8}
|
||||||
\]
|
\]
|
||||||
|
|
||||||
\subsection{Definition of a Bend}
|
\subsection{Definition of a Bend}
|
||||||
@ -806,8 +806,7 @@ vertices to the next bend.
|
|||||||
\includegraphics[width=\textwidth]{inflection-1-gentle-inflection-after}
|
\includegraphics[width=\textwidth]{inflection-1-gentle-inflection-after}
|
||||||
\caption{After applying the inflection rule.}
|
\caption{After applying the inflection rule.}
|
||||||
\end{subfigure}
|
\end{subfigure}
|
||||||
\caption{Gentle inflection at the end of the bend when multiple vertices
|
\caption{Gentle inflection at the end of the bend with multiple vertices.}
|
||||||
are moved.}
|
|
||||||
\label{fig:inflection-1-gentle-inflection}
|
\label{fig:inflection-1-gentle-inflection}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user