Skip to content

Commit 58305bb

Browse files
authored
Merge pull request #421 from kristi-sara/main
Ep 9: Overlay error in episode between state and country boundary
2 parents bc90639 + ca49745 commit 58305bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ boundaries and country boundaries.
141141

142142
```{r us-boundaries-thickness}
143143
ggplot() +
144-
geom_sf(data = country_boundary_US, color = "gray18", size = 2) +
145-
geom_sf(data = state_boundary_US, color = "gray40") +
144+
geom_sf(data = state_boundary_US, color = "gray60") +
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
```
@@ -251,8 +251,8 @@ conversion:
251251

252252
```{r layer-point-on-states}
253253
ggplot() +
254-
geom_sf(data = country_boundary_US, size = 2, color = "gray18") +
255-
geom_sf(data = state_boundary_US, color = "gray40") +
254+
geom_sf(data = state_boundary_US, color = "gray60") +
255+
geom_sf(data = country_boundary_US, size = 5, alpha = 0.25, color = "black") +
256256
geom_sf(data = point_HARV, shape = 19, color = "purple") +
257257
ggtitle("Map of Contiguous US State Boundaries") +
258258
coord_sf()

0 commit comments

Comments
 (0)