| Format | Extension |
|---|---|
ESRI shapefile |
|
GeoJSON |
|
KML |
|
2 main geospatial data types
Vector
Raster
Vector
Raster
Commonly known as shapefiles (ESRI nomenclature)
| Format | Extension |
|---|---|
ESRI shapefile |
|
GeoJSON |
|
KML |
|
Vector data comprises points, lines, polygons, and their combinations.
sp:
sf:
spsp shortcomingsMost common in ag is .tif.
| Format | Extension |
|---|---|
TIFF/COG |
|
ASCII Grid |
|
Bitmap |
|
Full list here
Raster data is normally originated from an imagery source OR point-based interpolated map/grid (continuous coverage).
raster and terra:
raster was first in Rterra newer, faster, not pipeablestars:
rastersf
Geographic vs. Projected
EPSG code
WGS84: EPSG = 4326
UTM NAD83 Zone 17N: EPSG = 6346
Go on eLC.
List each geospatial data layer in the map below (give a descriptive name), and tell me if it is vector or raster. Tip: look closely, there are more than 2.
You have 5 min.
Let’s download some data and bring into R
Sector: CROPS
Group: FIELD CROPS
Commodity: SOYBEANS
Category: PRODUCTION
Data item: PRODUCTION MEASURED IN BU
Geographic level: COUNTY
State: GEORGIA
Year: select all
Click “Get data”
Click “Spreadsheet”
Rename file to soybeans_nass.csv
In your course folder, create “03_NASS” folder
Inside it, create data, code, output
Move soybeans_nass.csv into data
Launch RStudio, create a new project at the 03_NASS folder level
Create a new script file (quarto)
Let’s explore this data set