AN INTRODUCTION TO MAPBOX TOOLS AND SOFTWARE. Matt Gregory 24 July 2013



Similar documents
County of Los Angeles. Chief Information Office Preferred Technologies for Geographic Information Systems (GIS) September 2014

Vector Web Mapping Past, Present and Future. Jing Wang MRF Geosystems Corporation

Leveraging Cloud-Based Mapping Solutions

Developer Tutorial Version 1. 0 February 2015

HANDS-ON WORKSHOP TOOLS FOR SPATIAL DATA VISUALIZATION: Using selected Open Source tools and Open Data to visualize your own spatial data

Scott Moore, Esri April 4, Intermountain, Great Falls, MT

Distributed Systems Seminar Spatio-Temporal Visualization System - STVS

GeoPackage, The Shapefile Of The Future

Step by Step Guide for GIS Cloud Applications

Building and Deploying Web Applications

Mobile GIS Guide. About The Author. Getting your mobile GIS project off the ground

ArcGIS Server mashups

OpenStreetMap for Web Developers. Serge Wroclawski State of the Map US August 2010

Ulyxes automatic deformation monitoring system

Adoption of open source GIS in South Africa: some case studies

Open Paper Maps Michal Migurski, Stamen Design

Web Mapping in Archaeology

Effective Vector Data Transmission and Visualization Using HTML5

Sitecore InDesign Connector 1.1

Harvard Data Visualization Project

IBM Digital Experience. Using Modern Web Development Tools and Technology with IBM Digital Experience

4/25/2016 C. M. Boyd, Practical Data Visualization with JavaScript Talk Handout

Developing Apps with the ArcGIS Runtime SDK for Android. Ben Ramseth Esri Inc. Instructor Technical Lead

Statusreport MapServer

Geographic Web Application

Introduction to Web AppBuilder for ArcGIS: JavaScript Apps Made Easy

Geo-Localization of KNIME Downloads

Petroleum Web Applications to Support your Business. David Jacob & Vanessa Ramirez Esri Natural Resources Team

HTML5 Data Visualization and Manipulation Tool Colorado School of Mines Field Session Summer 2013

Using HTML5 Pack for ADOBE ILLUSTRATOR CS5

SUMMER SCHOOL ON ADVANCES IN GIS

GIS Databases With focused on ArcSDE

Visualizing Data: Scalable Interactivity

GEM global earthquake model. User guide: Android mobile tool for field data collection. Rosser, J., J.G. Morley, A. Vicini. Data capture tools

Programming IoT Gateways With macchina.io

Drupal CMS for marketing sites

Mobile Solutions in ArcGIS. Justin Fan

OSM GB. Introduction. Users Requirements. Abstract OSM GB

The Spatial Analysis and Visualization Initiative (SAVI) CERTIFICATE PROGRAM

HANDS-ON WORKSHOP: SPATIAL DATA VISUALIZATION Using selected Open Source tools and Open Data to visualize your own spatial data

OpenText Information Hub (ihub) 3.1 and 3.1.1

Providing the Public with Data Visualization using Google Maps

Collaborative Open Market to Place Objects at your Service

Free Google Tools for Creating Interactive Mapping Mashups

Developing Fleet and Asset Tracking Solutions with Web Maps

There are various ways to find data using the Hennepin County GIS Open Data site:

Lecture 8. Online GIS

Web Testing. Main Concepts of Web Testing. Software Quality Assurance Telerik Software Academy

Spectrum Technology Platform

DKAN. Data Warehousing, Visualization, and Mapping

What is a CMS? Why Node.js? Joel Barna. Professor Mike Gildersleeve IT /28/14. Content Management Systems: Comparison of Tools

GEO 425, Spring 2012 LAB 3: Introduction to Web Map Services

ArcGIS Platform. An Integrated System. Portal

Community Health Maps Lab Series:

DreamFactory & Modus Create Case Study

Adding Panoramas to Google Maps Using Ajax

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0

