1. Introduction
The optimization of geodetic networks is an important component of geodetic practice. Although methods such as laser scanning or photogrammetry gradually take over in the collection of spatial data over larger extents, measurement using total station remains crucial where local measurements for construction purposes are concerned. This method also remains indispensable in the measurement of deformations of, e.g., human-built objects [
1,
2] or natural scenes [
3].
The sufficient and known accuracy of survey results [
4,
5] is a fundamental prerequisite for the successful construction process, and the aim of geodetic network optimization is to minimize the costs of constructing and maintaining the network while maintaining the required accuracy and reliability. Many methods have been proposed for this purpose; however, not all of them are suitable for the relatively complex mathematical problem of geodetic networks.
The geodetic optimization method should be applied wherever the required accuracy of the measurement result is not easily met by the simple use of geodetic instruments, and where the quality of the subsequent construction process or the safety of the building operation depends on the accuracy achieved. These are, e.g., surveying activities in bridge construction [
6], the determination of coordinates of staking out geodetic network [
7], and the monitoring or measuring of structures above ground [
8,
9] or below ground [
10,
11,
12].
The basics of optimization in the field of geodetic networks have been laid down in the 1950s to 1970s. The general objective function for geodetic network optimization was introduced by Schaffrin [
13]. Recently, Bagerbandi followed up on his work [
14], comparing the suitability of single-criterion or multi-criterion optimization approaches. Scalar objective functions describing the accuracy and the properties of these functions were investigated in detail by Grafarend [
15]. Together with Schaffrin [
16], they defined a matrix objective function using the Taylor–Karman structure of the covariance matrix. Baarda then laid down the principles of objective functions for reliability [
17].
Grafarend classified the optimization of geodetic networks into four types, depending on the optimized parameters [
15]. Namely, these are termed zero-order design (ZOD) to third-order design (TOD). The ZOD, the basics of which are described by Teunnissen [
18], focuses on the coordinate system definition; it has, however, not gained much popularity. The first-order design (FOD) deals with the optimization of the network configuration, i.e., the locations of the network points. It was investigated in detail, in particular by Koch [
19], who optimized the position of the points through very small coordinate changes using the Taylor–Karman structure as the objective function. Berne and Baselga [
20] presented a different approach to the FOD, using a heuristic method of simulated annealing for the optimization of the covariance matrix determinant [
21]. They demonstrated this approach using two examples; however, in the more complicated of these examples, the optimization led to the convergence of the optimized points towards the center of gravity, leading to their final position on the borders predefined to limit their further convergence to the center of gravity. This indicates that even though the optimization of the network shape to maximize the accuracy might have seemed an interesting concept, it is not practically applicable as the mathematical solution necessarily always ends up on predefined borders designating the smallest allowed network (as seen, e.g., in [
20] or [
22]). The cause is simple: the errors generally grow with distance, and the simplest mathematical solution for improving accuracy, therefore, reduces the distances. Without setting the borders and continuing in optimization according to the FOD, the entire network would eventually converge into a single point.
The second-order design (SOD) optimizes the weight matrix (determining measurements to be taken and the number of repetitions of these measurements) and the third-order design attempts to optimize the network through its densification (i.e., the addition of new point(s) or observation(s)) [
23]. From the perspective of practical use, SOD (determining what measurements need to be taken and how many times) is the most important of these designs. However, the available literature [
20,
22,
24,
25,
26,
27,
28] mostly deals with determining weights of individual metrics (typically slope distance, zenith angle, and horizontal direction) separately. It should be strongly emphasized that in terms of the operation of geodetic instruments, when performing terrain measurements, the total station provides all these values at the same time and, in effect, recording only one or two of these values would not make much sense. Also, many of these studies work with measurement weights in the optimization procedure, which is also suboptimal as the weights must be eventually converted to the actual number of measurements. This usually does not yield integers and the numbers must be rounded up, which negatively affects the optimality of the solution (the number of measurements actually taken may then be higher than what could be sufficient). The same issues can be found in many other papers as well [
29,
30,
31,
32,
33].
In this paper, we aim to propose a method of second-order design optimization that would be applicable in everyday geodetic practice. The requirement of practicability disqualifies all previously discussed methods as it implies the following: (i) the numbers of measurements are integers; (ii) total station always simultaneously measures three values (slope distance, zenith angle, and horizontal direction), which must be considered as a group (it would make no sense to discard one or two measurements from the same position if they are taken anyway); (iii) all points measured from the same position of the total station are measured with the same number of repetitions (which is the way the software in total stations work); and (iv) an optimized network is defined as a network, whose points are determined with an accuracy parameter equal or better than a set (required) value and which is obtained using the minimum effort (i.e., number of measurements). For ease of use, it would also be optimal if the accuracy characteristic could be chosen from a pool of metrics (such as standard deviation of the coordinate, of the position, or the longest semiaxis of the error ellipsoid (hereinafter abbreviated as LSEE)).
2. Materials and Methods
The requirements on practical use detailed above have been previously applied by our group on the SOD of a geodetic network determined by geometric leveling [
34]. However, that method is not usable for measurements using the total station. For this reason, we can use the method proposed for geometrical leveling as a basis of the new algorithm and amend it to make it compatible with total station measurement specifics.
2.1. The Model of Geodetic Network Accuracy
The method proposed in this paper is based on the “greedy algorithm” [
35]. Considering the principle of this algorithm (i.e., maximizing immediate gain; in our case, the accuracy increment), its use could lead to the identification of a local rather than global optimum. Several strategies to overcome this problem (or minimize its effects) have been proposed and will be tested in this paper on four generated 3D geodetic networks.
The inputs for the proposed method of optimization include (a) the approximate coordinates of the points that will form the geodetic network, (b) the information on what measurements can be made, and (c) the accuracy characteristics of the device (total station) that will be used for measurements. The algorithm itself then consists, in principle, of four steps:
The measurement (or, rather, a group of measurements) is added into the network if it causes the greatest improvement in the used accuracy characteristic of the (at the time) least accurate point in the network.
This is repeated until the required accuracy is achieved for all points.
Subsequently, the backward analysis follows, in which a group of measurements is removed from the network if its deletion has the least negative effect on the respective accuracy characteristic of all possible measurement deletions.
This is repeated until the removal of the next group of measurements would worsen the accuracy of any point in the network below the required limit.
This approach uses the geodetic network adjustment by the least squares method. The accuracy of the network is characterized by a covariance matrix
Mx. In the case of a geodetic network with two or more fixed points, the covariance matrix can be calculated as
where
c is an arbitrary constant, which has to be identical for all elements in the matrix,
A is the Jacobi’s matrix, i.e., a matrix of partial derivations of the observation equations by network point coordinates (see, e.g., [
36] for more details, dimensions are
m ×
u, where
m is number of measurement in the network and
u is the number of unknowns), and
P is the weight matrix (dimensions
m ×
m). Covariance matrix dimension is
u ×
u.
To be able to use integers as the numbers of measurement repetitions instead of measurement weights, we have modified the definition of the weight matrix that takes them into account as follows:
where
N is a diagonal matrix containing the numbers of measurement repetitions, and
P0 is a weight matrix with weights for a single repetition of each measurement, both with dimension (
m ×
m). Each
pi (
i = 1 to
k) is then defined as
where
pi is the weight of the
ith measurement and
σi is the standard deviation of the
ith measurement.
However, if the network is solved as a free network (without a sufficient number of fixed points) additional conditions must be added into the calculation. In this work, conditions for Helmert transformation to all points of the network (
B, with dimensions 4 × 3
l, where
l is number of points in the network) were added to transform the network so that the sum of squares of displacements (for all points) is minimized as follows:
where
Yj,0 and
Xj,0 are the approximate coordinates of the
j-th point of the network with
l points in total. The covariance matrix describing the accuracy of the geodetic network is then defined as
This covariance matrix serves as a source for all accuracy characteristics of the network and any such characteristic that can be calculated from it can be used as the criterion for subsequent optimization (e.g., the standard deviation of the coordinate, of the position, or the longest semiaxis of the error ellipsoid). As various characteristics can be used, the symbol K will be used for simplicity to describe any accuracy characteristic and KT the target accuracy.
2.2. The Optimization Method
The optimization algorithm looks for the result with the lowest effort (i.e., with the minimum sum of the diagonal elements in the N matrix, indicating the minimum number of measurements) that yields the accuracy characteristic K equal or better than KT for all points of the network.
The optimization is performed in several steps. The first step, which may or may not be used (see below) lies in creating the initial configuration of the measurements. Subsequently, the aforementioned maximum accuracy increment method followed by the minimum accuracy decrease method are applied. In this paper, we tested four algorithms combining these steps as shown in the flowchart in
Figure 1. All four algorithms are employed in parallel to each geodetic network undergoing optimization and, finally, the result requiring the least effort is automatically selected as the optimal one. Components of the algorithm are described in the following paragraphs, the full algorithm in pseudocode is given in the
Appendix B.
2.2.1. Initial Network Configuration
In some cases, starting the optimization from a (near-)zero number of all repetitions reduces the likelihood of finding the optimal solution as it could lead rather to the identification of a local optimum instead of a global one. This is caused by the fact that the algorithm would prefer adding further measurements from the same standpoint from which the first measurement was performed to adding measurements from new standpoints—just because the second (or any subsequent) measurement from the same standpoint always contains one piece of additional information (namely, the horizontal angle between the previous measurement and the new one). In effect, the algorithm could keep adding measurements from the same standpoint only. One of the possible solutions to this issue lies in determining the initial measurement configuration of the network.
This initial measurement configuration is determined by declaring the measured horizontal directions to be bearings in the first step. This will allow the algorithm to move to another point in the network without the penalization stemming from the necessity to measure the first horizontal direction on the new standpoint. Subsequently, the above-described maximum accuracy increment method is applied to the network formed by the points, zenith angles, distances, and bearings. This will yield a preliminary (virtual) optimization of the network, which will provide us with measurements that need to be taken (i.e., measurements for which this preliminary optimization yielded the number of repetitions ≥ 1). This information is then adopted to determine measurements for the actual network containing horizontal directions instead of bearings, i.e., the initial measurement configuration (with the initial number of repetitions for each of these adopted measurements set to 1).
2.2.2. The Maximum Accuracy Increment Method
In this step, the algorithm adds the most suitable group of measurements to the arbitrary starting configuration of the network that does not meet the target accuracy KT in all points. The most suitable group of measurements is defined as the group of measurements that most improves the K of the point with the lowest K. This is repeated until the KT is achieved for all points of the network.
The number of repetitions for all possible measurements in the matrix can be, in the beginning, set to virtual 0 or, to be more exact, to ε= 10
−12, which is sufficiently low to serve as a “practical zero“ and, at the same time, meets the requirements of matrix regularity in Equations (1) and (5). The initial matrix
N is then defined as
2.2.3. The Minimum Accuracy Decrease Method
This method starts from a network configuration that meets the KT criterion, i.e., follows after the previous part of the algorithm had produced a network with sufficient accuracy. In this step, the decrease in the accuracy characteristic K after the removal of each group of measurement is evaluated and the group the removal of which leads to the lowest decrease in accuracy is removed.
2.3. Testing of Optimization Results
The quality of the results of our optimization method was tested on four spatial geodetic networks, with random variations in the coordinates of the points within the network, total station accuracies, and requirements for the resulting point accuracies. The longest semiaxis of the error ellipsoid (LSEE) was employed as the accuracy characteristic K in our testing.
Hereinafter, the five employed algorithms will be designated (in line with
Figure 1) as follows:
- -
A1—The numbers of measurement repetitions are increased standpoint by standpoint; initial network configuration is used.
- -
A2—The number of measurement repetitions is increased for the entire network simultaneously; initial network configuration is used.
- -
A3—The numbers of measurement repetitions are increased standpoint by standpoint without initial network configuration.
- -
A4—The number of measurement repetitions is increased for the entire network simultaneously without initial network configuration.
- -
AOPT—The final optimal result selected as the best-performing result from all four algorithms.
2.3.1. Geodetic Networks Used for Testing
Four testing geodetic networks were designed, simulating practical types of geodetic networks that can be employed in practice:
- -
The first network was designed as a simple regular square-like network, with observations possible from all four points of the network, using the forced centering for both instrument and target.
- -
The second network is triangular and also allows observations from all points of the network. It simulates a network for staking out a line construction, also using forced centering.
- -
The third network (“bridge”) simulates an accurate network for staking out, e.g., a highway bridge. In the vicinity of the construction, there are four points with forced centering, while at greater distances, there are additional reference points from where no observations are possible.
- -
The last network (“building”) represents a network for staking out a building. Reference points are stabilized on the perimeter of the construction site and determined from free standpoints.
The coordinates of all networks are detailed in
Table A1.
Figure 2 provides visualization of all four networks and
Table 1 shows the basic parameters of the networks.
2.3.2. Optimization Testing
Most available studies on geodetic network optimization use only one or two sites/networks. This can, however, yield falsely favorable and optimistic results. Such a situation could arise even when using four networks as originally proposed in this paper. For this reason, we performed 500 modifications of each of the basic networks (hereinafter referred to as network variants), which differ in the position of individual points. As shown in the example in
Figure 3 (square-like network), these positions were generated pseudo-randomly within a certain range around the original points (detailed in
Table A1).
For each of the network variants, a calculation using all four algorithms (described in detail in
Section 2.2) was performed. In the first test, the optimal number of measurements was determined by brute force, i.e., by scanning all possible combinations and selecting the one that contains the fewest number of measurements (groups of measurements) and meets the desired precision. In subsequent tests, the optimal number of measurements given the computational complexity of the brute force solution was determined as the smallest one found by our algorithm. To be able to compare the efficiency of individual algorithms, the results need to be normalized. In our study, this normalization was calculated as the ratio of the number of measurements acquired using the respective algorithm divided by the optimal number of measurements (if known) or by the best result of all four algorithms, expressed as the percentage. In other words, the optimal solution is 100%, and suboptimal solutions are characterized by numbers >100%.
Statistical evaluation was then performed for all algorithms using the results from all 500 network variants for each network and the results are presented as the mean normalized performance (MNP) of the algorithm for the particular network and the percentual success in optimal result detection (ORD). We chose 500 variants as an essentially extreme number in order to make the statistical uncertainty of the results practically negligible. In addition, the best result achieved by the combination of all four algorithms was also evaluated. Multiple tests were performed for each of the networks as will be described below.
- (1)
Brute force evaluation
To be able to objectively evaluate the success of the optimization method, we need to know the absolute optimal solution, which can only be achieved using brute force calculation, i.e., by calculating all possible solutions and selecting the one that provides the required accuracy with a minimum effort (absolute optimum). This approach is, however, computationally demanding and, as a consequence, it is applicable only for the square-like network (the computational demands grow exponentially with the number of possible measurements in the network), and even this was performed only for 50 network variants. In all, four tests with different required accuracies and measurement accuracies were performed (see
Table 2).
- (2)
Large-scale comparison of optimization algorithms on all networks
The brute force comparison (A1–A4) was, due to the computational demands, only possible for the simplest (square-like) network and a limited number of network variants (50). Hence, a mutual comparison of all algorithms for all networks with a large number of network variants (500) against the absolute objective optimum was not possible. Instead, the result achieved by the algorithm showed the best performance for the network variant and a combination of the parameters served as the reference (100%) for the particular combination of parameters.
The reader can note that accuracy requirements differ among networks. This was estimated in view of the network size (maximum distance between points)—with growing network size, the absolute maximum accuracy is obviously decreasing (considering the same number of measurements) and to improve it further, the number of repetitions would have to grow. However, if the number of repetitions is increased to above a limit value, its further increase would cease to add sufficient information. For this reason, we proposed the required accuracies to ensure that no more than three measurements of the same parameter are needed, considering the likely practical requirements on geodetic accuracy for respective networks. The total station accuracies (
) and required resulting accuracies of the network are shown in
Table 3.
- (3)
Comparison of optimization strategies when changing the required accuracies for individual networks
In this test, the results of individual optimization strategies when changing the required accuracy are evaluated (LSEE, changes in 20 steps for 50 network variants for each network; see
Table 4).
- (4)
Comparison of the performance of optimization strategies with changes in total station parameters
In this test, the results of individual optimization strategies with the changes in the accuracy of the total station (or, rather, the combination of direction/angle and distance measurement accuracies) are evaluated. The horizontal direction and zenith angle measurement accuracies gradually decrease while the accuracy of distance measurement increases, thus gradually reducing the contribution of the angles and increasing the contribution of distance measurements. The accuracy of all three parameters is always changed simultaneously, and the accuracy of both angle measurements is always changed by the same step (20 steps in all). The test parameters are detailed in
Table 5.
4. Discussion
As we have mentioned in the Introduction, most studies published on the topic of geodetic network optimization, although mathematically often correct, do not provide results that could be directly applied in the geodetic practice as they do not take into account the aforementioned basic principles of geodetic practice. Kuang studied the designs of both the first and second orders [
15]. He simultaneously optimized the position of both points and weights of the measurements, combining the accuracy and reliability criteria. In addition to this, he introduced a new criterion—sensitivity—describing the ability to detect the displacements occurring between stages of measurement. However, the results of the presented simulated examples were not applicable in practice; similarly to Berne and Baselga [
11], the network points converged to predefined borders or were often in impossible locations (e.g., high above the ground or below the terrain). When applying these theoretical findings to the monitoring of an existing dam (employing SOD), the optimization led to a significant reduction in the measurement weights (representing repetitions) while maintaining the required accuracy. Unfortunately, the use of continuous values for weights is suboptimal as when calculating the required numbers of measurements, the calculation returns non-integer numbers. Despite these shortcomings, Abdallah and Wang followed up on this work [
13], using FOD for the optimization of a geodetic network of a mine. Again, however, the optimized numbers ended up on the predefined borders.
Amiri-Seemkooei worked on SOD in several papers. In [
16], he and his team optimized the weights in the geodetic network with an objective function for reliability. In their follow-up work [
17], they optimized the network in a way ensuring that all measurements contributed equally to the network accuracy. Both studies work with the measurement weights, which are not directly applicable to real-world measurements. Yetkin et al. [
18] used a heuristic method of particle swarm optimization (see [
19] for details) for the second-order optimization of network measurements using global navigation satellite systems (GNSSs). In that study, the work with weights may make more sense than when the total station is used for measurement as the weights of measurement change almost continuously with the observation duration.
In this paper, we have proposed and tested a practically applicable automated method for SOD geodetic network optimization. The proposed method consists of a battery of algorithms that are applied in parallel and, subsequently, the best one is automatically selected. The only inputs for this method comprise the approximate coordinates of the points of the geodetic network, the information about what measurements can be taken in reality, the accuracy of the total station, and the required resulting accuracy of the geodetic network. In this context, we define the optimal network as one with all points measured with an accuracy parameter equal to or better than a set value obtained using the minimum effort (i.e., number of measurements). The ease of practical applicability is especially given by the use of integer numbers of measurements and by considering the measurements taken at the same moment using the total station as a single group of measurements (which exactly corresponds to the practical terrain measurements) and by having all measurements from a single standpoint taken for an equal number of times. We have based this algorithm on the maximum accuracy increment method, previously proposed by our group for the optimization of geometric leveling [
34] or GNSS measurements [
37].
The comparison of the results of our optimization with the absolute optima determined using a brute force approach in a simple (square-like) network revealed that the proposed method combining the four algorithms and by always selecting the best performing one yielded almost perfect results, i.e., detected the optimal solution in a vast majority of cases (93%). Although this means that in 7% of the network variants, the combined algorithm did not select the optimal solution, the mean difference in the number of measurements from the optimum was negligible—as low as 1%.
For the other networks and analyzed parameters, we were unable to calculate the absolute optima using the brute force method due to computational demands, which can be considered a limitation of the study. However, considering the excellent agreement between the results of the brute force solution and the A
OPT algorithm (i.e., selection of the best result from all four algorithms for each network variant) in the square-like network, we can reasonably assume that the combined algorithm will perform close to the optimum for the other networks as well. Importantly, we do not claim that we have achieved the optimal results in each network/calculation variant in
Section 3.2,
Section 3.3 and
Section 3.4. Rather, we demonstrate that none of the four partial algorithms A1–A4 universally performs the best and can be reasonably used for network optimization on its own. On the other hand, the additional step of selecting the best-performing algorithm out of all four in each calculation variant appears to provide results that are sufficiently close to the real-life optimum to be applicable in practice. The ease of use and low computational demand of this method are additional major benefits of our approach.