Outline
Measuring the Earth
Cartography and Map Overlays
Where are we?
but what does that mean?
Latitude (vertical coordinate)
Longitude (horizontal coordinate)
\(\phi=\) lat, \(\lambda=\) lon
Prime Meridian
What is the shape of the earth?
Wrong!
Wrong!
Also wrong?
Geoid
Ellipsoid
Topography vs. Geoid vs. Ellipsoid
Geodetic datum
ellipsoid | datum |
---|---|
WGS 1984 | NAD 1983 |
Clarke 1866 | NAD 1927 |
Geodetic survey marker
World Geodetic System 1984
WGS 84
How to squeeze 3 dimensions into 2?
What are projections?
Cylindrical projection
Conic projection
Azimuthal projection
Azimuth, cone, cylinder
“Unprojected” projection
No free lunch
Distortion
Conformal/conic projections
(e.g. Lambert Conformal Conic)
Equal area projections
(e.g. Albers Conic Equal Area)
Azimuthal projections
(e.g. Azimuthal Equidistant)
Funhouse mirrors
Common coordinate systems
Universal Transverse Mercator (UTM)
UTM
Military Grid Reference System (MGRS)
MGRS
State Plane Coordinate Systems
SPRS
In QGIS, your map’s projection information is found in the lower-right corner
(EPSG \(=\) European Petroleum Survey Group code)
EPSG:4326
is the code for World Geodetic System (WGS84)Click on the EPSG code to open CRS Properties
(Coordinate Reference System)
Let’s change the CRS to Mercator (e.g. EPSG:900913, EPSG:3785
). Click OK
.
Greenland should now appear larger than the entire continent of Africa…
Let’s change the CRS to Equal Area (EPSG:54034, EPSG:5070
).
Greenland shrinks. Overcorrection or no?
Let’s change the CRS to World Azimuthal Equidistant (EPSG:54032
).
Now it looks more like a globe than a map… but better for studying the Arctic.
Here’s how to check and change projections in R.
Suppose we have 2 sf
objects: world
(world map) and grat
(graticules).
world = sf::read_sf("Data/World/ne_110m_admin_0_countries.geojson")
grat = sf::read_sf("Data/World/ne_50m_graticules_10.geojson")
We can check their CRS with st_crs()
from the sf
library.
sf::st_crs(world)
## Coordinate Reference System:
## User input: WGS 84
## wkt:
## GEOGCRS["WGS 84",
## DATUM["World Geodetic System 1984",
## ELLIPSOID["WGS 84",6378137,298.257223563,
## LENGTHUNIT["metre",1]]],
## PRIMEM["Greenwich",0,
## ANGLEUNIT["degree",0.0174532925199433]],
## CS[ellipsoidal,2],
## AXIS["geodetic latitude (Lat)",north,
## ORDER[1],
## ANGLEUNIT["degree",0.0174532925199433]],
## AXIS["geodetic longitude (Lon)",east,
## ORDER[2],
## ANGLEUNIT["degree",0.0174532925199433]],
## ID["EPSG",4326]]
Here’s how these datasets look unprojected (WGS 84).
plot(world["geometry"],reset=FALSE)
plot(grat["geometry"],add=TRUE)
We can change projections with the st_transform()
function (sf
library).
Let’s transform to Mercator projection (e.g. EPSG:3785
), and plot the result.
world_ = sf::st_transform(world, crs="EPSG:3785")
grat_ = sf::st_transform(grat, crs="EPSG:3785")
plot(world_["geometry"],reset=FALSE)
plot(grat_["geometry"],add=TRUE)
Let’s transform to Equal Area projection (e.g. EPSG:5070
).
world_ = sf::st_transform(world, crs="EPSG:5070")
grat_ = sf::st_transform(grat, crs="EPSG:5070")
plot(world_["geometry"],reset=FALSE)
plot(grat_["geometry"],add=TRUE)
Let’s transform to Azimuthal Equidistant projection (e.g. ESRI:54032
).
world_ = sf::st_transform(world, crs="ESRI:54032")
grat_ = sf::st_transform(grat, crs="ESRI:54032")
plot(world_["geometry"],reset=FALSE)
plot(grat_["geometry"],add=TRUE)
You can look up a projection’s EPSG code here: spatialreference.org
What is an overlay?
Multiple layers
This week’s lab will be focused on map overlays
Last week: Single-layer map
This week: Multi-layer map
AOR’s of U.S. Combatant Commands
A good map should clearly communicate information.
Vignelli’s 1972 NYC Subway Map
A good map should direct attention toward information of primary interest.
(Bad) Map of Mendocino Complex Fire
A good map should be not too complex (especially if audience is general public).
Complementary colors
Map with complementary colors
A good map should use contrasting colors/shades (e.g. complementary colors).
Primary uses of maps
Interstate highways around NYC
2016 presidential elections in NYC