A Hybrid Architecture for Mobile Geographical Data Acquisition and Validation Systems

Spectrum Technology Platform. Version 9.0. Spectrum Spatial Developer Guide

Geodatabase Programming with SQL

Microsoft Dynamics CRM 2016 Interactive Service Hub User Guide

Oklahoma s Open Source Spatial Data Clearinghouse: OKMaps

64 Bits of MapInfo Pro!!! and the next BIG thing. March 2015

WP Popup Magic User Guide

WP Popup Magic User Guide

MrSID Plug-in for 3D Analyst

ArcGIS 10.1 Web Apps and APIs. John Hasthorpe & Kai Hübner

Introduction to GIS.

Getting Started with Automizy

A water network in QGIS

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

GEOENGINE MSc in Geomatics Engineering, Master Thesis Gina Campuzano

What's new in gvsig Desktop 2.0

Storytelling with Maps: Workflows and Best Practices

Dreamweaver Tutorial - Dreamweaver Interface

How to Setup and Manage Spatial Assets with ArcGIS Online for a Mobile Workforce

Institute of Natural Resources Departament of General Geology and Land use planning Work with a MAPS

Create Cool Lumira Visualization Extensions with SAP Web IDE Dong Pan SAP PM and RIG Analytics Henry Kam Senior Product Manager, Developer Ecosystem

Team Members: Christopher Copper Philip Eittreim Jeremiah Jekich Andrew Reisdorph. Client: Brian Krzys

Embed BA into Web Applications

Placing customers in the driver s seat to deliver amazing user experiences

Using CAD Data in ArcGIS

Citrix StoreFront. Customizing the Receiver for Web User Interface Citrix. All rights reserved.

SPELL Tabs Evaluation Version

Getting your app together with Web AppBuilder for ArcGIS

Interactive visualization of big data

TUTORIAL - Locations & Mapping. Using the ESdat Environmental Database System. For use with ESDAT version 5

Microsoft Visio 2010 Top 10 Benefits

Choosing the right Mobile BI tool: SSRS vs Power BI vs Datazen

What s new in Carmenta Server 4.2

MicroStrategy Desktop MicroStrategy 10.2: New features overview. microstrategy.com 1

Mobile development with Apache OFBiz. Ean Schuessler, Brainfood

Transcription:

AN INTRODUCTION TO MAPBOX TOOLS AND SOFTWARE Matt Gregory 24 July 2013

BACKGROUND AND MOTIVATION Research involves regionalscale vegetation modeling (mapping) where every pixel is associated with a treelist From the treelist, any standlevel attribute can be calculated and mapped For technology transfer: Simple download mechanism Display attribute richness Give accuracy indications ID VEGCLASS QMD OGSI 1 6 34.23 36.23 2 10 67.72 76.23 3 8 10.34 15.23

BACKGROUND AND MOTIVATION Required High performing web mapping Javascript library Ability to be integrated with other libraries for download tools, dynamic graphing, etc. Straightforward workflow from raster GIS data to web tiles Ability to be self-hosted Desired Mechanism for displaying attribute information from maps Automated cartography for multiple map attributes and years Layer merging of vegetation models and geographic reference information (roads, streams, political boundaries, etc.) Simple layer switching between different mapped attributes or years Open source (for tinkering...)

HISTORY OF MAPBOX (MY VERSION) Relatively young company with core of very talented developers - most projects are less than three years old Intertwined with Development Seed to provide forwardthinking technology solutions to world-changing organizations Funding mechanism: MapBox hosting began in April 2011, different plan levels from $5/month to $500/month Relies exclusively on OpenStreetMap (OSM) for all vector data Technology Everything(?) is open-source and available on Github Most code is written in Javascript (relying heavily on node.js) Leader in developing specifications that are being used widely

PRODUCTS AND SOFTWARE Specifications TileJSON MBTiles UTFGrid CartoCSS Desktop software TileMill TileMill2 (coming ) Cartography products MapBox Streets MapBox Terrain MapBox Satellite Web mapbox.js (Leaflet plugin) id editor for OSM ios Mapbox app Mapbox Earth app Server technologies tilelive tilestream

