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
:
sp
sp
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
:
raster
sf
Geographic vs. Projected
EPSG code
WGS84: EPSG = 4326
UTM NAD83 Zone 17N: EPSG = 6346
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.
Send me your answer by email to lmbastos@uga.edu. You have 5 min (this will count for your attendance too).
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 “02 NASS” folder
Inside it, create data
, code
, output
Move soybeans_nass.csv
into data
Launch RStudio, create a new project at the 02 NASS
folder level
Create a new script file (quarto)
Let’s explore this data set