14 Lines and Polygons

51
14 Lines and Polygons Mapping in the Cloud Peterson

description

14 Lines and Polygons. Mapping in the Cloud Peterson. Simple Line. Flow Map. Flow Map Line. Great Circle. Geodesic = Great circle. From XML file. From XML file. From JSON. From KML. KML Line. From Fusion Table. Fusion Table Line Segments. Contour Lines. 60,000 coordinates. - PowerPoint PPT Presentation

Transcript of 14 Lines and Polygons

Page 1: 14 Lines and Polygons

14 Lines and Polygons

Mapping in the CloudPeterson

Page 2: 14 Lines and Polygons

Simple Line

Page 3: 14 Lines and Polygons
Page 4: 14 Lines and Polygons

Flow Map

Page 5: 14 Lines and Polygons

Flow Map Line

Page 6: 14 Lines and Polygons

Great Circle

Page 7: 14 Lines and Polygons

Geodesic = Great circle

Page 8: 14 Lines and Polygons

From XML file

Page 9: 14 Lines and Polygons

From XML file

Page 10: 14 Lines and Polygons

From JSON

Page 11: 14 Lines and Polygons

From KML

Page 12: 14 Lines and Polygons

KML Line

Page 13: 14 Lines and Polygons

From Fusion Table

Page 14: 14 Lines and Polygons

Fusion Table Line Segments

Page 15: 14 Lines and Polygons

Contour Lines

60,000 coordinates

Page 16: 14 Lines and Polygons

Lines from FusionTable

60,000 coordinates

Page 17: 14 Lines and Polygons

Click to Add Points

Page 18: 14 Lines and Polygons

Click to Add Points

Page 19: 14 Lines and Polygons

Cross-section

Page 20: 14 Lines and Polygons
Page 21: 14 Lines and Polygons

Visualization API

function Q(a,b,c){if(a.addEventListener)a.addEventListener(b,c,j);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var e=a["on"+b];if(e!=h)var f=[c,e],c=function(){for(var a=0;a<f[x];a++)f[a]()};a["on"+b]=c}}var P=[];google[A].O=function(){var a=l.event.srcElement;"complete"==a.readyState&&(a.onreadystatechange=h,a.parentNode.removeChild(a),R())};L("google.loader.domReady",google[A].O);var aa={loaded:g,complete:g};function T(){aa[m.readyState]?R():0<P[x]&&l[z](T,10)}function R(){for(var a=0;a<P[x];a++)P[a]();P.length=0}google[A].d=function(a,b,c){if(c){var e;"script"==a?(e=m.createElement("script"),e.type="text/javascript",e.src=b)

Compact JavaScript that is essentially indecipherable

Page 22: 14 Lines and Polygons

Scale Dependence in Encoded Polylines

Page 23: 14 Lines and Polygons

Encoding

Page 24: 14 Lines and Polygons

Polygon

Page 25: 14 Lines and Polygons

Polygon

Page 26: 14 Lines and Polygons

From XML file

Page 27: 14 Lines and Polygons

From XML file

Page 28: 14 Lines and Polygons

Donut Polygon

Page 29: 14 Lines and Polygons

Donut Polygon

Page 30: 14 Lines and Polygons

Donut Polygon from KML

Page 31: 14 Lines and Polygons

Donut Polygon from KML

Page 32: 14 Lines and Polygons

Line Coordinate Thinning

Page 33: 14 Lines and Polygons

Topology and Generalization

Page 34: 14 Lines and Polygons

File Conversion

Page 35: 14 Lines and Polygons

Formatting for XML file

Page 36: 14 Lines and Polygons

From KML file

Page 37: 14 Lines and Polygons

From KML file

Page 38: 14 Lines and Polygons

Google Map Error

Page 39: 14 Lines and Polygons

Choropleth Map

Page 40: 14 Lines and Polygons

Opacity-based Choropleth Map

Page 41: 14 Lines and Polygons

Computing Opacities

Page 42: 14 Lines and Polygons

Fusion Table Gradient

Page 43: 14 Lines and Polygons

Fusion Table buckets (classes)

Page 44: 14 Lines and Polygons

Fusion Table

Gradient Map

Page 45: 14 Lines and Polygons

Fusion Table

Classed Map

Page 46: 14 Lines and Polygons
Page 47: 14 Lines and Polygons

Heat Map

Page 48: 14 Lines and Polygons

Heat Map

Heat map displayset in Fusion Table

Page 49: 14 Lines and Polygons

Shaded Isoline (Isotherms)

Page 50: 14 Lines and Polygons

Two different

scales

Page 51: 14 Lines and Polygons

</script><script type="text/javascript"> function initialize() { var brazil = new google.maps.LatLng(-18.771115, -42.758789); map = new google.maps.Map(document.getElementById('map_canvas'), { center: brazil, zoom: 4, mapTypeId: 'roadmap'}); // Table 136705 has beaches along Brazil's coastline // View this table in a webpage: http://tables.googlelabs.com/DataSource?dsrcid=136705layer = new google.maps.FusionTablesLayer(136705, { heatmap: true