Welcome to Methods 3, Lecture 6

This is a web page that can be viewed as slides.

→ to move forward

← to go back

Methods 3

last time?

Mar
Daniel

let's talk about final projects

let's talk about final projects

updating attribute tables

deleting fields

sometimes you need to do something more complex

double-click to rename

refactoring always makes a new layer that you should save to a shapefile

the field calculator

the field calculator is a way to create new columns

column types

mathematical expressions

+, -, /, *

mathematical expressions

+, -, /, *

add, subtract, divide, multiply

geocoding

"I have this spreadsheet I want to map..."

"...it has addresses but doesn't have coordinates"

pelias

geocoding is a business

Google's geocoding terms:

up to 2,500 geocoding requests per day

Google's geocoding terms:

If you're using it online, "The Geocoding API may only be used in conjunction with a Google map..."

source

Census geocoder
GPS visualizer
Texas A&M Geoservices
geocod.io

(my current preference)

geocod.io

watch out for the "null island" effect

sometimes if geocoders really have no clue, they give 0,0

source
source

if geocoders can't find a location, they sometimes default to the middle or capital of the country/state

source

also, since most geocoders have limits you often need to break up your data into smaller files

in-class exercise

what about going from a point → name of location?

source
source

"Never mind so-called disputed places (Kashmir, the West Bank, Cyprus, etc.) all neighbourhoods are 'disputed' around the edges..."

"... Our experience has been that there are few better ways to pick a fight than to tell someone what neighbourhood they are in (and being wrong)."

Aaron Straup Cope

source
source
source
source
source
source

hexbins

source
source
source

first, create a grid

then, use Count Points in Polygon to find the count per hexagon

in-class exercise

heatmaps

source

heatmaps attempt to show probability over an area

source
source
source
source
source

heatmaps look at the covered area as a raster made of pixels

source

radius: the area around a point that point influences

rows and columns: the resolution of the output raster, in pixels

style with singleband psuedocolor

consider a rectangle with a gradient fill instead

there are a variety of methods for giving values to pixels

in-class exercise