@@ -143,16 +143,16 @@ contain the information that helps us determine the CRS:
143
143
- ` utmZone ` : 18
144
144
145
145
In
146
- [ When Vector Data Don't Line Up - Handling Spatial Projection \& CRS in R] ( 09-vector-when-data-dont-line-up-crs/ )
146
+ [ When Vector Data Don't Line Up - Handling Spatial Projection \& CRS in R] ( 09-vector-when-data-dont-line-up-crs.html )
147
147
we learned about the components of a ` proj4 ` string. We have everything we need
148
148
to assign a CRS to our data frame.
149
149
150
150
To create the ` proj4 ` associated with UTM Zone 18 WGS84 we can look up the
151
151
projection on the
152
- [ Spatial Reference website] ( https://www. spatialreference.org/ref/epsg/wgs-84-utm-zone-18n / ) ,
152
+ [ Spatial Reference website] ( https://spatialreference.org/ref/epsg/32618 / ) ,
153
153
which contains a list of CRS formats for each projection. From here, we can
154
154
extract the
155
- [ proj4 string for UTM Zone 18N WGS84] ( https://www. spatialreference.org/ref/epsg/wgs-84-utm-zone-18n /proj4/ ) .
155
+ [ proj4 string for UTM Zone 18N WGS84] ( https://spatialreference.org/ref/epsg/32618 /proj4.txt ) .
156
156
157
157
However, if we have other data in the UTM Zone 18N projection, it's much easier
158
158
to use the ` st_crs() ` function to extract the CRS in ` proj4 ` format from that
@@ -212,7 +212,7 @@ ggplot() +
212
212
## Plot Extent
213
213
214
214
In
215
- [ Open and Plot Vector Layers in R] ( 06-vector-open-shapefile-in-r/ )
215
+ [ Open and Plot Vector Layers in R] ( 06-vector-open-shapefile-in-r.html )
216
216
we learned about spatial object extent. When we plot several spatial layers in
217
217
R using ` ggplot ` , all of the layers of the plot are considered in setting the
218
218
boundaries of the plot. To show this, let's plot our ` aoi_boundary_HARV ` object
0 commit comments