Skip to content

Commit

Permalink
markdown source builds
Browse files Browse the repository at this point in the history
Auto-generated via {sandpaper}
Source  : f053cc7
Branch  : main
Author  : Drake Asberry <[email protected]>
Time    : 2024-03-24 18:26:22 +0000
Message : Merge pull request #430 from Aariq/patch-2

Update 10-vector-csv-to-shapefile-in-r.Rmd
  • Loading branch information
actions-user committed Mar 24, 2024
1 parent 74d772e commit eeb1f58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions 10-vector-csv-to-shapefile-in-r.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,16 @@ contain the information that helps us determine the CRS:
- `utmZone`: 18

In
[When Vector Data Don't Line Up - Handling Spatial Projection \& CRS in R](09-vector-when-data-dont-line-up-crs/)
[When Vector Data Don't Line Up - Handling Spatial Projection \& CRS in R](09-vector-when-data-dont-line-up-crs.html)
we learned about the components of a `proj4` string. We have everything we need
to assign a CRS to our data frame.

To create the `proj4` associated with UTM Zone 18 WGS84 we can look up the
projection on the
[Spatial Reference website](https://www.spatialreference.org/ref/epsg/wgs-84-utm-zone-18n/),
[Spatial Reference website](https://spatialreference.org/ref/epsg/32618/),
which contains a list of CRS formats for each projection. From here, we can
extract the
[proj4 string for UTM Zone 18N WGS84](https://www.spatialreference.org/ref/epsg/wgs-84-utm-zone-18n/proj4/).
[proj4 string for UTM Zone 18N WGS84](https://spatialreference.org/ref/epsg/32618/proj4.txt).

However, if we have other data in the UTM Zone 18N projection, it's much easier
to use the `st_crs()` function to extract the CRS in `proj4` format from that
Expand Down Expand Up @@ -396,7 +396,7 @@ ggplot() +
## Plot Extent

In
[Open and Plot Vector Layers in R](06-vector-open-shapefile-in-r/)
[Open and Plot Vector Layers in R](06-vector-open-shapefile-in-r.html)
we learned about spatial object extent. When we plot several spatial layers in
R using `ggplot`, all of the layers of the plot are considered in setting the
boundaries of the plot. To show this, let's plot our `aoi_boundary_HARV` object
Expand Down
2 changes: 1 addition & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"episodes/07-vector-shapefile-attributes-in-r.Rmd" "726f78cdabe6ebe90a609b31127674ca" "site/built/07-vector-shapefile-attributes-in-r.md" "2024-03-24"
"episodes/08-vector-plot-shapefiles-custom-legend.Rmd" "733bf768d8f27d9c7e548e7f835fda67" "site/built/08-vector-plot-shapefiles-custom-legend.md" "2024-03-24"
"episodes/09-vector-when-data-dont-line-up-crs.Rmd" "b3a4cc71f14583f1fcfc77d591ba9e62" "site/built/09-vector-when-data-dont-line-up-crs.md" "2024-03-24"
"episodes/10-vector-csv-to-shapefile-in-r.Rmd" "8aef2c986b83fd01b40fd0b4b8c1795c" "site/built/10-vector-csv-to-shapefile-in-r.md" "2024-03-24"
"episodes/10-vector-csv-to-shapefile-in-r.Rmd" "fe9f2056f24f9f54689143b27c8c3615" "site/built/10-vector-csv-to-shapefile-in-r.md" "2024-03-24"
"episodes/11-vector-raster-integration.Rmd" "47b8925ff021264a97064c40a2bfdc5a" "site/built/11-vector-raster-integration.md" "2024-03-24"
"episodes/12-time-series-raster.Rmd" "92e1060bf9c37509d918da8ab1b7101f" "site/built/12-time-series-raster.md" "2024-03-24"
"episodes/13-plot-time-series-rasters-in-r.Rmd" "8035b6301e382fbed8837a9fd4d8dc16" "site/built/13-plot-time-series-rasters-in-r.md" "2024-03-24"
Expand Down

0 comments on commit eeb1f58

Please sign in to comment.