Skip to content

Commit c47262d

Browse files
authored
Fixed overlay error in episode 9 between state and country boundary
Relayered so state is above and country is below. The county layer needs an alpha so the states show up. Also made the state boundaries lighter so it pops out more compared to the country boundary, and I made the country boundary black to increase the contrast.
1 parent 524bd6a commit c47262d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 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
```

0 commit comments

Comments
 (0)