Skip to content

Commit 02e67be

Browse files
authored
Merge pull request #429 from Aariq/patch-1
Update 09-vector-when-data-dont-line-up-crs.Rmd
2 parents dde91e6 + 8f4c244 commit 02e67be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

episodes/09-vector-when-data-dont-line-up-crs.Rmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ boundaries and country boundaries.
142142
```{r us-boundaries-thickness}
143143
ggplot() +
144144
geom_sf(data = state_boundary_US, color = "gray60") +
145-
geom_sf(data = country_boundary_US, color = "black",alpha = 0.25,size = 5)
145+
geom_sf(data = country_boundary_US, color = "black",alpha = 0.25,size = 5) +
146146
ggtitle("Map of Contiguous US State Boundaries") +
147147
coord_sf()
148148
```
@@ -155,7 +155,7 @@ First let's look at the CRS of our tower location object:
155155
st_crs(point_HARV)$proj4string
156156
```
157157

158-
Our project string for `DSM_HARV` specifies the UTM projection as follows:
158+
Our project string for `point_HARV` specifies the UTM projection as follows:
159159

160160
`+proj=utm +zone=18 +datum=WGS84 +units=m +no_defs`
161161

@@ -185,8 +185,7 @@ the lat/long projection as follows:
185185
coordinate system
186186
- **datum=WGS84:** the datum WGS84 (the datum refers to the 0,0 reference for
187187
the coordinate system used in the projection)
188-
- **ellps=WGS84:** the ellipsoid (how the earth's roundness is calculated)
189-
is WGS84
188+
- **no_defs:** ensures that no defaults are used, but this is now obsolete
190189

191190
Note that there are no specified units above. This is because this geographic
192191
coordinate reference system is in latitude and longitude which is most often

0 commit comments

Comments
 (0)