SOFTWARE STACK AND COMPONENTS

SPECIFICATIONS - CARTOCSS CSS-like language for separating map styling from map content (analog of HTML/CSS) Evolution of Mapnik XML to Cascadenik stylesheets to CartoCSS stylesheets Syntax for both vector and raster symbolizers Allows for multiple symbolizations to be applied to same map element through attachments CartoCSS editor available in TileMill and updates are shown on refresh #world { polygon-fill: #FFF; line-color:#f00; } #world[name='united States'] { polygon-fill:#ccc; [zoom > 5] { polygon-fill:#666; } [zoom > 6] { polygon-fill:#ddd; } } #world[name='canada'], #countries { polygon-fill: #eee; line-color: #ccc; line-width: 1; }.new[zoom > 5] { line-width:0.5; } [NAME='United States'] { polygon-fill:#afc; }

SPECIFICATIONS - MBTILES Created to solve problems with file-based storage of many tiles Image tiles (and UTFGrids) are stored as BLOB data in SQLite database Reduces redundancy by using views for identical tiles (e.g. ocean) Easy to use in offline mode for mobile devices Format for all tilesets on MapBox hosting Restricted to Web Mercator for now

SPECIFICATIONS - UTFGRID New way of embedding map interactivity Geographic entities (e.g. points, polygons) are saved as per-tile unique UTF characters, which in turn relate to stored JSON data for each feature User interaction events (hover, click, tap) trigger an x,y lookup into the UTFGrid tile, eventually returning the JSON attribute information that can be styled by mustache into HTML Only works with vector data Visible map demo example UTFGrid tile

TILEMILL Cartographic design software using CartoCSS Many different input spatial data formats including PostGIS Export tiles to MapBox hosting, PNG, MBTiles Export CartoCSS to Mapnik XML How is it to really use?

MAPBOX CARTOGRAPHY PRODUCTS Mapbox Streets Mapbox Terrain Mapbox Satellite*

OPENSTREETMAP (OSM) id EDITOR Web-based editor for OSM Just released as default editor for OSM on May 7 Funded by grant from Knight Foundation Updates to OSM get picked up every five minutes by MapBox Demo

LEAFLET AND MAPBOX.JS As of April 18, Mapbox.js became a plugin to Leaflet Features include: GeoJSON support for creating vector data and markers Continued support for UTFGrid interactivity Ability to use other Leaflet plugins Good set of examples (although a bit buggy) Demo with OKC tornado

VECTOR TILES MapBox just announced a new open source vector tile format Geometries and feature attributes are packed into individual vector tiles, at which point they are no longer needed Vector tiles can then be rendered as images, GeoJSON, etc. Opens up many possibilities for rendering directly on the browser TileMill will relaunch with vector tiles at its core

OUR EARLY PROTOTYPES Two early prototypes for testing feasibility of using MapBox tools with our project s data. Composting MapBox Streets (minus the polygons) with GNN vegetation class data (demo) Testing whether UTFGrid support can translate to raster data and how to embed smartly within MBTiles format (demo and demo) Presumably, we ll be data-heavy and view-light, so we re looking into hosting our own tiles through local installation of tilestream (currently on Ubuntu).

OTHER PROJECTS TO WATCH d3.js (Data Driven Documents) Widely used JS library for many kinds of visualization Can be paired with MapBox mapping tools (ie. symbolizing UTFGrid JSON information) d3.geo provides projection support not constrained to Web Mercator Neat visualizations here and here CartoDB Major emphasis on dynamic map views Strongly tied to PostgreSQL/PostGIS databases Sample visualization here

RESOURCES MapBox Washington Post blurb on The New Cartographers Blog Developers API Github repositories Mapbox.js samples REST API overview Website templates Other blogs Mike Bostock (d3) Tom MacWright (MapBox) CartoDB Michal Migurski (was Stamen, now Code for America)