Skip to content

Commit

Permalink
cli-40502-453
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed May 13, 2024
1 parent 1cf5322 commit a233da2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions articles/web_only/api_carto.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions articles/web_only/happign_for_foresters.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,10 @@ <h2 id="mns-mnt-and-mnh">MNS, MNT and MNH…<a class="anchor" aria-label="anchor
<span></span>
<span><span class="va">mnt</span> <span class="op">&lt;-</span> <span class="fu"><a href="../../reference/get_wms_raster.html">get_wms_raster</a></span><span class="op">(</span><span class="va">borders</span>, <span class="va">mnt_layer</span>, res <span class="op">=</span> <span class="fl">5</span>, crs <span class="op">=</span> <span class="fl">2154</span>, rgb <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span></span>
<span><span class="co">#&gt; 0...10...20...30...40...50...60...70...80...90...100 - done.</span></span>
<span><span class="co">#&gt; Raster is saved at : /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/RtmpMkdcE8/file32a929a1dc20.tif</span></span>
<span><span class="co">#&gt; Raster is saved at : /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/RtmpZFc4Y0/file2c7d33b8b667.tif</span></span>
<span><span class="va">mns</span> <span class="op">&lt;-</span> <span class="fu"><a href="../../reference/get_wms_raster.html">get_wms_raster</a></span><span class="op">(</span><span class="va">borders</span>, <span class="va">mns_layer</span>, res <span class="op">=</span> <span class="fl">5</span>, crs <span class="op">=</span> <span class="fl">2154</span>, rgb <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span></span>
<span><span class="co">#&gt; 0...10...20...30...40...50...60...70...80...90...100 - done.</span></span>
<span><span class="co">#&gt; Raster is saved at : /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/RtmpMkdcE8/file32a96579636b.tif</span></span>
<span><span class="co">#&gt; Raster is saved at : /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/RtmpZFc4Y0/file2c7d7b1eb465.tif</span></span>
<span></span>
<span><span class="va">level_curve</span> <span class="op">&lt;-</span> <span class="fu"><a href="../../reference/get_wfs.html">get_wfs</a></span><span class="op">(</span><span class="va">borders</span>, <span class="st">"ELEVATION.CONTOUR.LINE:courbe"</span>,</span>
<span> spatial_filter <span class="op">=</span> <span class="st">"intersects"</span><span class="op">)</span> <span class="op">|&gt;</span> </span>
Expand Down Expand Up @@ -324,7 +324,7 @@ <h2 id="ndvi">NDVI<a class="anchor" aria-label="anchor" href="#ndvi"></a>
<span> res <span class="op">=</span> <span class="fl">0.2</span>,</span>
<span> layer <span class="op">=</span> <span class="st">"ORTHOIMAGERY.ORTHOPHOTOS.IRC"</span><span class="op">)</span></span>
<span><span class="co">#&gt; 0...10...20...30...40...50...60...70...80...90...100 - done.</span></span>
<span><span class="co">#&gt; Raster is saved at : /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/RtmpMkdcE8/file32a91889890e.tif</span></span>
<span><span class="co">#&gt; Raster is saved at : /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/RtmpZFc4Y0/file2c7d5cbc78f5.tif</span></span>
<span></span>
<span><span class="co"># calculate ndvi from near_infrared and infrared</span></span>
<span><span class="va">ndvi_fun</span> <span class="op">&lt;-</span> <span class="kw">function</span><span class="op">(</span><span class="va">nir</span>, <span class="va">red</span><span class="op">)</span><span class="op">{</span></span>
Expand Down Expand Up @@ -499,7 +499,7 @@ <h2 id="what-about-history">What about history ?<a class="anchor" aria-label="an
<span> res <span class="op">=</span> <span class="fl">1</span>,</span>
<span> layer <span class="op">=</span> <span class="st">"GEOGRAPHICALGRIDSYSTEMS.ETATMAJOR40"</span><span class="op">)</span></span>
<span><span class="co">#&gt; 0...10...20...30...40...50...60...70...80...90...100 - done.</span></span>
<span><span class="co">#&gt; Raster is saved at : /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/RtmpMkdcE8/file32a939a6abab.tif</span></span>
<span><span class="co">#&gt; Raster is saved at : /private/var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/RtmpZFc4Y0/file2c7d6557ceb8.tif</span></span>
<span></span>
<span><span class="co"># raster is very large and tmap cannot plot it. Convert to stars as below allow for quick plotting</span></span>
<span><span class="co"># saving raster to disk allow full resolution visualisation : writeRaster(etat_major, "test.tif") </span></span>
Expand Down
2 changes: 1 addition & 1 deletion pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ articles:
api_carto: web_only/api_carto.html
Getting_started: Getting_started.html
happign_for_foresters: web_only/happign_for_foresters.html
last_built: 2024-05-08T06:32Z
last_built: 2024-05-13T00:37Z
urls:
reference: https://paul-carteron.github.io/happign/reference
article: https://paul-carteron.github.io/happign/articles
Expand Down
2 changes: 1 addition & 1 deletion search.json

Large diffs are not rendered by default.

0 comments on commit a233da2

Please sign in to comment.