Slide 1

Slide 1 text

Putting Design On The Map Shane Hudson From The Front 2015

Slide 2

Slide 2 text

Putting Design On The Map Shane Hudson From The Front 2015

Slide 3

Slide 3 text

Sir Tim Berners-Lee “ The original idea of the web was that it should be a collaborative space where you can communicate through sharing information. ”

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Everyone “ But we already have Google Maps, right? ”

Slide 7

Slide 7 text

Me “ Yup! ”

Slide 8

Slide 8 text

The First Web Page - No Styling!

Slide 9

Slide 9 text

The First Web Page - No Styling!

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

“ A map does not just chart, it unlocks and formulates meaning; it forms bridges between here and there, between disparate ideas that we did not know were previously connected. ” Reif Larsen, The Selected Works of T.S. Spivet

Slide 13

Slide 13 text

Reif Larsen, The Selected Works of T.S. Spivet “ A map does not just chart, it unlocks and formulates meaning; it forms bridges between here and there, between disparate ideas that we did not know were previously connected. ”

Slide 14

Slide 14 text

The difference between a map and a picture is the context between the lines and dots, the unlocked meaning within.

Slide 15

Slide 15 text

London Squared Map © 2015. After the Flood

Slide 16

Slide 16 text

Cartographia by Vincent Virga

Slide 17

Slide 17 text

1947 Ordnance Survey Map

Slide 18

Slide 18 text

Map of Bologna from Civitates Orbis Terrarium

Slide 19

Slide 19 text

Reconstruction of Anaximander’s Map

Slide 20

Slide 20 text

Reconstruction of Anaximander’s Map

Slide 21

Slide 21 text

Reconstruction of ‘The World According To Hecataeus'

Slide 22

Slide 22 text

Reconstruction of ‘The World According To Hecataeus'

Slide 23

Slide 23 text

Dr John Snow’s 1854 Map of the London Cholera Outbreak

Slide 24

Slide 24 text

Dr John Snow’s 1854 Map of the London Cholera Outbreak

Slide 25

Slide 25 text

Ethnographical map of the Balkan Peninsula by Jovan Cvijić

Slide 26

Slide 26 text

Photo of Cyprus taken In 2014 from the International Space Station

Slide 27

Slide 27 text

Google Map Showing Traffic In London

Slide 28

Slide 28 text

Google Analytics Locations

Slide 29

Slide 29 text

Google Analytics Locations

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

1862 Map of Abe River Region

Slide 33

Slide 33 text

1764 Map of Dagua River Region, Colombia

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Eventbrite Styled Google Map

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

2015 Map for dConstruct Venue

Slide 39

Slide 39 text

Visualisation Techniques

Slide 40

Slide 40 text

Markers

Slide 41

Slide 41 text

Contours

Slide 42

Slide 42 text

Choropleth

Slide 43

Slide 43 text

Heatmap

Slide 44

Slide 44 text

Technical

Slide 45

Slide 45 text

Google Analytics Locations

Slide 46

Slide 46 text

