Skip to content
Snippets Groups Projects
Commit 38a1b959 authored by icyrizard's avatar icyrizard
Browse files

worked on scriptie

parent 398ca70b
No related branches found
No related tags found
No related merge requests found
scriptie.tex: title.tex fsb.tex area_api.tex references.bbl
%.pdf: %.tex
pdflatex $^
pdflatex $^
%.bbl: %.bib
pdflatex scriptie.tex
bibtex scriptie
pdflatex scriptie.tex
pdflatex scriptie.tex
clean:
rm -f *.aux *.toc *.log *.out
realclean:
rm -f *.aux *.toc *.log *.out *.pdf
\section{Area API}
\label{sec: area_api}
\begin{lstlisting}
# Terms
Map: digital terrain map (DTM)
Projected map: inundation map projected/transformed to WGS84/EPSG:3857
(e.g. Google Maps) projection system
# Area List
GET /area/list.json
response:
{"stat": "ok",
"areas": [
{"area_id": 1,
"name": "Science Park",
"center": [52.347185, 4.9370885],
"corners": [[52.334349, 4.904065], [52.334349, 4.970112],
[52.360021, 4.970112], [52.360021, 4.904065]],
"visbounds": [52.360021000000003, 4.9701120000000003,
52.334349000000003, 4.9040650000000001]}
]}
note:
- "center" is the center point coordinate of the map, in latitude
and longitude
- "corners" contains 4 pairs of numbers showing the WGS84 coordinate of the
four corners of the area, in latitude and longitude
- coordinates in the "corners" correspond to the coordinate of
the lower left, lower right, upper right, and upper left corners
of the area, consecutively
- "visbounds" contains 4 numbers representing the WGS84 coordinate of
north, east, south, west in latitude or longitude for laying out the
projected flooding image
# Area List (query)
GET /area/list.json?bounds=north,east,south,west
# Area Info
GET /area/<area_id>/info.json
response:
{"stat": "ok",
"area_id": 1,
"name": "Science Park",
"center": [52.347185, 4.9370885],
"corners": [[52.334349, 4.904065], [52.334349, 4.970112],
[52.360021, 4.970112], [52.360021, 4.904065]],
"size": [880, 565],
"extents": [[0, 0], [0, 0]],
"projection": "...",
"visbounds": [52.360021000000003, 4.9701120000000003,
52.334349000000003, 4.9040650000000001],
"vissize": [880, 565],
"dikes": [[[lat1, lng1], [lat2, lng2], [lat3, lng3], [lat4, lng4]],
[[lat5, lng5], [lat6, lng6], [lat7, lng7], [lat8, lng8]]]
}
note:
- "corners" contains 4 pairs of numbers showing the WGS84 coordinate of
the four corners of the area in latitude and longitude
- "size" shows width and height of the DTM and Inudation Zones Map
- "center" is the center point WGS84 coordinate of the map, in latitude
and longitude
- "extents" contains 2 pairs of numbers showing the coordinate of
the lower left and upper right corner of the map in its original
projection unit
- "projection" contains projection parameter of the map in WKT format
- "visbounds" contains 4 numbers representing the WGS84 coordinate of
north, east, south, west in latitude or longitude for laying out the
projected flooding image in this area
- "vissize" is the size of projected flooding image in this area.
Because of the projection, the flooding image may have different size
compared to the original DTM/Inundation Zones size
- "dikes" contains a list of closed polygons described by a list of
WGS84 coordinates which shows the region of the dikes in the area
# Digital Terrain Map
GET /area/<area_id>/topography.txt
GET /area/<area_id>/topography.txt.gz
# Inundation Zones Map
GET /area/<area_id>/zones.txt
GET /area/<area_id>/zones.txt.gz
# Coordinate to Inundation Zone id mapping
GET /area/<area_id>/izid.json?latlng=<LAT>,<LNG>
response:
{"stat": "ok",
"area_id": 1,
"latlng": [52.347185, 4.9370885],
"izid": 12345}
\end{lstlisting}
\ No newline at end of file
docs/scriptie/chart.png

75.3 KiB

This diff is collapsed.
docs/scriptie/mockup1.png

1.69 MiB

docs/scriptie/mockup1_1.png

478 KiB

docs/scriptie/mockup2.png

1.69 MiB

docs/scriptie/mockup2_1.png

479 KiB

