Coordinate Reference Systems for Geodetic Surveying with Geomatics and R

Marcelo de Carvalho Alves and Luciana Sanches
"2021-05-10"

Introduction

  • The datum was a term that meant geometric reference in geomatics and has been used to define a referential for position of geometric elements in space or in a topographic mapping.

  • The set of information defining shapes, size, origin and orientation of coordinate system established for the positioning of points on the Earth's surface geodetic with reference by geodetic datum.

  • After determining and deploying a geodetic datum for a region or a country, a network of points with coordinates referenced to that datum must be deployed, called the geodetic reference system.

Introduction

  • Geodetic surveys have been used to establish horizontal and vertical accuracy of reference monuments and have been used as a basis for generating or checking survey projects such as topographic and hydrographic mapping, boundary demarcation, route definition, construction planning, among others.

  • The established references have been essential as support for the use of geographic and Earth information systems.

Introduction

Types of geodetic datum:

  • Horizontal: Planimetric positions of points on the Earth's surface established through latitude, geodetic longitude, direction and parameters of the reference ellipsoid.

  • Vertical:References established to determine orthometric altitudes of points over large areas.

Introduction

  • Different methods can be used to define a network of geodetic control points in order to extend the understanding about the shape and mass of the Earth.

  • Extending the network of geodetic control points can be accomplished by leveling, accurate polygonals, very long base interferometry, satellite laser mapping, GNSS observations, and gravity surveys.

Introduction

  • The accumulation of these data can be used to update and extend existing control data, as well as to accurately define the geometric shape of the Earth.

  • GNSS surveying can also be used to establish vertical control, but with limitations due to the need to obtain an accurate geoidal model as a reference.

Introduction

Control grid reference for points

  • Topographic mapping and large-scale production planning

  • Dimension control in construction

  • Surveying deformation of structures

  • Augmentation and densification of existing control networks

Introduction

Geodetic reference system establishment

  • Topographic surface: Irregularities of the relief, mountain ranges, valleys, fields, oceanic hollows and marshes.

  • Real Earth's shape: The geoidal surface, determined as a function of the equipotential surface of the Earth's gravitational field, considered as the .

  • Ellipsoid of revolution: The geometric surface, determined by a sphere flattened at the poles.

Geoid and Ellipsoid

The ellipsoid was defined as a mathematical surface obtained by the revolution of an ellipse on the Earth's polar axis. The dimensions of the ellipsoid were selected to determine a good fit of the ellipsoid on the geoid over large areas, based on surveys conducted in the area. The ellipsoid approximated the geoid and can be mathematically defined to calculate positions of points separated by large distances in control and geodetic surveys [@Alves2016].

Geoid and Ellipsoid

Illustration of setting ellipsoid and geoid on the Earth (left) and an equipotential surface (right).

Illustration of setting ellipsoid and geoid on the Earth (left) and an equipotential surface (right).

Geoid and Ellipsoid

  • The first accurate terrestrial ellipsoid was determined by German astronomer Friedrich Wilhelm Bessel (1784-1846) in 1841.

Ellipsoids considered in Brazil

  • International Ellipsoid of 1924 (Hayford), Córrego Alegre datum.
  • Reference Ellipsoid of 1967, Chuá datum, South American Datum of 1969 (SAD-69).
  • Ellipsoide Geodetic Reference System of 1980 (GRS-80), Geocentric Reference System for the Americas (SIRGAS-2000).

Geoid and Ellipsoid

Table: Definition of ellipsoid parameters used in geomatics.

Ellipsoid Semi-axis a (m) Semi-axis b (m) Flattening f Use
GRS-80 6378137.0 6356752.314140356 1/298.25 Global (ITRS), Brasil, USA
WGS-84 6378137.0 6356752.314245179 1/298.25 Global (GPS)
Hayford-1924 6378388.0 6356911.946127947 1/297.00 USA / Europe
Córrego Alegre 6378388.0 6356911.946127947 1/297.00 Brasil
GRS-1967 6378160.0 6356774.516000000 1/298.24 Australia
SAD-1969 6378160.0 6356774.719000000 1/298.25 South America

Geoid and Ellipsoid

  • The flattening of the ellipsoid can be described by:

\begin{align} f=1-\frac{b}{a}=\frac{a-b}{a} \end{align}

where \( a \), was half of the major axis and, \( b \), half of the minor axis of the Earth's ellipsoid of revolution around the \( PP' \) axis.

Parameters a and b of an ellipse used to characterize the Earth's shape.

Parameters a and b of an ellipse used to characterize the Earth's shape.

Geoid and Ellipsoid

Ellipsoid first eccentricity (\( e \)) and first quadratic eccentricity (\( e^2 \))

