How To Install proj-rdnap on Ubuntu 18.04
Introduction
In this tutorial we learn how to install proj-rdnap
on Ubuntu 18.04.
What is proj-rdnap
proj-rdnap is:
Kadaster and Rijkswaterstaat CIV, working together under the name RDNAP, developed RDNAPTRANS™2008, the precise and official transformation between ETRS89 and the dutch national horizontal and vertical coordinate reference systems the Stelsel van de Rijksdriehoeksmeting (RD) and the Normaal Amsterdams Peil (NAP). A ‘simplified’ procedure has been developed which uses a NTv2-grid for the transformation between ETRS89 and RD as well as a VDatum-grid for the transformation between ETRS89 and NAP. This ‘simplified’ procedure has the following limitations:
- The rdtrans2008 NTv2-grid can only give identical results to RDNAPTRANS™2008 within 1 millimeter at ground level onshore and at mean sea level offshore. The horizontal deviation is approximately 1 millimeter per 50 meter height difference from ground level or mean sea level.
- An exception to 1) is the border of the RDNAPTRANS™2008 correction grid. Transformation results within cells of the rdtrans2008 NTv2-grid that are intersected by the border of the RDNAPTRANS™2008 correction grid can result in deviations of up to 20 centimeter.
- The naptrans2008 VDatum-grid cannot be used to determine deflections of the vertical. For this the NLGEO2004 geoid model has to be used.
- The naptrans2008 VDatum-grid is referenced to the Bessel-1841 ellipsoid and cannot be used stand-alone, it has to be used in combination with the rdtrans2008 NTv2-grid.
Taking into account the limitations listed above, the rdtrans2008 NTv2-grid and naptrans2008 VDatum-grid can be used as an alternative to RDNAPTRANS™2008 to transform geographic ETRS89-coordinates to projected RD-coordinates with grid correction applied and NAP-heights.
Note that, although the resulting RD/NAP and ETRS89 coordinates from the transformation will be correct, geographic Bessel-1841 coordinates will differ in both procedures and should only be considered as an intermediate result.
There are three methods to install proj-rdnap
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install proj-rdnap Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install proj-rdnap
using apt-get
by running the following command:
sudo apt-get -y install proj-rdnap
Install proj-rdnap Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install proj-rdnap
using apt
by running the following command:
sudo apt -y install proj-rdnap
Install proj-rdnap Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install proj-rdnap
using aptitude
by running the following command:
sudo aptitude -y install proj-rdnap
How To Uninstall proj-rdnap on Ubuntu 18.04
To uninstall only the proj-rdnap
package we can use the following command:
sudo apt-get remove proj-rdnap
Uninstall proj-rdnap And Its Dependencies
To uninstall proj-rdnap
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove proj-rdnap
Remove proj-rdnap Configurations and Data
To remove proj-rdnap
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge proj-rdnap
Remove proj-rdnap configuration, data, and all of its dependencies
We can use the following command to remove proj-rdnap
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge proj-rdnap
References
Summary
In this tutorial we learn how to install proj-rdnap
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.