-
Notifications
You must be signed in to change notification settings - Fork 18
/
12-web-mapping-with-leaflet.html
210 lines (184 loc) · 15.8 KB
/
12-web-mapping-with-leaflet.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="The Open Digital Archaeology Textbook Environment" />
<meta property="og:type" content="book" />
<meta property="og:image" content="images/pig.gif" />
<meta property="og:description" content="The Open Digital Archaeology Textbook Environment combines instructive text with a computational DA laboratory" />
<meta name="github-repo" content="o-date/draft" />
<meta name="author" content="Shawn Graham, Neha Gupta, Michael Carter, & Beth Compton" />
<meta name="date" content="2017-02-08" />
<meta name="description" content="The Open Digital Archaeology Textbook Environment combines instructive text with a computational DA laboratory">
<title>The Open Digital Archaeology Textbook Environment</title>
<script src="libs/jquery-1.11.3/jquery.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="libs/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet" />
<script src="libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
<script src="libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
<script src="libs/bootstrap-3.3.5/shim/respond.min.js"></script>
<script src="libs/navigation-1.1/tabsets.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<link rel="stylesheet" href="css/toc.css" type="text/css" />
<style type = "text/css">
.main-container {
max-width: 940px;
margin-left: auto;
margin-right: auto;
}
code {
color: inherit;
background-color: rgba(0, 0, 0, 0.04);
}
img {
max-width:100%;
height: auto;
}
</style>
</head>
<body>
<div class="container-fluid main-container">
<div class="row">
<div class="col-sm-12">
<div id="TOC">
<ul>
<li><a href="index.html#welcome">Welcome</a></li>
<li class="has-sub"><a href="about-the-authors.html#about-the-authors">About the Authors</a><ul>
<li><a href="about-the-authors.html#shawn-graham">Shawn Graham</a></li>
<li><a href="about-the-authors.html#neha-gupta">Neha Gupta</a></li>
<li><a href="about-the-authors.html#michael-carter">Michael Carter</a></li>
<li><a href="about-the-authors.html#beth-compton">Beth Compton</a></li>
</ul></li>
<li class="has-sub"><a href="1-getting-started.html#getting-started"><span class="toc-section-number">1</span> Getting Started</a><ul>
<li><a href="1-1-how-to-use-this-text.html#how-to-use-this-text"><span class="toc-section-number">1.1</span> How to use this text</a></li>
<li><a href="1-2-how-to-contribute-changes-or-make-your-own-version.html#how-to-contribute-changes-or-make-your-own-version"><span class="toc-section-number">1.2</span> How to contribute changes, or make your own version</a></li>
<li><a href="1-3-how-to-access-and-use-the-computational-environment.html#how-to-access-and-use-the-computational-environment"><span class="toc-section-number">1.3</span> How to access and use the computational environment</a></li>
<li><a href="1-4-colophon.html#colophon"><span class="toc-section-number">1.4</span> Colophon</a></li>
</ul></li>
<li><a href="2-introduction-why-digital-archaeology.html#introduction-why-digital-archaeology"><span class="toc-section-number">2</span> Introduction: Why Digital Archaeology?</a></li>
<li><a href="introduction.html#introduction">Introduction</a></li>
<li class="has-sub"><a href="part-one-going-digital.html#part-one-going-digital">Part One: Going Digital</a><ul>
<li><a href="part-one-going-digital.html#discussion"><span class="toc-section-number">2.0.1</span> discussion</a></li>
<li><a href="part-one-going-digital.html#exercises"><span class="toc-section-number">2.0.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="3-project-management-basics.html#project-management-basics"><span class="toc-section-number">3</span> Project management basics</a><ul>
<li class="has-sub"><a href="3-1-github-version-control.html#github-version-control"><span class="toc-section-number">3.1</span> Github & Version control</a><ul>
<li><a href="3-1-github-version-control.html#exercises-1"><span class="toc-section-number">3.1.1</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="3-2-failing-productively.html#failing-productively"><span class="toc-section-number">3.2</span> Failing Productively</a><ul>
<li><a href="3-2-failing-productively.html#discussion-1"><span class="toc-section-number">3.2.1</span> discussion</a></li>
<li><a href="3-2-failing-productively.html#exercises-2"><span class="toc-section-number">3.2.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="3-3-open-notebook-research-scholarly-communication.html#open-notebook-research-scholarly-communication"><span class="toc-section-number">3.3</span> Open Notebook Research & Scholarly Communication</a><ul>
<li><a href="3-3-open-notebook-research-scholarly-communication.html#discussion-2"><span class="toc-section-number">3.3.1</span> discussion</a></li>
<li><a href="3-3-open-notebook-research-scholarly-communication.html#exercises-3"><span class="toc-section-number">3.3.2</span> exercises</a></li>
</ul></li>
</ul></li>
<li class="has-sub"><a href="4-the-ethics-of-big-data-in-archaeology.html#the-ethics-of-big-data-in-archaeology"><span class="toc-section-number">4</span> The Ethics of Big Data in Archaeology</a><ul>
<li><a href="4-the-ethics-of-big-data-in-archaeology.html#discussion-3"><span class="toc-section-number">4.0.1</span> discussion</a></li>
<li><a href="4-the-ethics-of-big-data-in-archaeology.html#exercises-4"><span class="toc-section-number">4.0.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="5-introduction-to-digital-libraries-archives-repositories.html#introduction-to-digital-libraries-archives-repositories"><span class="toc-section-number">5</span> Introduction to Digital Libraries, Archives & Repositories</a><ul>
<li><a href="5-1-command-line-methods-for-working-with-apis.html#command-line-methods-for-working-with-apis"><span class="toc-section-number">5.1</span> Command Line Methods for Working with APIs</a></li>
<li><a href="5-2-working-with-open-context.html#working-with-open-context"><span class="toc-section-number">5.2</span> Working with Open Context</a></li>
<li><a href="5-3-working-with-omeka.html#working-with-omeka"><span class="toc-section-number">5.3</span> Working with Omeka</a></li>
<li><a href="5-4-working-with-tdar.html#working-with-tdar"><span class="toc-section-number">5.4</span> Working with tDAR</a></li>
<li><a href="5-5-working-with-ads.html#working-with-ads"><span class="toc-section-number">5.5</span> Working with ADS</a></li>
</ul></li>
<li><a href="part-two-making-data-useful.html#part-two-making-data-useful">Part Two: Making Data Useful</a></li>
<li class="has-sub"><a href="6-designing-data-collection.html#designing-data-collection"><span class="toc-section-number">6</span> Designing Data Collection</a><ul>
<li><a href="6-designing-data-collection.html#discussion-4"><span class="toc-section-number">6.0.1</span> discussion</a></li>
<li><a href="6-designing-data-collection.html#exercises-5"><span class="toc-section-number">6.0.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="7-cleaning-data-with-open-refine.html#cleaning-data-with-open-refine"><span class="toc-section-number">7</span> Cleaning Data with Open Refine</a><ul>
<li><a href="7-cleaning-data-with-open-refine.html#discussion-5"><span class="toc-section-number">7.0.1</span> discussion</a></li>
<li><a href="7-cleaning-data-with-open-refine.html#exercises-6"><span class="toc-section-number">7.0.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="8-linked-open-data-and-data-publishing.html#linked-open-data-and-data-publishing"><span class="toc-section-number">8</span> Linked Open Data and Data Publishing</a><ul>
<li><a href="8-linked-open-data-and-data-publishing.html#discussion-6"><span class="toc-section-number">8.0.1</span> discussion</a></li>
<li><a href="8-linked-open-data-and-data-publishing.html#exercises-7"><span class="toc-section-number">8.0.2</span> exercises</a></li>
</ul></li>
<li><a href="part-three-finding-and-communicating-the-compelling-story.html#part-three-finding-and-communicating-the-compelling-story">Part Three: Finding and Communicating the Compelling Story</a></li>
<li class="has-sub"><a href="9-statistical-computing-with-r-and-python-notebooks-reproducible-code.html#statistical-computing-with-r-and-python-notebooks-reproducible-code"><span class="toc-section-number">9</span> Statistical Computing with R and Python Notebooks; Reproducible code</a><ul>
<li><a href="9-statistical-computing-with-r-and-python-notebooks-reproducible-code.html#exercises-8"><span class="toc-section-number">9.0.1</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="10-d3-processing-and-data-driven-documents.html#d3-processing-and-data-driven-documents"><span class="toc-section-number">10</span> D3, Processing, and Data Driven Documents</a><ul>
<li><a href="10-d3-processing-and-data-driven-documents.html#exercises-9"><span class="toc-section-number">10.0.1</span> exercises</a></li>
</ul></li>
<li><a href="11-storytelling-and-the-archaeological-cms-omeka-kora.html#storytelling-and-the-archaeological-cms-omeka-kora"><span class="toc-section-number">11</span> Storytelling and the Archaeological CMS: Omeka, Kora</a></li>
<li class="has-sub"><a href="12-web-mapping-with-leaflet.html#web-mapping-with-leaflet"><span class="toc-section-number">12</span> Web Mapping with Leaflet</a><ul>
<li><a href="12-web-mapping-with-leaflet.html#discussion-7"><span class="toc-section-number">12.0.1</span> discussion</a></li>
<li><a href="12-web-mapping-with-leaflet.html#exercises-10"><span class="toc-section-number">12.0.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="13-place-based-interpretation-with-locative-augmented-reality.html#place-based-interpretation-with-locative-augmented-reality"><span class="toc-section-number">13</span> Place-based Interpretation with Locative Augmented Reality</a><ul>
<li><a href="13-place-based-interpretation-with-locative-augmented-reality.html#discussion-8"><span class="toc-section-number">13.0.1</span> discussion</a></li>
<li><a href="13-place-based-interpretation-with-locative-augmented-reality.html#exercises-11"><span class="toc-section-number">13.0.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="14-archaeogaming-and-virtual-archaeology.html#archaeogaming-and-virtual-archaeology"><span class="toc-section-number">14</span> Archaeogaming and Virtual Archaeology</a><ul>
<li><a href="14-archaeogaming-and-virtual-archaeology.html#discussion-9"><span class="toc-section-number">14.0.1</span> discussion</a></li>
<li><a href="14-archaeogaming-and-virtual-archaeology.html#exercises-12"><span class="toc-section-number">14.0.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="15-social-media-as-public-engagement-scholarly-communication-in-archaeology.html#social-media-as-public-engagement-scholarly-communication-in-archaeology"><span class="toc-section-number">15</span> Social media as Public Engagement & Scholarly Communication in Archaeology</a><ul>
<li><a href="15-social-media-as-public-engagement-scholarly-communication-in-archaeology.html#discussion-10"><span class="toc-section-number">15.0.1</span> discussion</a></li>
<li><a href="15-social-media-as-public-engagement-scholarly-communication-in-archaeology.html#exercises-13"><span class="toc-section-number">15.0.2</span> exercises</a></li>
</ul></li>
<li><a href="part-four-eliding-the-digital-and-the-physical.html#part-four-eliding-the-digital-and-the-physical">Part Four: Eliding the Digital and the Physical</a></li>
<li class="has-sub"><a href="16-d-photogrammetry-structure-from-motion.html#d-photogrammetry-structure-from-motion"><span class="toc-section-number">16</span> 3D Photogrammetry & Structure from Motion</a><ul>
<li><a href="16-d-photogrammetry-structure-from-motion.html#discussion-11"><span class="toc-section-number">16.0.1</span> discussion</a></li>
<li><a href="16-d-photogrammetry-structure-from-motion.html#exercises-14"><span class="toc-section-number">16.0.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="17-d-printing-the-internet-of-things-and-maker-archaeology.html#d-printing-the-internet-of-things-and-maker-archaeology"><span class="toc-section-number">17</span> 3D Printing, the Internet of Things and “Maker” Archaeology</a><ul>
<li><a href="17-d-printing-the-internet-of-things-and-maker-archaeology.html#exercises-15"><span class="toc-section-number">17.0.1</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="18-artificial-intelligence-in-digital-archaeology.html#artificial-intelligence-in-digital-archaeology"><span class="toc-section-number">18</span> Artificial Intelligence in Digital Archaeology</a><ul>
<li class="has-sub"><a href="18-1-agent-models.html#agent-models"><span class="toc-section-number">18.1</span> agent models</a><ul>
<li><a href="18-1-agent-models.html#discussion-12"><span class="toc-section-number">18.1.1</span> discussion</a></li>
<li><a href="18-1-agent-models.html#exercises-16"><span class="toc-section-number">18.1.2</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="18-2-machine-learning-for-image-captioning-and-other-classificatory-tasks.html#machine-learning-for-image-captioning-and-other-classificatory-tasks"><span class="toc-section-number">18.2</span> machine learning for image captioning and other classificatory tasks</a><ul>
<li><a href="18-2-machine-learning-for-image-captioning-and-other-classificatory-tasks.html#discussion-13"><span class="toc-section-number">18.2.1</span> discussion</a></li>
</ul></li>
</ul></li>
<li><a href="part-five-digital-archaeologys-place-in-the-world.html#part-five-digital-archaeologys-place-in-the-world">Part Five: Digital Archaeology’s Place in the World</a></li>
<li class="has-sub"><a href="19-marketing-digital-archaeology.html#marketing-digital-archaeology"><span class="toc-section-number">19</span> Marketing Digital Archaeology</a><ul>
<li><a href="19-marketing-digital-archaeology.html#exercises-17"><span class="toc-section-number">19.0.1</span> exercises</a></li>
</ul></li>
<li class="has-sub"><a href="20-sustainability-power-in-digital-archaeology.html#sustainability-power-in-digital-archaeology"><span class="toc-section-number">20</span> Sustainability & Power in Digital Archaeology</a><ul>
<li><a href="20-sustainability-power-in-digital-archaeology.html#discussion-14"><span class="toc-section-number">20.0.1</span> discussion</a></li>
<li><a href="20-sustainability-power-in-digital-archaeology.html#exercises-18"><span class="toc-section-number">20.0.2</span> exercises</a></li>
</ul></li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div id="web-mapping-with-leaflet" class="section level1">
<h1><span class="header-section-number">12</span> Web Mapping with Leaflet</h1>
<p>…I wonder if we should talk about GIS & Pandas, etc… or in R?</p>
<div id="discussion-7" class="section level3">
<h3><span class="header-section-number">12.0.1</span> discussion</h3>
</div>
<div id="exercises-10" class="section level3">
<h3><span class="header-section-number">12.0.2</span> exercises</h3>
</div>
</div>
<p style="text-align: center;">
<a href="11-storytelling-and-the-archaeological-cms-omeka-kora.html"><button class="btn btn-default">Previous</button></a>
<a href="https://github.com/rstudio/bookdown-demo/edit/master/03.4-webmapping-with-leaflet.rmd"><button class="btn btn-default">Edit</button></a>
<a href="13-place-based-interpretation-with-locative-augmented-reality.html"><button class="btn btn-default">Next</button></a>
</p>
</div>
</div>
</div>
<script>
// add bootstrap table styles to pandoc tables
$(document).ready(function () {
$('tr.header').parent('thead').parent('table').addClass('table table-condensed');
});
</script>
</body>
</html>