Using Google Charts To Produce A Map google.load("visualization", "1", {packages:["geochart"]}); google.setOnLoadCallback(drawRegionsMap); function drawRegionsMap() { var data = google.visualization.arrayToDataTable([ // array of countries with data such as ["Italy", 100] ]); var options = {}; var chart = new google.visualization.GeoChart(container); chart.draw(data, options); }

Slide 47

Slide 47 text

Projections EPSG:4326 = Geographic Coordinate System EPSG:3857 = Projected Coordinate System

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

Base Maps

Slide 50

Slide 50 text

{"messages": [{"device":"1615","owner":"gizmo","topic" :"/orgs/EMSC/aegean-sea","payload": {"encoding":"UTF-8","content-type":"text/ plain","text":"{\"source-catalog\": \"EMSC-RTS\",\"time\": \"2015-09-07T08:17:54.9Z\",\"longitude\": 24.6,\"magnitude\":2.8,\"unit-id\": \"20150907_0000038\",\"auth\":\"THE\", \"region\":\"AEGEAN SEA\",\"updated_at\": \"2015-09-07T08:32:00.0Z\",\"depth-in-km \":7.0,\"magnitude-type\":\"ml\",\"id\": \"20150907_0000038\",\"latitude\": 38.6,\"source-id\":\"458114\",\"event- type\":\"ke \"}"},"date":"2015-09-07T08:37:25.650Z"}, {"device":"1615","owner":"gizmo","topic": "/orgs/EMSC/aegean-sea","payload": {"encoding":"UTF-8","content-type":"text/ plain","text":"{\"source-catalog\": \"EMSC-RTS\",\"time\": \"2015-08-21T05:58:25.8Z\",\"longitude\": 25.87,\"magnitude\":2.0,\"unit-id\": \"20150821_0000014\",\"auth\":\"ISK\", \"region\":\"AEGEAN SEA\",\"updated_at\": \"2015-08-21T06:12:00.0Z\",\"depth-in-km \":9.0,\"magnitude-type\":\"ml\",\"id\": API Response {"type":"FeatureCollection","features": [{"type":"Feature","geometry": {"type":"Point","coordinates": [24.6,38.6]}}, {"type":"Feature","geometry": {"type":"Point","coordinates": [25.87,40.34]}}, {"type":"Feature","geometry": {"type":"Point","coordinates": [25.61,39.79]}}, {"type":"Feature","geometry": {"type":"Point","coordinates": [25.9,38.47]}}, {"type":"Feature","geometry": {"type":"Point","coordinates": [25.75,38.82]}}, {"type":"Feature","geometry": {"type":"Point","coordinates": [25.14,40.18]}}, {"type":"Feature","geometry": {"type":"Point","coordinates": [25.71,40.33]}}, {"type":"Feature","geometry": {"type":"Point","coordinates": [25.86,39.45]}}, {"type":"Feature","geometry": {"type":"Point","coordinates": GeoJSON

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

Earthquakes - Set up Open Layers map var raster = new ol.layer.Tile({ source: new ol.source.MapQuest({layer: 'sat'}) }); var map = new ol.Map({ target: 'map', layers: [ raster ], view: new ol.View({ center: ol.proj.transform( [37.41, 8.82], 'EPSG:4326', 'EPSG:3857' ), zoom: 4 }) });

Slide 53

Slide 53 text

Earthquakes - Set up Open Layers map var raster = new ol.layer.Tile({ source: new ol.source.MapQuest({layer: 'sat'}) }); var map = new ol.Map({ target: 'map', layers: [ raster ], view: new ol.View({ center: ol.proj.transform( [20, 40], 'EPSG:4326', 'EPSG:3857' ), zoom: 4 }) });

Slide 54

Slide 54 text

Earthquakes - Get Data $.ajax({ type: "GET", url: "https://opensensors.io/api/1.0/users/ShaneHudson/ messages-by-topic", headers: {"Authorization": "api-key xxxxx"}, data: { "topic": "/orgs/EMSC/aegean-sea" }, success: addData });

Slide 55

Slide 55 text

Earthquakes - Parse The Data function parseGeo(data) { var geoData = { type: "FeatureCollection", features: [] }; for (var i = 0; i < data.messages.length; i++) { var payload = JSON.parse(data.messages[i].payload.text); geoData.features.push({ type : "Feature", geometry : { type : "Point", coordinates : [payload.longitude, payload.latitude] } }); } return geoData; }

Slide 56

Slide 56 text

Earthquakes - Put Data On The Map var addData = function(response) { var format = new ol.format.GeoJSON(); var heatmap = new ol.layer.Heatmap({ source: new ol.source.Vector({ features: format.readFeatures( parseGeo(response), { featureProjection : "EPSG:3857" } ) }), radius: 5 }); map.addLayer(heatmap); };

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

Web Maps Can Work Offline! (Soon)

Slide 59

Slide 59 text

Real time

Slide 60

Slide 60 text

Tools

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

Leaflet var map = L.map('map').setView([51.505, -0.09], 13); L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors' }).addTo(map); L.marker([51.5, -0.09]).addTo(map) .bindPopup('A pretty CSS3 popup.
Easily customizable.') .openPopup();

Slide 63

Slide 63 text

Open Layers

Slide 64

Slide 64 text

Open Layers

Slide 65

Slide 65 text

ViziCities

Slide 66

Slide 66 text

Cesium

Slide 67

Slide 67 text

Mapbox

Slide 68

Slide 68 text

Mapbox Studio

Slide 69

Slide 69 text

Mapbox Online Editor

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

No content

Slide 72

Slide 72 text

@shanehudson From The Front 2015 Thank you! shanehudson.net