Skip to content

Commit

Permalink
added vegetation heights
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzmo committed May 24, 2024
1 parent a668ad1 commit 7507432
Show file tree
Hide file tree
Showing 11 changed files with 432 additions and 315 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ author:

affiliation: IZW Berlin
affiliation_url: https://ecodynizw.github.io/EcoDynIZW
date: '2023-01-16'
date: '2024-05-24'
output:
distill::distill_article:
self_contained: false
Expand Down Expand Up @@ -45,14 +45,13 @@ ggplot2::theme_update(
# get path
path <-
paste0(ifelse(dir.exists('E:/PopDynCloud') == T, 'E:/PopDynCloud', 'C:/PopDynCloud'), '/', 'GeoData/data-raw/berlin/vegetation-heights_berlin_2020_1m_25833_tif')
paste0(ifelse(dir.exists('T:/wenzler') == T, 'T:/wenzler',
ifelse(dir.exists('C:/PopDynCloud') == T, 'C:/PopDynCloud', 'E:/PopDynCloud')), '/', 'GeoData/data/berlin/vegetation-heights_berlin_2020_1m_25833_tif')
meta <-
utils::read.csv(list.files(path, pattern = '.csv$', recursive = TRUE, full.names = TRUE)) %>%
dplyr::mutate(dplyr::across(dplyr::everything(), as.character))
tif <-
terra::rast(list.files(path, pattern = '.tif$', recursive = TRUE, full.names = TRUE))
```

```{r data-table}
Expand All @@ -66,7 +65,8 @@ meta_gt <- gt::gt(meta %>%

```{r map}
p_map <-
readRDS(paste0(ifelse(dir.exists('E:/PopDynCloud') == T, 'E:/PopDynCloud', 'C:/PopDynCloud'), '/', 'GeoData/data-raw/berlin/vegetation-heights_berlin_2020_1m_25833_tif/vegetation-heights_berlin_2020_1m_25833_tif' ,'.rds'))
readRDS(paste0(ifelse(dir.exists('T:/wenzler') == T, 'T:/wenzler',
ifelse(dir.exists('C:/PopDynCloud') == T, 'C:/PopDynCloud', 'E:/PopDynCloud')), '/', 'GeoData/data/berlin/vegetation-heights_berlin_2020_1m_25833_tif/vegetation-heights_berlin_2020_1m_25833_tif' ,'.rds'))
```

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});
50 changes: 25 additions & 25 deletions docs/geodata.html
Original file line number Diff line number Diff line change
Expand Up @@ -2889,10 +2889,32 @@ <h3>${suggestion.title}</h3>
<div class="posts-container posts-with-sidebar posts-apply-limit l-screen-inset">
<div class="posts-list">
<h1 class="posts-list-caption" data-caption="Geodata">Geodata</h1>
<a href="posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Berlin","2020","1m","epsg:25833"]}</script>
<div class="metadata">
<div class="publishedDate">May 23, 2024</div>
<div class="dt-authors">
<div class="dt-author">Moritz Wenzler-Meya</div>
</div>
</div>
<div class="thumbnail">
<img src="posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/vegetation-heights_berlin_2020_1m_25833_tif_files/figure-html5/plot-1.png"/>
</div>
<div class="description">
<h2>vegetation-heights berlin 2020</h2>
<div class="dt-tags">
<div class="dt-tag">Berlin</div>
<div class="dt-tag">2020</div>
<div class="dt-tag">1m</div>
<div class="dt-tag">epsg:25833</div>
</div>
<p></p>
</div>
</a>
<a href="posts_geodata/tree-cover-density_berlin_2018_10m_03035_tif/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Berlin","2018","10m","epsg:3035"]}</script>
<div class="metadata">
<div class="publishedDate">May 16, 2024</div>
<div class="publishedDate">May 17, 2024</div>
<div class="dt-authors">
<div class="dt-author">Moritz Wenzler-Meya</div>
</div>
Expand Down Expand Up @@ -2981,7 +3003,7 @@ <h2>landuse berlin 2021</h2>
</div>
</div>
<div class="thumbnail">
<img src="posts_geodata/imperviousness_berlin_2021_polygon_03035_gpkg/imperviousness_berlin_2021_polygon_03035_gpkg_files/figure-html5/plot-1.png"/>
<img data-src="posts_geodata/imperviousness_berlin_2021_polygon_03035_gpkg/imperviousness_berlin_2021_polygon_03035_gpkg_files/figure-html5/plot-1.png"/>
</div>
<div class="description">
<h2>imperviousness berlin 2021</h2>
Expand Down Expand Up @@ -3368,28 +3390,6 @@ <h2>population-density berlin 2019</h2>
<p></p>
</div>
</a>
<a href="posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Berlin","2020","1m","epsg:25833"]}</script>
<div class="metadata">
<div class="publishedDate">Jan. 16, 2023</div>
<div class="dt-authors">
<div class="dt-author">Moritz Wenzler-Meya</div>
</div>
</div>
<div class="thumbnail">
<img data-src="posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/vegetation-heights_berlin_2020_1m_25833_tif_files/figure-html5/plot-1.png"/>
</div>
<div class="description">
<h2>vegetation-heights berlin 2020</h2>
<div class="dt-tags">
<div class="dt-tag">Berlin</div>
<div class="dt-tag">2020</div>
<div class="dt-tag">1m</div>
<div class="dt-tag">epsg:25833</div>
</div>
<p></p>
</div>
</a>
<a href="posts_geodata/distance-to-human-settlements_atlas_2009_1m_03035_tif/" class="post-preview">
<script class="post-metadata" type="text/json">{"categories":["Atlas","2022","1m","epsg:3035"]}</script>
<div class="metadata">
Expand Down Expand Up @@ -3856,7 +3856,7 @@ <h3>Categories</h3>
<a href="#">More articles &raquo;</a>
</div>
</div>
<!--/radix_placeholder_article_listing-->
<!--/radix_placeholder_article_listing-->

