Skip to content

Commit

Permalink
release of version 0.98
Browse files Browse the repository at this point in the history
  • Loading branch information
Jellest committed Apr 16, 2024
1 parent 64a3276 commit cb5d215
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 39 deletions.
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@
^\.github$
^Packaging$
^\.Rbuildignore$
^data-raw$
^builds$

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ inst/doc
tests/
scratch/
AHN_output/
Rcode
my_output/
README_cache
Packaging/
Expand All @@ -20,4 +19,4 @@ deprecated/
docs
.Rproj.user
builds/
.gitignore
.gitignore
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Package
Package: rAHNextract
Title: Extract elevation points or areas in the Netherlands from the AHN
Version: 0.98
Date: 11-04-2024
Date: 16-04-2024
Author: Jelle Stuurman
Maintainer: Jelle Stuurman <[email protected]>
Description: Extract elevation points or raster areas in the Netherlands
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ knitr::opts_chunk$set(
)
```

# rAHNextract 0.98 dev
# rAHNextract

<!-- badges: start -->
[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/Jellest/rAHNextract?include_prereleases)
<!-- badges: end -->

Updated: 11-04-2024
Updated: 16-04-2024

This R package automatically extracts elevation points or areas of the Netherlands from the Actueel Hoogtebestand Nederland (AHN) datasets collected by [AHN](https://www.ahn.nl/). Individual elevations, and elevation raster areas can be extracted from the AHN4 using the geo and atom web services that are made available by [PDOK](https://www.pdok.nl/introductie/-/article/actueel-hoogtebestand-nederland-ahn).
PDOK only makes the most recent AHN available. Currently this is version AHN4. The next release will also support the older versions of AHN which are made available elsewhere.
Expand Down Expand Up @@ -66,7 +66,7 @@ For both the points and raster areas, the WCS method is set to default. The shee

## 3. Method of elevation extraction

Extraction of the elevation is done based on the raster data it receives from the sources. Determining the elevation can be tricky if no correct resampling is applied. The script always ensures a correct resampling takes place by adjusting the raster cells that need to be downloaded whenever necessary. This is called a 'rectified grid.' To avoid issues, the extraction calculation is therefore always done in the script and not through a OGC method online. Please refer to [this](https://geoforum.nl/t/wcs-van-ahn3-werkt-een-bounding-box-als-clip/6122/4) why it is important to always use rectified grids.
Extraction of the elevation is done based on the raster data it receives from the sources. Determining the elevation can be tricky if no correct resampling is applied. The script always ensures a correct resampling takes place by adjusting the raster cells that need to be downloaded whenever necessary. This is called a 'rectified grid.' To avoid issues, the interpolation on the rectified grid raster to determine the elevation is always done in the script and not through a OGC method online. Please refer to [this](https://geoforum.nl/t/wcs-van-ahn3-werkt-een-bounding-box-als-clip/6122/4) why it is important to always use rectified grids.

Please refer to [this](https://gisgeography.com/raster-resampling/) to read between the different extraction methods allowed: 'simple' (nearest) or 'bilinear'. In this package the default for the `extraction.method` parameter is set to 'simple'.

Expand Down
11 changes: 6 additions & 5 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -601,13 +601,13 @@

<body>

<h1 id="rahnextract-098-dev">rAHNextract 0.98 dev</h1>
<h1 id="rahnextract">rAHNextract</h1>
<!-- badges: start -->

<p><a href="https://www.tidyverse.org/lifecycle/#maturing"><img role="img" aria-label="Lifecycle: maturing" src="data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTE2IiBoZWlnaHQ9IjIwIiByb2xlPSJpbWciIGFyaWEtbGFiZWw9ImxpZmVjeWNsZTogbWF0dXJpbmciPjx0aXR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GV4dCBhcmlhLWhpZGRlbj0idHJ1ZSIgeD0iODQ1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI1MTAiPm1hdHVyaW5nPC90ZXh0Pjx0ZXh0IHg9Ijg0NSIgeT0iMTQwIiB0cmFuc2Zvcm09InNjYWxlKC4xKSIgZmlsbD0iI2ZmZiIgdGV4dExlbmd0aD0iNTEwIj5tYXR1cmluZzwvdGV4dD48L2c+PC9zdmc+" alt="Lifecycle: maturing" /></a><img role="img" aria-label="GitHub release (latest by date including pre-releases)" src="data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTE4IiBoZWlnaHQ9IjIwIiByb2xlPSJpbWciIGFyaWEtbGFiZWw9InJlbGVhc2U6IHYwLjk4X2RldiI+PHRpdGxlPnJlbGVhc2U6IHYwLjk4X2RldjwvdGl0bGU+PGxpbmVhckdyYWRpZW50IGlkPSJzIiB4Mj0iMCIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2JiYiIgc3RvcC1vcGFjaXR5PSIuMSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1vcGFjaXR5PSIuMSIvPjwvbGluZWFyR3JhZGllbnQ+PGNsaXBQYXRoIGlkPSJyIj48cmVjdCB3aWR0aD0iMTE4IiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDkiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0OSIgd2lkdGg9IjY5IiBoZWlnaHQ9IjIwIiBmaWxsPSIjZmU3ZDM3Ii8+PHJlY3Qgd2lkdGg9IjExOCIgaGVpZ2h0PSIyMCIgZmlsbD0idXJsKCNzKSIvPjwvZz48ZyBmaWxsPSIjZmZmIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iVmVyZGFuYSxHZW5ldmEsRGVqYVZ1IFNhbnMsc2Fucy1zZXJpZiIgdGV4dC1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiIgZm9udC1zaXplPSIxMTAiPjx0ZXh0IGFyaWEtaGlkZGVuPSJ0cnVlIiB4PSIyNTUiIHk9IjE1MCIgZmlsbD0iIzAxMDEwMSIgZmlsbC1vcGFjaXR5PSIuMyIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjM5MCI+cmVsZWFzZTwvdGV4dD48dGV4dCB4PSIyNTUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIGZpbGw9IiNmZmYiIHRleHRMZW5ndGg9IjM5MCI+cmVsZWFzZTwvdGV4dD48dGV4dCBhcmlhLWhpZGRlbj0idHJ1ZSIgeD0iODI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI1OTAiPnYwLjk4X2RldjwvdGV4dD48dGV4dCB4PSI4MjUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIGZpbGw9IiNmZmYiIHRleHRMZW5ndGg9IjU5MCI+djAuOThfZGV2PC90ZXh0PjwvZz48L3N2Zz4=" alt="GitHub release (latest by date including pre-releases)" /></p>
<p><a href="https://www.tidyverse.org/lifecycle/#maturing"><img role="img" aria-label="Lifecycle: maturing" src="data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5z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5saWZlY3ljbGU8L3RleHQ+PHRleHQgeD0iMjg1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiBmaWxsPSIjZmZmIiB0ZXh0TGVuZ3RoPSI0NTAiPmxpZmVjeWNsZTwvdGV4dD48dGV4dCBhcmlhLWhpZGRlbj0idHJ1ZSIgeD0iODQ1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI1MTAiPm1hdHVyaW5nPC90ZXh0Pjx0ZXh0IHg9Ijg0NSIgeT0iMTQwIiB0cmFuc2Zvcm09InNjYWxlKC4xKSIgZmlsbD0iI2ZmZiIgdGV4dExlbmd0aD0iNTEwIj5tYXR1cmluZzwvdGV4dD48L2c+PC9zdmc+" alt="Lifecycle: maturing" /></a><img role="img" aria-label="GitHub release (latest by date including pre-releases)" src="data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iOTAiIGhlaWdodD0iMjAiIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0icmVsZWFzZTogdjAuOTciPjx0aXRsZT5yZWxlYXNlOiB2MC45NzwvdGl0bGU+PGxpbmVhckdyYWRpZW50IGlkPSJzIiB4Mj0iMCIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2JiYiIgc3RvcC1vcGFjaXR5PSIuMSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1vcGFjaXR5PSIuMSIvPjwvbGluZWFyR3JhZGllbnQ+PGNsaXBQYXRoIGlkPSJyIj48cmVjdCB3aWR0aD0iOTAiIGhlaWdodD0iMjAiIHJ4PSIzIiBmaWxsPSIjZmZmIi8+PC9jbGlwUGF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</p>
<p>Updated: 16-04-2024</p>
<p>This R package automatically extracts elevation points or areas of
the Netherlands from the Actueel Hoogtebestand Nederland (AHN) datasets
collected by <a href="https://www.ahn.nl/">AHN</a>. Individual
Expand Down Expand Up @@ -690,8 +690,9 @@ <h2 id="id_3-method-of-elevation-extraction">3. Method of elevation
correct resampling is applied. The script always ensures a correct
resampling takes place by adjusting the raster cells that need to be
downloaded whenever necessary. This is called a ‘rectified grid.’ To
avoid issues, the extraction calculation is therefore always done in the
script and not through a OGC method online. Please refer to <a href="https://geoforum.nl/t/wcs-van-ahn3-werkt-een-bounding-box-als-clip/6122/4">this</a>
avoid issues, the interpolation on the rectified grid raster to
determine the elevation is always done in the script and not through a
OGC method online. Please refer to <a href="https://geoforum.nl/t/wcs-van-ahn3-werkt-een-bounding-box-als-clip/6122/4">this</a>
why it is important to always use rectified grids.</p>
<p>Please refer to <a href="https://gisgeography.com/raster-resampling/">this</a> to read
between the different extraction methods allowed: ‘simple’ (nearest) or
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# rAHNextract 0.98 dev
# rAHNextract

<!-- badges: start -->

Expand All @@ -9,7 +9,7 @@ release (latest by date including
pre-releases)](https://img.shields.io/github/v/release/Jellest/rAHNextract?include_prereleases)
<!-- badges: end -->

Updated: 11-04-2024
Updated: 16-04-2024

This R package automatically extracts elevation points or areas of the
Netherlands from the Actueel Hoogtebestand Nederland (AHN) datasets
Expand Down Expand Up @@ -74,8 +74,9 @@ from the sources. Determining the elevation can be tricky if no correct
resampling is applied. The script always ensures a correct resampling
takes place by adjusting the raster cells that need to be downloaded
whenever necessary. This is called a ‘rectified grid.’ To avoid issues,
the extraction calculation is therefore always done in the script and
not through a OGC method online. Please refer to
the interpolation on the rectified grid raster to determine the
elevation is always done in the script and not through a OGC method
online. Please refer to
[this](https://geoforum.nl/t/wcs-van-ahn3-werkt-een-bounding-box-als-clip/6122/4)
why it is important to always use rectified grids.

Expand Down
6 changes: 3 additions & 3 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ pandoc: 3.1.13
pkgdown: 2.0.7
pkgdown_sha: ~
articles: {}
last_built: 2024-04-11T08:07Z
last_built: 2024-04-16T20:35Z

Loading

0 comments on commit cb5d215

Please sign in to comment.