\[ e=\frac{\sqrt {a^2-b^2}}{a}=\frac{a^2-b^2}{a^2}= \sqrt{2f-f^2}=\sqrt{f(2-f)} \]

\[ e^2=\frac{a^2-b^2}{a^2}=2f-f^2 \]

Geoid and Ellipsoid

Second eccentricity (\( e' \)) and second quadratic eccentricity (\( e'^{2} \))

\[ e'=\frac{\sqrt {a^2-b^2}}{b}=\frac{e}{\sqrt{1-e^2}}= \frac{e^2}{1-e^2}=\frac{f(2-f)}{(1-f)^2} \]

\[ e'^2=\frac{a^2-b^2}{b^2}=\frac{e^2}{1-e^2} \]

Geoid and Ellipsoid

  • By assuming the ellipsoid as a sphere, the radius and volume of the reference ellipsoid were equated to those of the sphere:

\[ r=\sqrt[3]{a^2b} \]

Geoid and Ellipsoid

  • The spherical distance between two points on the Earth's surface that are at the same distance from the center of the spheroid representing the Earth was measured over the arc generated by the spheroid containing the two points.

  • In practice, reductions from topographic to ellipsoidal distances were performed by considering the ellipsoid as a spheroid of radius equal to the local mean radius of the Earth at the latitude of the point.

  • It may be irrelevant whether the Earth is a spheroid or an ellipsoid for conventional topographical calculations .

The Conventional Terrestrial Pole

  • The ellipsoid was defined on the basis of the size of an ellipse rotated around the Earth's polar axis.

  • Polar axis motion can be subdivided into two categories called precession and nutation.

  • By international convention, the Earth's mean axis of rotation was defined between the years 1900 and 1905 and called the Conventional Earth Pole (CTP).

The Conventional Terrestrial Pole

Conventional Earth system with nutation and precession movements of the Earth's polar axis.

Conventional Earth system with nutation and precession movements of the Earth's polar axis.

Geodetic Position and Ellipsoidal Raddi

Definition of different radii and a vertice P on the ellipsoid.

Definition of different radii and a vertice P on the ellipsoid.

Geodetic Position and Ellipsoidal Raddi of Curvature

  • Meridians were large circles on the circumference of the ellipsoid that passed through the north and south poles.

  • The plane defined by the vertical circle passing through the vertice \( P \), perpendicular to the meridian plane in the ellipsoid, was called the main vertical or normal section.

  • The radius of the main vertical at point \( P \), \( R_N \), was called the normal, because it was perpendicular to a plane tangent to the ellipsoid at \( P \).

Geodetic Position and Ellipsoidal Raddi of Curvature

  • The geodetic latitude \( \phi_P \) was the angle in the meridian plane containing \( P \) between the equatorial plane and the normal at \( P \).

  • The geodetic altitude \( h_P \) should be included to define the location of point \( P \) on the Earth's surface.

Geodetic Position and Ellipsoidal Raddi of Curvature

  • The geodetic altitude was the distance measured along the length of the normal from \( P' \) on the ellipsoid to \( P \) on the Earth's surface.

  • The geodetic altitude was not equal to the elevation determined by differential leveling.

  • The great circle that defined the prime vertical at \( P \) had a radius of the normal section \( R_N \) that differed from the radius at the meridian \( R_M \) at \( P \).

Geodetic Position and Ellipsoidal Raddi of Curvature

  • The radius \( R_\alpha \) of the great circle at any azimuth \( \alpha \) in relation to the meridian was:

\[ R_N=\frac{a}{\sqrt{1-e^2sen^2\phi}}=R_M(1+e'^2cos^2\phi) \]

\[ R_M=\frac{a(1-e^2)}{(1-e^2sen^2\phi)^{3/2}} \]

Geodetic Position and Ellipsoidal Raddi of Curvature

\[ R_\alpha=\frac{R_N R_M}{R_Ncos^2\alpha+R_Msen^2\alpha} \]

where, \( a \) and \( e \) were parameters of the ellipsoid, \( \phi \) was the geodetic latitude of the station at which the radius was calculated.

Geodetic Position and Ellipsoidal Raddi of Curvature

  • The local mean radius of the Earth's curvature can be understood as the radius of a sphere that tangent the reference ellipsoid at the point of interest. The mean radius was calculated by geometric averaging the radius at the meridian and the radius of the normal section:

\begin{align} R_0=\sqrt{R_MR_N} \end{align}

Geoid Undulation and Deflection of the Vertical

  • Measurements with topographic equipment can be made relative to the ellipsoid or the geoid, yielding different results.

  • Therefore, it was important to know the conceptual differences between height, altitude, normal line and vertical line of a place.

Geoid Undulation and Vertical

  • Height: Dimension of a body from the base to the top
  • Altitude: Value of the elevation of a point relative to a vertical datum
  • Normal line: Line that intercepts the topographic surface, perpendicular to the ellipsoidal surface
  • Vertical line: Tangent line to the line of gravitational force that intercepted the topographic surface, perpendicular to the geoidal surface and that can be materialized by a plumb line.

Geoid Undulation and Vertical

  • The separation between geoid and ellipsoid determined the difference between the height of the point above the ellipsoid (geoidal altitude) and above the geoid (orthometric altitude), known as elevation.

  • This difference, called geoidal altitude or geoidal separation, can be observed when comparing the geodetic altitude of a point obtained by GNSS survey with the elevation determined by leveling.

Geoid Undulation and Vertical

Relationship between the orthometric altitude (\( H \)) and the geodetic altitude (\( h \)) at a point

\begin{align} h=N+H \end{align}

where, \( N \) was the geoidal altitude.

Relationship between the ellipsoid and the geoid.

Relationship between the ellipsoid and the geoid.

Geoid Undulation and Vertical

  • The projected components of the total vertical deviation in the meridian and normal planes were denoted \( \xi \) and \( \eta \), along the NS and EW directions, respectively.

Components of the vertical deflection.

Components of the vertical deflection.

Geoid Undulation and Vertical

  • The components, \( \xi \), on the meridian line and, \( \eta \), perpendicular to the meridian section, can be calculated by:

\begin{align} \xi=\phi_A-\phi_G \end{align}

\begin{align} \eta=(\lambda_A-\lambda_G)cos\phi=(Az_A-Az_G)cot\phi \end{align}

Geoid Undulation and Vertical

  • Laplace's equation can be derived from this equation by:

\begin{align} Az_G=Az_A-(\lambda_A-\lambda_G)sen\phi=Az_A-\eta tan\phi \end{align}

where, \( \phi_A \) and \( \phi_G \), were the astronomical and geodetic latitudes, \( \lambda_A \) and \( \lambda_G \), the astronomical and geodetic longitudes, \( Az_A \) and \( Az_G \), the astronomical and geodetic azimuths, respectively.

Coordinate Reference Systems

Coordinate system advantages

  • Determine the position of a topographic point by means of coordinates;
  • Standardize calculation methods to define topographic points;
  • Unify individual systems into a single overall system to simplify the identification and management of topographic points in a single project.

Coordinate Reference Systems

Coordinate systems types

  • Cartesian plane coordinate system or plane-rectangular system;
  • Plane polar coordinate system;
  • Spatial Cartesian coordinate system;
  • Geodetic geographic coordinate system.

Coordinate Reference System Transformation

  • In coordinate transformation, a mathematical operation was used to relate two different coordinate systems in order to characterize the position of a point in different systems.

  • The main coordinate transformations between plane coordinate systems were the transformation of coordinates from Cartesian system to polar system, between two Cartesian coordinate systems, and the transformation of spatial Cartesian coordinates to geodetic geographic coordinates and vice versa.

Coordinate Reference System Transformation

  • With the advent of the satellite positioning system, there was a need to transform spatial Cartesian coordinates into geodetic coordinates and vice versa. The positions determined by GNSS were initially obtained in spatial coordinates (\( X \), \( Y \), \( Z \)) which were later transformed into plane coordinates (\( E \), \( N \), \( H \)) for use in engineering projects.

Geodetic Calculation Algorithms

  • Algorithms for computing geodetic position on an ellipsoid of revolution with accurate results, robust and fast solutions to direct and inverse geodetic problems were used in R.

  • The algorithms used to calculate geodetic distance, azimuth and area.

Geodetic Calculation Algorithms

Functions developed in sf with ellipsoidal geometries via lwgeom R-package

  • Calculation of area of polygons with the function st_geod_area.
  • Calculation of line length with the function st_geod_length.
  • Calculation of distance between features with the function st_geod_distance.
  • Segmentation of lines along great circles with the function st_geod_segmentize.

Geodetic Calculation Algorithms

Geocomputation operations

  • Binary predicates: (intersects, touches, covers, contains, equals, equals_exact, relate);
  • Geometry generation operators: (centroid, intersection, union, difference, sym_difference);
  • Neighbor functions: (nearest_point, nearest_feature);
  • Other functions: (st_filter, st_join, agreggate).

Geodetic Calculation Algorithms

  • The geometry library S2 can be used for geospatial operations in R. This library was written by Google for use in Google Earth, Google Maps, Google Earth Engine, and Google BigQuery GIS.

  • In the S2 geometry, the straight lines between points on the globe were not formed by straight lines in the equirrectangular projection, but by large circles, according to the shortest path on the sphere.

Geodetic Calculation Algorithms

  • Some advantages of the S2 geometry library were:

  • Flexible support for spatial indexing.

  • Fast in-memory spatial indexing of collections of points, polylines, and polygons.

  • Robust constructive operations as intersection, union, simplification and Boolean predicates.

  • Efficient query operations for finding nearby objects, measuring distances, calculating centroids.

Geodetic Calculation Algorithms

  • Some advantages of the S2 geometry library were:

  • Flexible and robust implementation of instantaneous rounding.

  • Collection of efficient and exact mathematical predicates for testing relationships between geometric primitives.

  • Extensive testing on Google's vast collection of geographic data.

Geodetic Calculation Algorithms

  • The st_area and s2_area functions were used to perform the geodetic and spherical area calculation in Brazil, obtaining area values of \( 8508557 km^2 \) and \( 8540954km^2 \) for geodetic and spherical areas, respectively.

Geodetic Control Network

Geodetic reference system landmarks purposes:

  • Service to international scientific projects.

  • Tightening and control of geodesic and cartographic works.

  • Support for topographic surveys where accuracy criteria are used on Earth simplifications.

Geodetic Control Network

  • The horizontal and vertical datum consisted of a network of monuments and control landmarks whose horizontal positions or elevations were determined by accurate geodetic control surveys.

  • These monuments were used as reference points to generate new surveys of all types, and are referred to as reference networks.

Accuracy Standards for Control Surveys

  • The standard of accuracy for a control survey initially depended on the purpose of the survey.

  • Some of the factors that affected accuracy were the type and condition of the equipment used, the field processes adopted, and the experience and capability of the users.

Accuracy Standards for Control Surveys

Table: Horizontal accuracy of control surveying.

Order Precision
Superior 1:100000000
Average 1:100000
Inferior 1:5000

Accuracy Standards for Control Surveys

Table: Vertical accuracy of control surveying.

Order Precision Tolerance
First \( > 1:10000000 \) \( 0.5-0.7 mm \sqrt{K} \)
Second \( 1:10000000 \) \( 1.0-1.3 mm \sqrt{K} \)
Third \( < 1:10000000 \) \( 2.0 mm \sqrt{K} \)

Control Point Description

Metallic discs used to describe horizontal and vertical control stations in surveying.

Metallic discs used to describe horizontal and vertical control stations in surveying.

Computation

  • Reference coordinate systems (CRS) were applied to vector attribute data, referring to the vertices surveyed point by point, and to raster data, referring to georeferenced orthoimagery from orbital surveys.

  • The CRS can be described in R by an EPSG code or a definition of proj4string.

  • The syntax of PROJ4 consisted of a list of parameters, each prefixed with the + character.

Computation

Table: Parameters and description of PROJ4 to define coordinate system.

Parameter Description
+a Radius of the semi-major axis of the ellipsoid
+b Radius of the semi-minor axis of the ellipsoid
+datum Datum Name
+ellps Elipsoid Name
+lat_0 Latitude of origin
+lat_1 Latitude of first standard parallel
Parameter Description
+lat_2 Latitude of second standard parallel
+lat_ts True Scale Latitude
+lon_0 Central Meridian
+over Longitude beyond -180 to 180, turning off distortion
+proj Projection Name
+south UTM Zone in Southern Hemisphere
+units meters, etc.
+x_0 False East
+y_0 False North
+zone UTM Zone

Computation

  • The package rgdal was used to perform coordinate projection operations through the library PROJ, in order to transform coordinate vertices into cadastral vector attribute features.

  • Polygon area calculation can be performed using the sf package.

  • Geodetic distance and geodetic area can be performed by the lwgeom package.

Computation

  • Spherical area and distance calculations considering the Earth as a sphere can be performed with the s2 package.

  • The units package can be used in area unit transformation.

  • The raster package can be used to transform the geodetic coordinates of raster.

Computation

Installing R packages

install.packages("sf")
install.packages("s2")
install.packages("rgdal")
install.packages("units")
install.packages("lwgeom")
install.packages("spData")
install.packages("raster")

Computation

Enabling R packages

library(sf)
library(s2)
library(rgdal)
library(units)
library(lwgeom)
library(spData)
library(raster)

Computation

Observe available datum definitions in sf

sf_proj_info(type = "ellps")

Computation

View EPSG codes interactively

crs_data = rgdal::make_EPSG()
View(crs_data)

References

Alves, M. C.; Sanches, L. S. (2021). Surveying with geomatics and R. Taylor & Francis.