Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Jun 28, 2024
1 parent 8c39c59 commit 72c9467
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
df5a72d5
393b7682
38 changes: 35 additions & 3 deletions mod_spatial.html
Original file line number Diff line number Diff line change
Expand Up @@ -427,19 +427,51 @@ <h2 class="anchored" data-anchor-id="types-of-spatial-data">Types of Spatial Dat
<div class="tab-content">
<div id="tabset-1-1" class="tab-pane active" role="tabpanel" aria-labelledby="tabset-1-1-tab">
<p>Data stored as polygons / shapes</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Load needed library</span></span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(sf)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</div>
<div id="tabset-1-2" class="tab-pane" role="tabpanel" aria-labelledby="tabset-1-2-tab">
<p>Data stored as pixels</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Load needed library</span></span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(terra)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</div>
</div>
</div>
</section>
<section id="coordinate-reference-systems" class="level2">
<h2 class="anchored" data-anchor-id="coordinate-reference-systems">Coordinate Reference Systems</h2>
<p>A fundamental problem in spatial data is how to project data collected on a nearly spherical planet onto a two-dimensional plane. This has been solved–or at least clarified–by the use of <u>C</u>oordinate <u>R</u>eference <u>S</u>ystems (a.k.a. “CRS”). The CRS defines the following information:</p>
<p>A fundamental problem in spatial data is how to project data collected on a nearly spherical planet onto a two-dimensional plane. This has been solved–or at least clarified–by the use of <u>C</u>oordinate <u>R</u>eference <u>S</u>ystems (a.k.a. “CRS”). All spatial data have a CRS that is explicitly identified in the data and/or the metadata because the data <em>are not interpretable</em> without knowing which CRS is used.</p>
<p>The CRS defines the following information:</p>
<ol type="1">
<li><strong>Datum</strong> – model for shape of the Earth including the starting coordinate pair and angular units that together define any particular point on the planet
<ul>
<li></li>
</ul>
<li>Note that there can be global datums that work for any region of the world and local datums that only work for a particular area</li>
</ul></li>
<li><strong>Projection</strong> – math for the transformation to get from a round planet to a flat map</li>
<li><strong>Additional parameters</strong> – any other information necessary to support the projection
<ul>
<li>E.g., the coordinates at the center of the map</li>
</ul></li>
</ol>
<p>Some people use the analogy of peeling a citrus fruit and flattening the peel to describe the components of a CRS. The datum is the choice between a lemon or a grapefruit (i.e., the shape of the not-quite-spherical object) while the projection is the instructions for taking the complete peel and flattening it.</p>
<p>You can check and transform the CRS in any scripted language that allows the loading of spatial data though the specifics do differ between the two types of spatial data we introduced earlier.</p>
<div class="tabset-margin-container"></div><div class="panel-tabset">
<ul class="nav nav-tabs" role="tablist"><li class="nav-item" role="presentation"><a class="nav-link active" id="tabset-2-1-tab" data-bs-toggle="tab" data-bs-target="#tabset-2-1" role="tab" aria-controls="tabset-2-1" aria-selected="true">Vector CRS</a></li><li class="nav-item" role="presentation"><a class="nav-link" id="tabset-2-2-tab" data-bs-toggle="tab" data-bs-target="#tabset-2-2" role="tab" aria-controls="tabset-2-2" aria-selected="false">Raster CRS</a></li></ul>
<div class="tab-content">
<div id="tabset-2-1" class="tab-pane active" role="tabpanel" aria-labelledby="tabset-2-1-tab">
<p><code>sf::st_crs</code></p>
<p><code>sf::st_transform</code></p>
</div>
<div id="tabset-2-2" class="tab-pane" role="tabpanel" aria-labelledby="tabset-2-2-tab">
<p><code>terra::crs</code></p>
<p><code>terra::project</code></p>
</div>
</div>
</div>
</section>
<section id="making-maps" class="level2">
<h2 class="anchored" data-anchor-id="making-maps">Making Maps</h2>
Expand Down
4 changes: 2 additions & 2 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
"href": "mod_spatial.html#types-of-spatial-data",
"title": "Working with Spatial Data",
"section": "Types of Spatial Data",
"text": "Types of Spatial Data\nThere are two main types of spatial data: vector and raster. You may have cause to work either or both so we’ll describe both (and the packages they require) in the tabs below.\n\nVector DataRaster Data\n\n\nData stored as polygons / shapes\n\n\nData stored as pixels",
"text": "Types of Spatial Data\nThere are two main types of spatial data: vector and raster. You may have cause to work either or both so we’ll describe both (and the packages they require) in the tabs below.\n\nVector DataRaster Data\n\n\nData stored as polygons / shapes\n\n# Load needed library\nlibrary(sf)\n\n\n\nData stored as pixels\n\n# Load needed library\nlibrary(terra)",
"crumbs": [
"Bonus Modules",
"Spatial Data"
Expand All @@ -435,7 +435,7 @@
"href": "mod_spatial.html#coordinate-reference-systems",
"title": "Working with Spatial Data",
"section": "Coordinate Reference Systems",
"text": "Coordinate Reference Systems\nA fundamental problem in spatial data is how to project data collected on a nearly spherical planet onto a two-dimensional plane. This has been solved–or at least clarified–by the use of Coordinate Reference Systems (a.k.a. “CRS”). The CRS defines the following information:",
"text": "Coordinate Reference Systems\nA fundamental problem in spatial data is how to project data collected on a nearly spherical planet onto a two-dimensional plane. This has been solved–or at least clarified–by the use of Coordinate Reference Systems (a.k.a. “CRS”). All spatial data have a CRS that is explicitly identified in the data and/or the metadata because the data are not interpretable without knowing which CRS is used.\nThe CRS defines the following information:\n\nDatum – model for shape of the Earth including the starting coordinate pair and angular units that together define any particular point on the planet\n\nNote that there can be global datums that work for any region of the world and local datums that only work for a particular area\n\nProjection – math for the transformation to get from a round planet to a flat map\nAdditional parameters – any other information necessary to support the projection\n\nE.g., the coordinates at the center of the map\n\n\nSome people use the analogy of peeling a citrus fruit and flattening the peel to describe the components of a CRS. The datum is the choice between a lemon or a grapefruit (i.e., the shape of the not-quite-spherical object) while the projection is the instructions for taking the complete peel and flattening it.\nYou can check and transform the CRS in any scripted language that allows the loading of spatial data though the specifics do differ between the two types of spatial data we introduced earlier.\n\nVector CRSRaster CRS\n\n\nsf::st_crs\nsf::st_transform\n\n\nterra::crs\nterra::project",
"crumbs": [
"Bonus Modules",
"Spatial Data"
Expand Down
52 changes: 26 additions & 26 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,106 +2,106 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://lter.github.io/ssecr/mod_wrangle.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_project-mgmt.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_credit.html</loc>
<lastmod>2024-06-28T17:47:29.471Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_findings.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_reports.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/policy_attendance.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/index.html</loc>
<lastmod>2024-06-28T17:47:29.471Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_spatial.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/CONTRIBUTING.html</loc>
<lastmod>2024-06-28T17:47:29.435Z</lastmod>
<lastmod>2024-06-28T18:09:41.502Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_reproducibility.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_facilitation.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_version-control.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_stats.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/proj_milestones.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_thinking.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/policy_pronouns.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_data-viz.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/instructors.html</loc>
<lastmod>2024-06-28T17:47:29.471Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/policy_conduct.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_data-disc.html</loc>
<lastmod>2024-06-28T17:47:29.471Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_template.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_interactivity.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/policy_ai.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/policy_usability.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_team-sci.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_next-steps.html</loc>
<lastmod>2024-06-28T17:47:29.475Z</lastmod>
<lastmod>2024-06-28T18:09:41.542Z</lastmod>
</url>
</urlset>

0 comments on commit 72c9467

Please sign in to comment.