<div class="d-title">
<h1>Geodata</h1>
Expand Down
30 changes: 15 additions & 15 deletions docs/geodata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,20 @@
<link>https://ecodynizw.github.io/</link>
</image>
<generator>Distill</generator>
<lastBuildDate>Thu, 16 May 2024 00:00:00 +0000</lastBuildDate>
<lastBuildDate>Thu, 23 May 2024 00:00:00 +0000</lastBuildDate>
<item>
<title>vegetation-heights berlin 2020</title>
<dc:creator>Moritz Wenzler-Meya</dc:creator>
<link>https://ecodynizw.github.io/posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif</link>
<description>vegetation-heights berlin 2020</description>
<category>Berlin</category>
<category>2020</category>
<category>1m</category>
<category>epsg:25833</category>
<guid>https://ecodynizw.github.io/posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif</guid>
<pubDate>Thu, 23 May 2024 00:00:00 +0000</pubDate>
<media:content url="https://ecodynizw.github.io/posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/vegetation-heights_berlin_2020_1m_25833_tif_files/figure-html5/plot-1.png" medium="image" type="image/png" width="4500" height="3000"/>
</item>
<item>
<title>tree-cover-density berlin 2018</title>
<dc:creator>Moritz Wenzler-Meya</dc:creator>
Expand All @@ -23,7 +36,7 @@
<category>10m</category>
<category>epsg:3035</category>
<guid>https://ecodynizw.github.io/posts_geodata/tree-cover-density_berlin_2018_10m_03035_tif</guid>
<pubDate>Thu, 16 May 2024 00:00:00 +0000</pubDate>
<pubDate>Fri, 17 May 2024 00:00:00 +0000</pubDate>
<media:content url="https://ecodynizw.github.io/posts_geodata/tree-cover-density_berlin_2018_10m_03035_tif/tree-cover-density_berlin_2018_10m_03035_tif_files/figure-html5/plot-1.png" medium="image" type="image/png" width="4500" height="3000"/>
</item>
<item>
Expand Down Expand Up @@ -295,19 +308,6 @@
<pubDate>Tue, 17 Jan 2023 00:00:00 +0000</pubDate>
<media:content url="https://ecodynizw.github.io/posts_geodata/population-density_berlin_2019_10m_03035_tif/population-density_berlin_2019_10m_03035_tif_files/figure-html5/plot-1.png" medium="image" type="image/png" width="4500" height="3000"/>
</item>
<item>
<title>vegetation-heights berlin 2020</title>
<dc:creator>Moritz Wenzler-Meya</dc:creator>
<link>https://ecodynizw.github.io/posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif</link>
<description>vegetation-heights berlin 2020</description>
<category>Berlin</category>
<category>2020</category>
<category>1m</category>
<category>epsg:25833</category>
<guid>https://ecodynizw.github.io/posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif</guid>
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
<media:content url="https://ecodynizw.github.io/posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/vegetation-heights_berlin_2020_1m_25833_tif_files/figure-html5/plot-1.png" medium="image" type="image/png" width="4500" height="3000"/>
</item>
<item>
<title>distance-to-human-settlements atlas 2009</title>
<dc:creator>Moritz Wenzler-Meya</dc:creator>
Expand Down
48 changes: 24 additions & 24 deletions docs/posts_geodata/posts_geodata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
[
{
"path": "posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/",
"title": "vegetation-heights berlin 2020",
"description": {},
"author": [
{
"name": "Moritz Wenzler-Meya",
"url": {}
}
],
"date": "2024-05-24",
"categories": [
"Berlin",
"2020",
"1m",
"epsg:25833"
],
"contents": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\ncolumn\r\n input\r\n folder_name\r\nvegetation-heights_berlin_2020_1m_25833_tifname\r\nvegetation-heights_berlin_2020_1m_25833.tifepsg\r\n25833crs\r\n+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defsyear_of_data\r\n2020units_of_data\r\nheight of vegetation in cmresolution\r\n1mtype_of_data\r\ncontinuous_numerictype_of_file\r\n.tifdate_of_compile\r\n2024-05-23source\r\nfisbroker - Umweltatlasshort_description\r\nNAmodified\r\nNAlink_of_source\r\nhttps://stadtentwicklung.berlin.de/geoinformation/fis-broker/copyright\r\nUmweltatlas Berlin / Vegetationshöhen 2020 (Umweltatlas)\r\n\r\n\r\nSession Info\r\n\r\n[1] \"2024-05-24 10:40:56 CEST\"\r\nR version 4.3.3 (2024-02-29 ucrt)\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\nRunning under: Windows 10 x64 (build 19044)\r\n\r\nMatrix products: default\r\n\r\n\r\nlocale:\r\n[1] LC_COLLATE=German_Germany.utf8 LC_CTYPE=German_Germany.utf8 \r\n[3] LC_MONETARY=German_Germany.utf8 LC_NUMERIC=C \r\n[5] LC_TIME=C \r\n\r\ntime zone: Europe/Berlin\r\ntzcode source: internal\r\n\r\nattached base packages:\r\n[1] stats graphics grDevices utils datasets methods \r\n[7] base \r\n\r\nother attached packages:\r\n[1] patchwork_1.2.0\r\n\r\nloaded via a namespace (and not attached):\r\n [1] gt_0.10.1 sass_0.4.9 utf8_1.2.4 \r\n [4] generics_0.1.3 tidyr_1.3.1 class_7.3-22 \r\n [7] xml2_1.3.6 KernSmooth_2.23-22 lattice_0.22-5 \r\n[10] distill_1.6 digest_0.6.35 magrittr_2.0.3 \r\n[13] timechange_0.3.0 evaluate_0.23 grid_4.3.3 \r\n[16] fastmap_1.2.0 jsonlite_1.8.8 e1071_1.7-14 \r\n[19] DBI_1.2.2 purrr_1.0.2 fansi_1.0.6 \r\n[22] scales_1.3.0 codetools_0.2-19 textshaping_0.3.7 \r\n[25] jquerylib_0.1.4 abind_1.4-5 cli_3.6.2 \r\n[28] rlang_1.1.3 units_0.8-5 munsell_0.5.1 \r\n[31] withr_3.0.0 cachem_1.1.0 yaml_2.3.8 \r\n[34] raster_3.6-26 parallel_4.3.3 tools_4.3.3 \r\n[37] memoise_2.0.1 dplyr_1.1.4 colorspace_2.1-0 \r\n[40] ggplot2_3.5.1 vctrs_0.6.5 R6_2.5.1 \r\n[43] lubridate_1.9.3 proxy_0.4-27 lifecycle_1.0.4 \r\n[46] classInt_0.4-10 ragg_1.3.0 pkgconfig_2.0.3 \r\n[49] terra_1.7-71 pillar_1.9.0 bslib_0.7.0 \r\n[52] gtable_0.3.5 glue_1.7.0 Rcpp_1.0.12 \r\n[55] sf_1.0-16 systemfonts_1.0.6 highr_0.10 \r\n[58] xfun_0.44 tibble_3.2.1 tidyselect_1.2.1 \r\n[61] rstudioapi_0.15.0 knitr_1.46 farver_2.1.2 \r\n[64] htmltools_0.5.8.1 labeling_0.4.3 rmarkdown_2.26 \r\n[67] d6geodata_0.0.0.9000 compiler_4.3.3 downlit_0.4.3 \r\n[70] sp_2.1-3 stars_0.6-5 \r\n\r\n\r\n\r\n\r\n",
"preview": "posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/vegetation-heights_berlin_2020_1m_25833_tif_files/figure-html5/plot-1.png",
"last_modified": "2024-05-24T10:40:57+02:00",
"input_file": "vegetation-heights_berlin_2020_1m_25833_tif.knit.md",
"preview_width": 4500,
"preview_height": 3000
},
{
"path": "posts_geodata/tree-cover-density_berlin_2018_10m_03035_tif/",
"title": "tree-cover-density berlin 2018",
Expand Down Expand Up @@ -522,30 +546,6 @@
"preview_width": 4500,
"preview_height": 3000
},
{
"path": "posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/",
"title": "vegetation-heights berlin 2020",
"description": {},
"author": [
{
"name": "Moritz Wenzler-Meya",
"url": {}
}
],
"date": "2023-01-16",
"categories": [
"Berlin",
"2020",
"1m",
"epsg:25833"
],
"contents": "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\ncolumn\r\n input\r\n folder_name\r\nvegetation-heights_berlin_2020_1m_25833_tifname\r\nvegetation-heights_berlin_2020_1m_25833.tifcrs\r\n+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defsepsg\r\n25833year_of_data\r\n2020units_of_data\r\nheights in mresolution\r\n1mtype_of_data\r\ncontinuous_numerictype_of_file\r\n.tifsource\r\nfisbrokerlink_of_source\r\nhttps://stadtentwicklung.berlin.de/geoinformation/fis-broker/date_of_compile\r\n2023-01-16copyright\r\nAmt für Statistik Berlin-Brandenburg 2023short_description\r\nfisbroker - Vegetationshöhen 2020 (Umweltatlas)modified\r\ndevided values with 10 to get meters again\r\n\r\n\r\nSession Info\r\n\r\n[1] \"2023-01-26 14:00:00 CET\"\r\nR version 4.2.2 (2022-10-31 ucrt)\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\nRunning under: Windows 10 x64 (build 17763)\r\n\r\nMatrix products: default\r\n\r\nlocale:\r\n[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252 \r\n[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C \r\n[5] LC_TIME=C \r\n\r\nattached base packages:\r\n[1] stats graphics grDevices utils datasets methods \r\n[7] base \r\n\r\nother attached packages:\r\n[1] patchwork_1.1.2\r\n\r\nloaded via a namespace (and not attached):\r\n [1] tidyselect_1.2.0 terra_1.6-53 xfun_0.36 \r\n [4] bslib_0.4.2 purrr_1.0.1 sf_1.0-9 \r\n [7] colorspace_2.0-3 vctrs_0.5.1 generics_0.1.3 \r\n[10] htmltools_0.5.4 stars_0.6-0 yaml_2.3.6 \r\n[13] utf8_1.2.2 rlang_1.0.6 e1071_1.7-12 \r\n[16] jquerylib_0.1.4 pillar_1.8.1 glue_1.6.2 \r\n[19] withr_2.5.0 DBI_1.1.3 lifecycle_1.0.3 \r\n[22] stringr_1.5.0 munsell_0.5.0 gtable_0.3.1 \r\n[25] ragg_1.2.5 codetools_0.2-18 memoise_2.0.1 \r\n[28] evaluate_0.20 labeling_0.4.2 knitr_1.41 \r\n[31] fastmap_1.1.0 parallel_4.2.2 class_7.3-20 \r\n[34] fansi_1.0.4 highr_0.10 Rcpp_1.0.10 \r\n[37] KernSmooth_2.23-20 classInt_0.4-8 scales_1.2.1 \r\n[40] lwgeom_0.2-11 cachem_1.0.6 jsonlite_1.8.4 \r\n[43] abind_1.4-5 farver_2.1.1 systemfonts_1.0.4 \r\n[46] textshaping_0.3.6 distill_1.5 ggplot2_3.4.0 \r\n[49] digest_0.6.31 stringi_1.7.12 dplyr_1.0.10 \r\n[52] grid_4.2.2 cli_3.6.0 tools_4.2.2 \r\n[55] magrittr_2.0.3 sass_0.4.4 proxy_0.4-27 \r\n[58] tibble_3.1.8 tidyr_1.2.1 pkgconfig_2.0.3 \r\n[61] downlit_0.4.2 ellipsis_0.3.2 assertthat_0.2.1 \r\n[64] gt_0.8.0 rmarkdown_2.20 rstudioapi_0.14 \r\n[67] R6_2.5.1 units_0.8-1 compiler_4.2.2 \r\n\r\n\r\n\r\n\r\n",
"preview": "posts_geodata/vegetation-heights_berlin_2020_1m_25833_tif/vegetation-heights_berlin_2020_1m_25833_tif_files/figure-html5/plot-1.png",
"last_modified": "2023-11-13T15:55:16+01:00",
"input_file": {},
"preview_width": 4500,
"preview_height": 3000
},
{
"path": "posts_geodata/distance-to-human-settlements_atlas_2009_1m_03035_tif/",
"title": "distance-to-human-settlements atlas 2009",
Expand Down
Loading

0 comments on commit 7507432

Please sign in to comment.