commit 82007a08a6fca3b74253ef57cc11478f20761e16 (tree)
parent 998e99e4b3547bae3b664b7cbd7caff50603f630
Author: Motiejus Jakštys <motiejus@uber.com>
Date: Sun, 16 May 2021 16:10:39 +0300
displaying gdr50 and gdr250 wip
Diffstat:
3 files changed, 54 insertions(+), 8 deletions(-)
diff --git a/IV/Makefile b/IV/Makefile
@@ -43,7 +43,8 @@ RIVERS = \
salvis-wm-50k \
salvis-wm-250k \
salvis-wm-overlaid-50k-zoom \
- salvis-wm-overlaid-250k-zoom
+ salvis-wm-overlaid-250k-zoom \
+ salvis-gdr50-overlaid
#################################
# The thesis, publishable version
@@ -208,10 +209,16 @@ salvis-wm-overlaid-50k-zoom_1SELECT = wm_visuals where name='salvis'
salvis-wm-overlaid-50k-zoom_2SELECT = wm_visuals where name='salvis-wm-75'
salvis-wm-overlaid-50k-zoom_1COLOR = orange
-salvis-wm-overlaid-250k-zoom_1SELECT = wm_visuals where name='salvis'
-salvis-wm-overlaid-250k-zoom_2SELECT = wm_visuals where name='salvis-wm-220'
+salvis-wm-overlaid-250k-zoom_1SELECT = wm_visuals where name='salvis-wm-220'
+salvis-wm-overlaid-250k-zoom_2SELECT = wm_visuals where name='salvis'
salvis-wm-overlaid-250k-zoom_1COLOR = orange
+salvis-gdr50-overlaid_1SELECT = wm_visuals where name='salvis-wm-75'
+salvis-gdr50-overlaid_2SELECT = wm_visuals where name='salvis-gdr50'
+salvis-gdr50-overlaid_3SELECT = wm_visuals where name='salvis'
+salvis-gdr50-overlaid_1COLOR = orange
+salvis-gdr50-overlaid_2COLOR = green
+
.faux_db_pre: db init.sql
bash db start
bash db -f init.sql
diff --git a/IV/mj-msc.tex b/IV/mj-msc.tex
@@ -111,7 +111,7 @@
dokumentacija yra nemokami ir laisvai prieinami naudojant PostGIS
platformą.
- \end{abstract}
+\end{abstract}
\newpage
@@ -1376,6 +1376,7 @@ table~\ref{table:scale-halfcirlce-diameter}:
\end{itemize}
\subsubsection{Medium-scale (1:\numprint{50000})}
+\label{sec:analyzed-medium-scale}
\begin{figure}[ht]
\centering
@@ -1436,7 +1437,7 @@ simplification and overlays the original (in orange).
\begin{figure}[ht]
\centering
- \includegraphics[width=\textwidth]{salvis-wm-overlaid-250k-zoom}
+ \includegraphics[width=.8\textwidth]{salvis-wm-overlaid-250k-zoom}
\caption{10x zoomed-in {\WM} for 1:\numprint{250000}.}
\label{fig:salvis-wm-250k-overlaid-zoom}
\end{figure}
@@ -1449,7 +1450,45 @@ smaller bends at approximately the same location.
\subsection{Comparing Generalized Result with National Spatial Datasets}
-% TODO: GDR50LT and GDR250LT
+\subsubsection{Background}
+
+There are a few datasets used in this comparison: GDB10LT, GDR50LT and
+GDR250LT. They are vector datasets, which include rivers. They can be
+downloaded for free from \cite{nzt}. Here are the meanings of the codenames:
+
+\begin{description}
+
+ \item[GDB10LT] is dataset of highest detail. Suited for maps of scale
+ 1:\numprint{10000}.
+
+ \item[GDR50LT] is suited for maps of scale 1:\numprint{50000}.
+
+ \item[GDR250LT] offers least detail, and is suited for maps of
+ scale 1:\numprint{250000}.
+
+\end{description}
+
+During the analysis, we ran {\WM} on GDB10LT for 2 destination scales:
+1:\numprint{50000} and 1:\numprint{250000}.\footnote{parameter calculation is
+detailed in section~\ref{sec:bend-scaling-and-dimensions}.} This section
+compares the resulting {\WM}--generalized rivers to GDR50LT and GDR250LT.
+
+\subsubsection{Medium-scale (1:\numprint{50000})}
+
+For our research location, the national dataset GDB10LT is almost equivalent to
+GDR50LT. Figure~\ref{fig:salvis-gdr50-overlaid} illustrates it. Therefore, the
+comparison between {\WM}--simplified GDB10LT and GDR50LT is equivalent to the
+comparison between {\WM}--simplified GDB10LT and non--simplified GDR50LT, which
+was covered in section~\ref{sec:analyzed-medium-scale}.
+
+\begin{figure}[ht]
+ \centering
+ \includegraphics[width=.8\textwidth]{salvis-gdr50-overlaid}
+ \caption{GDB10LT (orange) and GDR50LT (black)}
+ \label{fig:salvis-gdr50-overlaid}
+\end{figure}
+
+\subsubsection{Large-scale (1:\numprint{250000})}
\subsection{Testing Results Online}
\label{sec:testing-results-online}
diff --git a/IV/visuals.sql b/IV/visuals.sql
@@ -105,13 +105,13 @@ insert into wm_visuals(name, way) values
:scaledwidth
)
)),
- ('salvis-50', (
+ ('salvis-gdr50', (
wm_salvisbbox(
(select st_union(way) from wm_rivers_50 where name in ('Šalčia', 'Visinčia')),
:scaledwidth
)
)),
- ('salvis-250', (
+ ('salvis-gdr250', (
wm_salvisbbox(
(select st_union(way) from wm_rivers_250 where name in ('Šalčia', 'Visinčia')),
:scaledwidth