Skip to content

Commit

Permalink
Merge pull request #429 from Aariq/patch-1
Browse files Browse the repository at this point in the history
Update 09-vector-when-data-dont-line-up-crs.Rmd
  • Loading branch information
drakeasberry committed Mar 24, 2024
2 parents dde91e6 + 8f4c244 commit 02e67be
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions episodes/09-vector-when-data-dont-line-up-crs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ boundaries and country boundaries.
```{r us-boundaries-thickness}
ggplot() +
geom_sf(data = state_boundary_US, color = "gray60") +
geom_sf(data = country_boundary_US, color = "black",alpha = 0.25,size = 5)
geom_sf(data = country_boundary_US, color = "black",alpha = 0.25,size = 5) +
ggtitle("Map of Contiguous US State Boundaries") +
coord_sf()
```
Expand All @@ -155,7 +155,7 @@ First let's look at the CRS of our tower location object:
st_crs(point_HARV)$proj4string
```

Our project string for `DSM_HARV` specifies the UTM projection as follows:
Our project string for `point_HARV` specifies the UTM projection as follows:

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

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

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

0 comments on commit 02e67be

Please sign in to comment.