Skip to content

Commit cac5725

Browse files
committed
more slides 02
1 parent 1dcddf0 commit cac5725

File tree

1 file changed

+26
-19
lines changed

1 file changed

+26
-19
lines changed

slides/02_GitHub-Data/index.html

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@
145145
<div>We need to be able to optimize our data for the web!</div>
146146
<div><h2>Goals:</h2>
147147
<ul>
148-
<li>Get to know geoJSON</li>
148+
<li>Get to know GeoJSON</li>
149149
<li>Understand the basics of GitHub</li>
150150
<li>Be able to access and make changes to files on GitHub</li>
151151
<li>Identify tools and sources to get &amp; prepare data for the web</li>
152152
</ul>
153153
</div>
154154

155-
<!--Intro to geoJSON-->
155+
<!--Intro to GeoJSON-->
156156
<div>What data formats are we working with usually in GIS?</div>
157157
<div data-bodyclass="gdb purple-text imageTextLight">geodatabase</div>
158158
<div data-bodyclass="shapefile purple-text imageTextLight">shapefile</div>
@@ -162,7 +162,7 @@
162162
<div>CSV</div>
163163
<div>KML</div>
164164
<div>But the emerging standard for web-based mapping...</div>
165-
<div>geoJSON</div>
165+
<div>GeoJSON</div>
166166
<!--This section contains several slides from Lyzi Diamond: http://lyzidiamond.com/learn-geojson/-->
167167
<div>What is <em>GeoJSON</em>?</div>
168168
<div><em>GeoJSON:</em> geographic data format. (Contains spatial information.)</div>
@@ -180,7 +180,7 @@
180180
<div>And it's pretty easy to edit <em>GeoJSON</em>in your browser with a tool called <a href="http://geojson.io/" target="_blank">geojson.io</a></div>
181181
<div>(We'll come back to that.)</div>
182182

183-
<div>We know about a data format (geoJSON)...</div>
183+
<div>We know about a data format (GeoJSON)...</div>
184184
<div>Where are we going to <em>store</em> it so it's also <em>accessible</em> for webmaps?</div>
185185
<div>We'll use <a href="https://github.com/" target="_blank">GitHub</a>!</div>
186186
<div>But first...</div>
@@ -206,7 +206,7 @@
206206
</div>
207207
<div>And since we <em>looove</em> maps...</div>
208208
<div><em>GitHub:</em> best friends with <em>GeoJSON</em>!</div>
209-
<div>Support for geo (especially geoJSON)</div>
209+
<div>Support for geo (especially GeoJSON)</div>
210210
<div><h2>Support for geo</h2>
211211
<ul>
212212
<li>Store &amp; access data
@@ -215,15 +215,15 @@
215215
<li><a href="http://vimeo.com/106228441">"Small Town GIS Leveraging Github"</a> - Aaron Racicot at FOSS4G2014</li>
216216
</ul>
217217
</li>
218-
<li>geoJSON rendered as a map</li>
218+
<li>GeoJSON rendered as a map</li>
219219
</ul>
220220
</div>
221221
<div>Limitations</div>
222222
<div><h2>Limitations</h2>
223223
<ul>
224224
<li>Limiting access (private repositories) == $</li>
225225
<li>100mb size limitation</li>
226-
<li>Visualization support for json, geojson, &amp; topojson only</li>
226+
<li>Visualization support for JSON, GeoJSON, &amp; TopoJSON only</li>
227227
</ul>
228228
</div>
229229
<div>Let's get started with GitHub!</div>
@@ -242,40 +242,44 @@
242242
</ul>
243243
</div>
244244
<div>Lingo</div>
245-
<div>Basic unit: repository</div>
245+
<div>Basic unit: <em>repository</em></div>
246246
<div>aka: <em>repo</em></div>
247-
<div>Place for your code, data, documents...digital stuff in general</div>
247+
<div>Place for your code, data, documents...<em>digital stuff</em> in general</div>
248248
<div class="center-text">Repos accessible from your own computer<br /><em>OR</em><br />another computer/server</div>
249249
<div>Made a change to something in your repo?</div>
250250
<div>
251251
<ol>
252252
<li>save</li>
253-
<li>commit + message</li>
254-
<li>sync/push to server</li>
253+
<li><em>commit</em> + message</li>
254+
<li><em>sync</em> to server</li>
255255
</ol>
256256
</div>
257257
<div>We can work with our own stuff...or other people's stuff!</div>
258258
<div>How?</div>
259-
<div class="center-text">fork<br />&amp;<br />clone</div>
259+
<div class="center-text">fork<br /><em>&amp;</em><br />clone</div>
260260
<div><a href="https://github.com/maptastik/os-webmap-workshop" target="_blank">Fork this repo</a></div>
261-
<div data-bodyclass="fork"></div>
262-
<div>Clone repo</div>
263-
<div data-bodyclass="clone"></div>
261+
262+
264263
<div>Note the <em>branch</em></div>
265264
<div data-bodyclass="gh-pages-1"></div>
266265
<div>New repos start with a <em>Master</em> branch</div>
267266
<div>But we want to be able to use GitHub to show our maps and data within a webpage</div>
268267
<div>So we're working with the gh-pages</div>
268+
<div data-bodyclass="fork"></div>
269+
<div>Clone repo</div>
270+
<div data-bodyclass="clone"></div>
269271
<div>Let's look at some data<br /><br /><a href="https://github.com/maptastik/os-webmap-workshop/blob/gh-pages/data/prepared/toledo_poi.geojson" target="_blank">Toledo POIs</a></div>
272+
<div>If you fork &amp; cloned: ./data/prepared/toledo_poi.geojson</div>
273+
<div>Otherwise: <a href="http://bit.ly/1FRWv0L">http://bit.ly/1FRWv0L</a></div>
270274
<div>We can edit the POIs...</div>
271-
<div>...or make new geoJSON!</div>
275+
<div>...or make new GeoJSON!</div>
272276
<div>How?</div>
273277
<div><a href="http://geojson.io/" target="_blank">geojson.io</a></div>
274-
<div>If you use Chrome, <a href="https://chrome.google.com/webstore/detail/geojsonio/oibjgofbhldcajfamjganpeacipebckp" target="_blank">there's an extension</a> for opening your geoJSON from within GitHub</div>
278+
<div>If you use Chrome, <a href="https://chrome.google.com/webstore/detail/geojsonio/oibjgofbhldcajfamjganpeacipebckp" target="_blank">there's an extension</a> for opening your GeoJSON from within GitHub</div>
275279

276-
<div>But you probably have tons on non-geoJSON data...</div>
280+
<div>But you probably have tons of non-GeoJSON data...</div>
277281
<div>What to do?</div>
278-
<div><h4>Tools for geoJSONifying your data:</h4>
282+
<div><h4>Tools for GeoJSONifying your data:</h4>
279283
<ul>
280284
<li><a href="http://ogre.adc4gis.com/" target="_blank">Ogre</a> (web)</li>
281285
<li><a href="http://www.shpescape.com/mix/" target="_blank">Shapescape</a> (web)</li>
@@ -309,6 +313,9 @@ <h2>For instance</h2>
309313
<div data-bodyclass="osm-1"></div>
310314
<div>Easy access to OSM data set via <a href="http://overpass-turbo.eu/" target="_blank">Overpass Turbo</a></div>
311315
<div data-bodyclass="overpass-turbo"></div>
316+
<div>What have we learned?</div>
317+
<div>GeoJSON is an important data format for webmapping</div>
318+
<div>We can use GitHub to store and access our data</div>
312319

313320
</body>
314321
</html>

0 commit comments

Comments
 (0)