Slide 1

Slide 1 text

Hands on session: Mapping Tools - Analysis and Visualization of Spatial Data Hacking Science Joshua Stevens Dept. of Geography

Slide 2

Slide 2 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Topics we’ll cover •“Spatial is special” •Tools for analysis •Tools for visualization •Helpful resources •Demo: Using CartoDB •Q & A

Slide 3

Slide 3 text

“Spatial is special.” Every geographer. Ever.

Slide 4

Slide 4 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 What makes spatial data special? •“Where?” is relative •Distance isn’t so simple •Earth isn’t a flat, rectangular surface •Scale •Topology •Modifiable Areal Unit Problem •Spatial autocorrelation •No perfect spatial data model

Slide 5

Slide 5 text

Tools for Analysis

Slide 6

Slide 6 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Esri ArcGIS rockware.com www.esri.com

Slide 7

Slide 7 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Esri ArcGIS •De facto standard GIS •10.1 installed in campus labs •1-year licenses for students •Supports vector and raster analysis •Hundreds of tools •Model builder •Python •Many training and certification options

Slide 8

Slide 8 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Esri ArcGIS Online www.arcgis.com/home/webmap/viewer.html

Slide 9

Slide 9 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Quantum GIS (QGIS)

Slide 10

Slide 10 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Quantum GIS (QGIS) It’s open source! Go get it. Right now. www.qgis.org

Slide 11

Slide 11 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Quantum GIS (QGIS) •Actively developed •Supports GRASS, PostgreSQL/PostGIS, OSM... •Great vector and raster tools •Easy to make your own / DL from others •Scriptable: Python

Slide 12

Slide 12 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 PostGIS for PostgreSQL •“Spatially enabled PostgreSQL” •Immensely powerful (and fast!) •No direct GUI SELECT ST_Extent(geom) FROM places WHERE place = 'STATE COLLEGE'; www.postgis.org

Slide 13

Slide 13 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 R (with spatial packages) •A stats favorite •Great for analysis, so- so visualization •Point patterns, trends, interpolation •Recommended packages: statisfaction.wordpress.com ggplot2, maps, splancs, spatstat, mapproj www.cran.r-project.org www.rstudio.com

Slide 14

Slide 14 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 CartoDB www.cartodb.com

Slide 15

Slide 15 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 CartoDB •Analysis, visualization, and sharing •Load data -> PostGIS -> Style -> Share •Developer APIs: CartoDB.js & SQL API •Support for D3, Leaflet, R FREE for .edu

Slide 16

Slide 16 text

Tools for Visualization

Slide 17

Slide 17 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 TileMill www.mapbox.com/tilemill

Slide 18

Slide 18 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 TileMill •CartoCSS for styling •Smart selectors •Shapefiles, PostGIS, SQLite, GeoJSON, CSV... •Interaction •Embed on web / mobile, export tiles, PDF, SVG, PNG •Publish on MapBox •Open source

Slide 19

Slide 19 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 MapBox www.mapbox.com

Slide 20

Slide 20 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 MapBox •Cloud-based map design •Add public layers, base maps •Load your data from TileMill •Embed or share •Free account limited to 3,000 map views •Use in Leaflet via Wax.js

Slide 21

Slide 21 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Leaflet www.leafletjs.com

Slide 22

Slide 22 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Leaflet •Displays tiles, adds interactivity, markers •Very efficient, works well on mobile devices •Your tiles can be almost anything A Map of Thrones?! That’s Westeros....tiled in Leaflet

Slide 23

Slide 23 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 D3 www.d3js.org

Slide 24

Slide 24 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 D3 •Data Driven Documents •JavaScript for HTML+SVG styled with CSS •Huge (and growing) set of examples •Impressive geographic capability •Not for noobs, requires JS proficiency •Can use alongside other tools: MapBox, Leaflet, CartoDB, Google Maps...

Slide 25

Slide 25 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 For an in-depth comparison of these and numerous other tools, please see: Donohue RG, TR Wallace, RE Roth, and TMA Buckingham. 2012. Keeping pace with emerging web mapping technologies. North American Cartographic Information Society (NACIS). Portland, OR: October 17-19.

Slide 26

Slide 26 text

Helpful Resources

Slide 27

Slide 27 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 ColorBrewer www.colorbrewer2.org

Slide 28

Slide 28 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 MapShaper http://mapshaper.com/test/MapShaper.swf

Slide 29

Slide 29 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 GeoCommons www.geocommons.com

Slide 30

Slide 30 text

Demo: CartoDB

Slide 31

Slide 31 text

Mapping Tools - Analysis and Visualization of Spatial Data 1/11/13 Questions? Joshua Stevens | [email protected] | @jscarto Slides available online at: bit.ly/USMVsI