2020-06-03 15:59:19 +03:00
|
|
|
\documentclass[14pt]{beamer}
|
|
|
|
\usetheme{default}
|
|
|
|
\usepackage[L7x,T1]{fontenc}
|
|
|
|
\usepackage[lithuanian]{babel}
|
|
|
|
\usepackage{graphics}
|
|
|
|
\usepackage{biblatex}
|
|
|
|
\usepackage{tabularx}
|
2020-06-03 16:19:18 +03:00
|
|
|
|
2020-06-03 15:59:19 +03:00
|
|
|
\definecolor{vulightgrey}{RGB}{220,220,220}
|
2020-06-03 18:51:54 +03:00
|
|
|
\definecolor{vudarkgrey}{RGB}{65,65,65}
|
2020-06-03 15:59:19 +03:00
|
|
|
\definecolor{vupurple}{RGB}{123,0,63}
|
|
|
|
\definecolor{darkgreen}{RGB}{32,96,32}
|
2020-06-03 18:47:05 +03:00
|
|
|
|
2020-06-03 15:59:19 +03:00
|
|
|
\setbeamercolor{title}{fg=vupurple}
|
|
|
|
\setbeamercolor{frametitle}{fg=vupurple}
|
|
|
|
\setbeamercolor{item}{fg=vupurple}
|
|
|
|
\setbeamercolor{navigation symbols dimmed}{fg=vulightgrey}
|
|
|
|
\setbeamercolor{navigation symbols}{fg=vulightgrey}
|
2020-06-03 18:53:14 +03:00
|
|
|
\setbeamercolor{normal text}{fg=vudarkgrey}
|
2020-06-03 15:59:19 +03:00
|
|
|
|
|
|
|
\newcommand{\DP}{Douglas \& Peucker}
|
|
|
|
\newcommand{\VW}{Visvalingam--Whyatt}
|
|
|
|
\newcommand{\WM}{Wang--M{\"u}ller}
|
|
|
|
|
|
|
|
\mode<presentation>{
|
|
|
|
\setbeamertemplate{navigation symbols}{
|
|
|
|
\insertslidenavigationsymbol
|
|
|
|
\insertframenavigationsymbol
|
|
|
|
\hspace{0.2cm}
|
|
|
|
\begin{minipage}[c]{0.5cm}
|
|
|
|
\vspace{-0.1cm}
|
|
|
|
{\strut\insertframenumber{}/\inserttotalframenumber\strut}
|
|
|
|
\end{minipage}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\twocols}[2]
|
|
|
|
{
|
|
|
|
\begin{columns}[c]
|
|
|
|
\begin{column}{0.5\textwidth}
|
|
|
|
#1
|
|
|
|
\end{column}
|
|
|
|
\hspace{0pt} \vrule{}
|
|
|
|
\begin{column}{0.5\textwidth}
|
|
|
|
#2
|
|
|
|
\end{column}
|
|
|
|
\end{columns}
|
|
|
|
}
|
|
|
|
|
|
|
|
%% =============================================================================
|
|
|
|
|
|
|
|
\title{
|
2020-06-03 18:35:22 +03:00
|
|
|
Kartografinis linijų generalizavimas naudojant atvirą kodą \\
|
|
|
|
(upių pavyzdžiu)
|
2020-06-03 18:16:33 +03:00
|
|
|
}
|
|
|
|
\subtitle{
|
|
|
|
\vspace{2em}
|
|
|
|
Cartografic Generalization of Lines using free software (example of rivers)
|
2020-06-03 15:59:19 +03:00
|
|
|
}
|
|
|
|
\author{Motiejus Jakštys \\
|
2020-06-03 18:16:33 +03:00
|
|
|
\includegraphics[height=5em]{../../misc/Logo_vilniaus_universitetas}
|
2020-06-03 15:59:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\AtBeginSection[]
|
|
|
|
{
|
|
|
|
\begin{frame}
|
|
|
|
\frametitle{Turinys}
|
|
|
|
\tableofcontents[currentsection]
|
|
|
|
\end{frame}
|
|
|
|
}
|
|
|
|
|
|
|
|
\begin{frame}
|
|
|
|
\titlepage
|
|
|
|
\end{frame}
|
|
|
|
|
2020-06-03 18:24:17 +03:00
|
|
|
\begin{frame}
|
|
|
|
Referato tikslas --- apžvelgti esamus generalizacijos būdus ir pasiūlyti
|
|
|
|
alternatyvą.
|
|
|
|
\end{frame}
|
|
|
|
|
2020-06-03 15:59:19 +03:00
|
|
|
\section{Problema}
|
|
|
|
|
|
|
|
\begin{frame}{Kas yra kartografinė generalizacija?}
|
|
|
|
\begin{itemize}[<+->]
|
|
|
|
\item Mažinant mastelį reikia mažinti detalumą.
|
|
|
|
\item Detalumo mažinimas yra sudėtinga problema.
|
|
|
|
\end{itemize}
|
2020-06-03 16:10:25 +03:00
|
|
|
\onslide<+->{Paimkime pavyzdį.}
|
2020-06-03 15:59:19 +03:00
|
|
|
\end{frame}
|
|
|
|
|
|
|
|
\begin{frame}{Žeimena ir Lakaja}
|
|
|
|
\twocols
|
|
|
|
{\includegraphics[width=\textwidth]{zeimena}}
|
|
|
|
{\includegraphics[width=\textwidth]{crossing}}
|
|
|
|
\end{frame}
|
|
|
|
|
|
|
|
\begin{frame}{Kas yra prieinama?}
|
2020-06-03 16:10:25 +03:00
|
|
|
\pause
|
2020-06-03 15:59:19 +03:00
|
|
|
\begin{itemize}[<+->]
|
|
|
|
\item Atvira ir galima naudoti:
|
|
|
|
\begin{itemize}[<+->]
|
|
|
|
\item {\DP}
|
|
|
|
\item {\VW}
|
|
|
|
\end{itemize}
|
|
|
|
\item Komerciniame produkte:
|
|
|
|
\begin{itemize}[<+->]
|
|
|
|
\item {\WM}
|
|
|
|
\end{itemize}
|
|
|
|
\end{itemize}
|
|
|
|
\end{frame}
|
|
|
|
|
|
|
|
\begin{frame}{Pritaikant dabartinius algoritmus}
|
|
|
|
\pause
|
|
|
|
\begin{tabularx}{\textwidth}{ | X | X | }
|
|
|
|
Douglas \& Peucker &
|
|
|
|
Visvalingam-Whyatt \tabularnewline \hline
|
|
|
|
|
|
|
|
\onslide<3->{\center
|
|
|
|
\includegraphics[width=.75\linewidth]{overlaid-zeimena-douglas-64}} &
|
|
|
|
\onslide<3->{\center
|
|
|
|
\includegraphics[width=.75\linewidth]{overlaid-zeimena-visvalingam-64}} \tabularnewline \hline
|
|
|
|
|
|
|
|
\onslide<4->{\center
|
|
|
|
\includegraphics[width=.75\linewidth]{overlaid-zeimena-douglas-256}} &
|
|
|
|
\onslide<4->{\center
|
|
|
|
\includegraphics[width=.75\linewidth]{overlaid-zeimena-visvalingam-256}} \tabularnewline \hline
|
|
|
|
\end{tabularx}
|
|
|
|
\end{frame}
|
|
|
|
|
2020-06-03 16:10:25 +03:00
|
|
|
\begin{frame}{Problemos}
|
|
|
|
Ne taip, kaip kartografai generalizuotų:
|
|
|
|
\pause
|
|
|
|
\begin{itemize}[<+->]
|
|
|
|
\item Daug "kampų" ir "dantų".
|
|
|
|
\item Nedideli vingiai visiškai dingsta.
|
2020-06-03 18:26:27 +03:00
|
|
|
\item Upės realybėje beveik niekada nebūna tiesios.
|
2020-06-03 16:10:25 +03:00
|
|
|
\end{itemize}
|
|
|
|
\end{frame}
|
|
|
|
|
|
|
|
|
2020-06-03 15:59:19 +03:00
|
|
|
\section{Pasiūlymas}
|
|
|
|
|
|
|
|
\begin{frame}{Algoritmas}
|
|
|
|
\begin{center}
|
|
|
|
\fbox{
|
|
|
|
\includegraphics[width=\textwidth]{images/wang1998line.png}
|
|
|
|
}
|
|
|
|
\end{center}
|
|
|
|
\end{frame}
|
|
|
|
|
|
|
|
\begin{frame}{Pagrindiniai privalumai}
|
2020-06-03 16:10:25 +03:00
|
|
|
Sukurtas pagal tai, kaip kartografai generalizuotų:
|
2020-06-03 15:59:19 +03:00
|
|
|
\pause
|
|
|
|
\begin{itemize}[<+->]
|
2020-06-03 16:10:25 +03:00
|
|
|
\item Nesukuriami "kampai" ir "dantys".
|
|
|
|
\item Nedideli vingiai "prastinami" į vieną didesnį.
|
2020-06-03 18:26:27 +03:00
|
|
|
\item Nežymius vingius praplatina, taip išvengiama tiesių linijų.
|
2020-06-03 16:10:25 +03:00
|
|
|
\end{itemize}
|
|
|
|
\end{frame}
|
|
|
|
|
|
|
|
\begin{frame}{Technologijos}
|
|
|
|
\begin{itemize}[<+->]
|
2020-06-03 18:38:44 +03:00
|
|
|
\item {\texttt python -m qgis.core}
|
|
|
|
\item SQL: PostGIS 3.x
|
2020-06-03 15:59:19 +03:00
|
|
|
\end{itemize}
|
|
|
|
\end{frame}
|
|
|
|
|
|
|
|
\section{Darbo eiga}
|
|
|
|
|
|
|
|
\begin{frame}{Darbo eiga}
|
|
|
|
\begin{itemize}[<+->]
|
|
|
|
\item Parašyti algoritmą.
|
|
|
|
\item Aprašyti rezultatus.
|
|
|
|
\end{itemize}
|
|
|
|
\end{frame}
|
|
|
|
|
2020-06-03 19:05:59 +03:00
|
|
|
\begin{frame}{Klausimai?}
|
|
|
|
\end{frame}
|
|
|
|
|
2020-06-03 15:59:19 +03:00
|
|
|
\end{document}
|