Skip to content

crvanpollard/PWT2016_CartoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

alt text

Intro to CartoDB workshop - PTW 2016 Map It Out (May 4, 2016)

Christopher Pollard, Manager, Geospatial Application Development @DVRPC

cpollard@dvrpc.org, @CRVanPollard

Today's goal - make this map

alt text

How are we going to get there...

  • Overview of CartoDB
  • Getting started
  • Importing data into CartoDB
  • Visualizing data in CartoDB (style wizard, infowindows, filters, cartocss)
  • Publishing your visualization
  • CartoDB Deep Insights (coming summer 2016)

Overview of CartoDB

Easy to use web map editor helping people visualize and analyze geospatial data

  • Connect, collect, and manage location data
  • Analyze and understand where the impact or trends are occurring
  • Discover insights, patterns, and visually share that information alt text

A set of high performance APIs and tools to deliver geospatial applications with big data and extensible location analytic capabilities. CartoDB Editor is actually an application built on top of the CartoDB Platform. alt text

What are people doing with it

alt text alt text alt text alt text

Getting Started

Set up an account

If you don't have an account, go sign up: https://cartodb.com/signup

CartoDB Dashboard

This is where you can view and manage your maps and datasets alt text

Importing data into CartoDB

Supported geospatial data formats

http://docs.cartodb.com/cartodb-platform/import-api/importing-geospatial-data/#supported-geospatial-data-formats

  • Shapefile
  • KML/KMZ
  • GeoJson
  • CSV
  • Spreadsheets (Excel or OpenDocument)
  • GPX
  • OSM

Connecting data to CartoDB

There are different ways to import data into CartoDB. It can be files you have stored locally or datasets that you can connect to through Dropbox, Google Drive, Box, Twitter, ArcGIS Server, MailChimp, and SalesForce. alt text

Datasets

Today, we are going to use several local datasets that focus on Bicycle Planning. I have already downloaded and have them ready for our use today. Please copy the following URLs listed below and paste them, one at a time, into your CartoDB importer.

  • DVRPC Bicycle Counts (DVRPC GIS Portal) https://raw.githubusercontent.com/crvanpollard/PWT2016_CartoDB/master/data/dvrpc_bicycle_counts.csv

  • Philadelphia Bike Network (Open Data Philly) https://raw.githubusercontent.com/crvanpollard/PWT2016_CartoDB/master/data/phl_bike_network.zip

  • Census Tract Boundaries 2010 (Census Geography) https://raw.githubusercontent.com/crvanpollard/PWT2016_CartoDB/master/data/censustracts2010.zip

  • Census 2009 - 2013 ACS Demographic Profiles (DVRPC GIS Portal) https://raw.githubusercontent.com/crvanpollard/PWT2016_CartoDB/master/data/asc2013_tract_data.csv

Data View

This is where you can view, sort, modfiy, add, and merge datasets together. Very similar to excel and other spreadsheet interfaces. alt text

Georeferencing

If you don't have a Geometry field or Lat/Long in your dataset you can use CartoDB's Georeferencing tool to be able to map your data by street address, city name, postal code, administration region, or IP address. alt text

Data Merge

You can also merge datasets that have a common field or attribute that are the same data type (number to number, string to string). We will do this with our Census Tract shapefile and ACS 2009-2013 Demographic Profile data. alt text

Visualizing data in CartoDB

Style Wizard

CartoDB comes with some great map design tools that allow the user to pick from multple layer styles (simple, cluster, choropleth, category, bubble, torque, heatmap, intensity, and density). alt text

Infowindows

You can also turn on infowindows which allow users to click or hover over a feature and view specific attribute information. You, as the map maker, can select which attributes you allow your users to view. alt text

Filters

There is also a function that will allow you to set custom filters or parameters on your layer based off attribute information. For instance, in the map below, the filter is set to only show bicycle counts that have an ADB over 100. alt text

CartoCSS

If you wish to have more advanced map styling you can do that with CartoCSS editor. alt text

Creating a map of your data

Once you are ready to make a map you click the Visualize button and you will now have several map layout tools available. Here you can add a title, text, annotaion, and images, as well as, select from other map options. alt text

Publishing your visualization

Time to share you map with the world

Once you are ready to share your visualization you click the Publish button. There are a few options to choose from such as: a link that you can send via email or social media, embed your map into a blog or website, or add it to an existing or custom web mapping applications using CartoDB.js. alt text

CartoDB Deep Insights (coming summer 2016)

Predictive analytics and on-the-fly visualiztion that will drastically improve CartoDB workflows and analysis.

Key take aways:

  • An actionable dashboard with widgets (charts and forms)
  • High Performance Analytics (HPA) that not only maps your data but now performs analysis on LARGE amounts of data...really FAST and quick
  • Data Augmentation (DA) builds a relationship between 2 datasets and everything that surrounds that data. Data Augmentation is a series of algorithms that geocode the datasets, performs a spatial join, and adds valuable demographic data (population, income, employment, etc..) to your targeted dataset.

alt text alt text

CartoDB Resources

This handy CartoCSS Reference Sheet is a quick guide for beginners to CartoCSS

CartoDB Academy - http://academy.cartodb.com

The CartoDB Academy is great for recapping the basics, starting to use their APIs, and growing your design capabilities. alt text

A simple way for journalists, designers, bloggers, and others to publish stories that combine narratives with map interactions. Allows creative minded people to weave interactive stories with images, maps, and compeling narritives. alt text

Preparing CSV files for use in CartoDB - https://vimeo.com/channels/cartodb/100105203

alt text

Using Column Join to Merge Tables - https://vimeo.com/channels/cartodb/100105201

alt text

About

Resources for PTW CartoDB workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published