visualizations involving maps have the same basic rules as other plots: Minimize chartjunk, eliminate irrelevant content • Need to add a scale bar and graphics demonstrating location relative to rest of world • Google Maps has built-in topography, but not bathymetry
= 60 minutes 1 minute = 60 seconds Therefore 1 degree = 3600 seconds This is a base-sixty, or sexagesimal notation Latitude: 1 degree = 111 km (110.5 km at equator, 111.7 at poles) 1 minute ~ 1 nautical mile Longitude: Not fixed. 1 degree is narrow at the poles, wide at equator 1 degree long = cosine (latitude in radians) * 69.172 length of degree in miles at equator
Negative Degree, Min, Sec 47° 33’ 37.94” N, 52° 42’ 46.18” W 47° 33’ 37.94”, -52° 42’ 46.18” Degree, Min 47° 33.632’ N, 52° 42.771’ W 47° 33.632’, -52° 42.771’ Decimal degree 47.5605° N, 52.7128° W 47.5605°, -52.7128° Decimal Degrees = degrees + (minutes/60) + (seconds/3600) Location of St. John’s NL On fishing boats, GPS almost always expresses as degree min In R, generally plot Decimal degree
R https://www.computerworld.com/article/2921176/business-intelligence/great-r-packages-for-data-import-wrangling-visualization.html Let’s start with a basic problem: Plot a few dots representing field sites onto a basic map You can do advanced GIS work in R (beyond the scope of this course)
of the region in which you will conduct the bulk of your fieldwork • Make two plots: one minimalist, one with bathymetry • Experiment with the fancier features. Try plotting a course between two points • Notice the sample code at the end of the paper
This projection is not built-in to ggplot2 at this time See: https://www.r-bloggers.com/a-path-towards-easier- map-projection-machinations-with-ggplot2/
parts: 1. The numerical value ranging from latmin to latmax, incrementing by 0.1 (i.e. 49.5, 49.6, 49.7…) 2. A string of characters consisting of the degree sign and N 3. Insert no value between these two strings
centre point of a polygon Return all the X values (column 1) of centre points of polygons Return all the Y values (column 2) of centre points of polygons The label is the “ZONE” attribute within NAFO
5430 5440 U TM East in g (km) UTM Northing (km) Saltspring 193 San Juan 149 Galiano 63 N Pender 30 Mayne 26 Saturna 35 V ancouver I sland Strait of Georgia