@misc{Titanium-Appcelerator,
title = "Appcelerator, \url{http://www.appcelerator.com/}",
url = "\url{http://www.appcelerator.com/}",
}
@article{memoryleak,
title = "Why you should stay away from appcelerator titanium \\
\url{http://usingimho.wordpress.com/2011/0614/} \\
\url{why-you-should-stay-away-from-appcelerators-titanium/} ",
url = "\url{http://usingimho.wordpress.com/2011/06/14/why-you-should-stay-away-from-appcelerators-titanium/}",
author = "A. Dallera" ,
}
@misc{CSS3,
title = "CSS3 Support, \url{http://www.caniuse.com/}",
url = "\url{http://www.caniuse.com/}",
}
@misc{designing-touch,
title = "designing-touch",
author = "Clark, J.",
year = "2012",
url = "\url{http://www.netmagazine.com/features/designing-touch}",
note = "Retrieved March 31, 2012"
}
@misc{jQuery-Mobile,
title = "jQuery Mobile, \url{http://jquerymobile.com/}",
url = "\url{http://jquerymobile.com/}",
}
@misc{PhoneGap,
title = "PhoneGap, \url{http://www.phonegap.com/}",
url = "\url{http://www.phonegap.com/}",
}
@misc{sencha,
title = "Sencha Touch, \url{http://www.sencha.com/products/touch}",
url = "\url{http://www.sencha.com/products/touch}",
}
@misc{Siege,
title = "Siege, \url{http://www.joedog.org/siege-home/}",
url = "\url{http://www.joedog.org/siege-home/}",
}
%http://www.sencha.com/products/touch
%http://usingimho.wordpress.com/2011/06/14/why-you-should-stay-away-from-appcelerators-titanium/
%http://caniuse.com/
%http://www.joedog.org/siege-home/
%http://www.netmagazine.com/features/designing-touch John Clark 2012 on February 01, 2012
%http://www.appcelerator.com/
%http://jquerymobile.com/
%http://www.phonegap.com/
%\end{document}
\documentclass[a4paper, 11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[margin=2.5cm, nohead]{geometry}
\usepackage{palatino, url, multicol}
\usepackage{amssymb, graphicx, fancyhdr, latexsym, url, verbatim}
\usepackage{algorithm, algorithmic}
\usepackage{hyperref}
%\usepackage{natbib}
\usepackage[all]{xy}
\usepackage{listings}
\usepackage{cite}
\usepackage{makeidx}
\usepackage[english]{babel}
\usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up]{caption}
\usepackage{xspace}
%\usepackage{subfigure} % has to be loaded after caption to prevent clash Commented, because subfig is the newer (and presumably
% better) version of subfigure...
\usepackage{subfig}
\usepackage{xcolor}
%\usepackage[titles,subfigure]{tocloft}
%
%
%\setlength{\cftbeforesecskip}{0.1cm}
\newcommand{\todo}[1]{\colorbox{red}{\color{white}#1}}
\newcommand{\projectName}{Flood Simulation Browser\xspace}
% xspace only puts a space where we want one!
\addtolength{\footskip}{-200mm}
\addtolength{\headheight}{-05mm}
\addtolength{\headsep}{05mm}
\pagestyle{fancy}
\lhead{\projectName}
\rhead{\small F.S.B.}
%\cfoot{\footnotesize \textit{ \projectAbbreviation}\\[0.1cm] \small \thepage}
%\cfoot{}
%\rfoot{\thepage}
\setlength{\parindent}{0pt}
\setlength{\parskip}{10pt}
\begin{document}
\include{title}
%\thispagestyle{empty}
\newpage
\tableofcontents
\newpage
\begin{abstract}
The end product of this project is an multi-platform application, designed specifically for tablets, that will aid the urban flood project in viewing simulated floods. The current implementation this application is done on a multi-touch table which is not easily portable. To reach to goal of mobility and to be able to reach more public, tablets have the same interaction features as the multi-touch table and are therefore chosen to reach this goal. This project involves an investigation for the best possible tools to implement such an application. A side objective is to test how many peers the back-end server can handle at ones. This will also be reported in this document.
\end{abstract}
\input{fsb}
\bibliographystyle{plain}
\bibliography{references}
\appendix
\label{appendixA}
\include{area_api}
\end{document}
\ No newline at end of file
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\begin{titlepage}
\begin{center}
\includegraphics[width=1\textwidth]{uva}\\[0.5cm]
\HRule \\[0.2cm]
{ \huge \LARGE \textbf{\projectName}\\[0.1cm]
\vspace{0.2cm}}
\HRule \\[0.4cm]
\Large \today
\vfill
\begin{tabular}{ll}
\textbf{Supervisor:} & \textbf{Executive:} \\
Robert Belleman - U.v.A & Richard Torenvliet \\
& stdnmr: 6138861 \\
& email: Richard.Torenvliet@student.uva.nl
\end{tabular}
\end{center}
\end{titlepage}
\ No newline at end of file
docs/scriptie/touch.jpg

78 KiB

docs/scriptie/touch.png

287 KiB

docs/scriptie/uva.jpg

18.4 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment