1,371
Views
3
CrossRef citations to date
0
Altmetric
Articles

An optimized hexagonal quadtree encoding and operation scheme for icosahedral hexagonal discrete global grid systems

, ORCID Icon, ORCID Icon, ORCID Icon &
Pages 975-1000 | Received 25 Jun 2021, Accepted 06 Jun 2022, Published online: 19 Jun 2022

ABSTRACT

Although research on the discrete global grid systems (DGGSs) has become an essential issue in the era of big earth data, there is still a gap between the efficiency of current encoding and operation schemes for hexagonal DGGSs and the needs of practical applications. This paper proposes a novel and efficient encoding and operation scheme of an optimized hexagonal quadtree structure (OHQS) based on aperture 4 hexagonal discrete global grid systems by translation transformation. A vector model is established to describe and calculate the aperture 4 hexagonal grid system. This paper also provides two different grid code addition algorithms based on induction and ijk coordinate transformation. We implement the transformation between OHQS codes and geographic coordinates through the ij, ijk and IJK coordinate systems. Compared with existing schemes, the scheme in this paper greatly improves the efficiency of the addition operation, neighborhood retrieval and coordinate transformation, and the coding is more concise than other aperture 4 hexagonal DGGSs. The encoding operation based on the ijk coordinate system is faster than the encoding operation based on the induction and addition table. Spatial modeling based OHQS DGGSs are also provided. A case study with rainstorms demonstrated the availability of this scheme.

1. Introduction

With the development of technology in earth science, the era of big earth data has arrived (Guo et al. Citation2014; Guo Citation2017). To meet the challenges in transmitting, storing, processing, analyzing, managing, and sharing big earth data, advanced technology is required to make the data manageable and valuable (Guo et al. Citation2017). Discrete global grid systems (DGGSs) are gaining traction as data models for a digital earth framework designed for heterogeneous geospatial big data (Craglia et al. Citation2012; Goodchild Citation2018). Based on its infrastructure, which is superior to regular grids based on map projections (Bauer-Marschallinger, Sabel, and Wagner Citation2014; Lin et al. Citation2018), the DGGS will enable the integrated analysis of massive, multisource, multiresolution, multidimensional earth observation data (Yao et al. Citation2020).

DGGSs comprise a spatial reference system that uses a hierarchical tessellation of cells to partition and address the globe, which is considered a promising model for processing big earth data. The Open Geospatial Consortium (OGC) specified the core abstract specification and extension mechanisms for the DGGS (Purss et al. Citation2017). In the DGGS, the earth's surface is partitioned into a set of cell regions, where each region has a single point and unique code associated with it. Compared with traditional spatial data organization and application mode, the DGGS can avoid the large deformation caused by direct projection. The DGGS is more suitable for solving large-scale problems and efficient processing of multiresolution data because of its hierarchical and continuous structure. As a tool, the DGGS has been employed in multiple fields, such as geospatial data management (Shuang et al. Citation2016; Li et al. Citation2019; Li, Stefanakis, and Mcgrath Citation2020), ocean modeling (Lin et al. Citation2018), construction of global gazetteers (Adams Citation2017), global oil palm monitoring (Cheng et al. Citation2017), integrated environmental analytics (Robertson et al. Citation2020), and prediction of hate crimes (Jendryke and McClure Citation2021).

Compared with the DGGS based on the geographic coordinate system, the geodesic DGGS based on regular polyhedrons has equal-area cell regions and can avoid distortion from the equator to the poles, which has increased its popularity among many researchers (Sahr, White, and Jon Kimerling Citation2003). Different geodesic DGGSs may be characterized according to base polyhedrons, cell shape, aperture, cell indexing, and projections (Mahdavi-Amiri, Alderson, and Samavati Citation2015; Peterson Citation2016). The base polyhedrons used to approximate the earth can be partitioned into cells and projected onto a sphere by a projection method. The icosahedral Snyder projection is commonly used in geodesic DGGS research due to its equal-area property and low angular distortion (Snyder Citation1992; Kimerling et al. Citation1999; White Citation2000; Sahr Citation2008; Vince and Zheng Citation2009). In geodesic DGGSs, there are three common cell shapes: triangle (Dutton Citation1984, Citation1999; Iii, John, and Goldsman Citation2001; Zhao, Chen, and Li Citation2006), quadrilateral (Alborzi and Samet Citation2000; White Citation2000; Amiri, Bhojani, and Samavati Citation2013), and hexagon (Sahr, White, and Jon Kimerling Citation2003; Vince Citation2006; Vince and Zheng Citation2009; Tong et al. Citation2013; Wang et al. Citation2021). Compared with other cell shapes, hexagonal cells have advantages such as close packing and uniform adjacency, which are favorable for spatial analysis and data visualization (Sahr Citation2011; Ben et al. Citation2015). Three hierarchical spatial partitioning structures—apertures 3, 4, and 7 were utilized in hexagonal DGGSs. Most research on multiprecision hexagonal DGGSs has focused on apertures 3 and 4.

The core functionality of the DGGS is the indexing method that supports the rapid indexing of spatial data in the DGGS and the efficient calculation of spatial analysis. The indexing categorization of the DGGS includes hierarchy-based indexing, space-filling curve indexing, and axes-based indexing. Different indexing methods have different characteristics and can be converted among each other (Amiri, Samavati, and Peterson Citation2015). For hexagonal DGGSs, hierarchy-based indexing methods are primarily utilized in research and application. Sahr (Citation2005, Citation2008, Citation2011) introduced the icosahedral modified generalized balanced ternary (MGBT) for indexing the DGGS. Peterson (Peterson Citation2011) proposed the PYXIS scheme to encode and index cells of the Icosahedral Snyder Equal Area Aperture 3 Hexagonal (ISEA3H) DGGS. Arithmetic and Fourier transforms for the PYXIS were analyzed by Vince and Zheng (Zheng Citation2007; Vince and Zheng Citation2009). Mocnik proposed an identifier scheme that encodes the geographic coordinates of the centroid of a cell on ISEA3H DGGS (Mocnik Citation2019). Two types of aperture 4hexagonal grid systems were combined to construct the hexagonal quaternary balanced structure (HQBS) (Tong et al. Citation2013). According to the characteristics of the aperture 4 hexagonal grid systems, Wang et al. designed the hexagon lattice quad tree (HLQT) structure (Wang et al. Citation2018; Wang et al. Citation2019).

Compared with the aperture 3 hexagonal grid, the partition structure of the aperture 4 hexagonal grid is simple and consistent, and its encoding operation is more efficient. The Aperture 4 DGGS is usually based on quad-tree encoding, but coding gaps and unique attribution problems will arise in the process of quad-tree encoding. The encoding cannot tile the whole plane because hexagonal grid subdivision is not nested at different levels. The method adopted by the HLQT was to construct the first symbol in the third resolution to the tile plane. The HLQT code consisted of the first symbol and subsequent digits, which caused a mismatch between the first symbol and subsequent digits (Wang et al. Citation2019). The calculation of the first symbol was more complicated. The HQBS adopts quadtree encoding, which combines two types of aperture 4 hexagonal discrete grid systems into a hierarchy, leading to complicated operation rules and the situation in which the code ‘regularization’ fails and needs to be returned and recalculated (Tong et al. Citation2013). The discrete global grid encoding operation usually constructs addition tables and addition rules, which are complex to build and computationally complex (usually O(N2), by means of induction. In practical applications, more emphasis is placed on the simplicity, usability and efficiency of encoding operations. The efficiency of the existing DGGS still cannot meet the actual needs. The significance of the global discrete grid is to provide a new management and analysis scheme for spatial data. However, current research hardly provides the expression methods and interfaces of traditional spatial data on the discrete global grid, which limits the application of the DGGS.

In this study, we establish the mathematical vector model of the aperture 4 hexagonal grid system, which is used to express and operate the hexagonal quadtree encoding, and design the encoding scheme of the Optimized Hexagonal QuadTree Structure(OHQS) by translation transformation. The scheme is extended to the icosahedron and sphere. In the encoding addition and neighborhood retrieval operations, in addition to constructing a set of addition rules similar to integer addition by means of induction, we also construct a set of addition rules based on ijk coordinate transformation. The efficiency of the two addition rules is compared. In the transformation algorithm between DGGS code and geographic coordinates, we calculate the coordinates of the center point of the grid by converting the code to the ij coordinate system. The location characteristics of the hexagonal center point in the ijk coordinate system and IJK coordinate transformation are employed to calculate and determine the hexagonal grid code where the point is located. The data conversion model from traditional spatial data (vector data and raster data) to a discrete global grid is also constructed. Multisource data, such as social media data and elevation data, are utilized to analyze the influences of the ‘Beijing 7.16’ rainstorm disaster.

2. Optimized hexagonal quadtree structure

2.1 Basic model of a dGGS

A geodesic DGGS is generally specified by a base polyhedron, orientation of the polyhedron relative to the earth, a hierarchical spatial partitioning method, projection, and assigning points to cells (Sahr, White, and Jon Kimerling Citation2003). To construct the spherical hexagonal grid system, first, nearly all existing hexagonal DGGSs should build a planar hexagonal grid system. Second, the polyhedral model is built based on the planar hexagonal grid system. Last, the polyhedral model is projected onto the sphere. In this study, we selected the Inverse Snyder Equal-Area Projection Aperture 4 Hexagon Discrete Global Grid System (ISEA4H DGGS) model, as shown in , because aperture 4 hexagon hierarchy changes more regularly and the Icosahedral Snyder Equal-Area Projection has the most minor cell distortion (Kimerling et al. Citation1999; Mahdavi-Amiri, Alderson, and Samavati Citation2015).

Figure 1. Model of icosahedron DGGS

Figure 1. Model of icosahedron DGGS

To construct the DGGS, the icosahedron is selected to approximate the earth, and the spherical discretization based on the earth is converted to discretization on the icosahedron. We determine the position of the icosahedron relative to the sphere by setting the vertices at the poles. The icosahedron is expanded, as shown in . Referring to the discretization and encoding scheme in previous studies, the initial discretization is established in each triangular face of the icosahedron (Sahr Citation2008; Vince and Zheng Citation2009; Jin et al. Citation2018; Wang et al. Citation2019; Wang et al. Citation2021). We use Hg to indicate a complete hexagon, and Hg-d to indicate a hexagon with a triangle deleted. The two-dimensional coordinate axis xy is used to identify the direction of hexagonal subdivision and encoding, and then the icosahedron is divided into 20 and 12 Hg-d, as shown in . Note that the icosahedron is subdivided into 32 hexagons, and we just need to build a subdivision and encoding structure on each hexagon.

Figure 2. Diagram of initial hexagons on the unfolded icosahedron surface

Figure 2. Diagram of initial hexagons on the unfolded icosahedron surface

Figure 3. The direction of hexagonal subdivision and encoding

Figure 3. The direction of hexagonal subdivision and encoding

2.2 Design of optimized hexagonal quadtree structure encoding scheme

There are four types of hexagonal subdivisions in aperture 4 hexagonal DGGSs. As shown in , the red hexagon representing parent cells is partitioned into four gray hexagons representing child cells. In this paper, the first structure (a) is selected as the basic hexagonal grid subdivision structure, which is symmetrical about the parent cell and has better geometric properties.

Figure 4. Four structures of hexagonal subdivisions

Figure 4. Four structures of hexagonal subdivisions

To facilitate the representation and calculation of the aperture 4 hexagonal DGGS, the lattice representing the center point of the planar hexagonal grid is defined to replace the grid. Vectors u and v in the two-dimensional Cartesian coordinate system are employed to describe the lattice. As illustrated in (right), the unit of the side length of the initial red hexagon is 1; then u=(34,34) and v=(0,32).

Figure 5. Lattices are described by vectors in the Cartesian coordinate system

Figure 5. Lattices are described by vectors in the Cartesian coordinate system

The vector model of the hexagonal lattice is constructed by describing the hexagonal lattice with vectors. In every resolution of hexagonal grids, each hexagonal cell can be represented by the combination of u and v. Let Pn denote the set of all lattices that are partitioned in the nth resolution of hexagonal grids; it can be expressed as follows: (1) Pn=Pn1+D,Pn=P0+i=1n12i1D(n1)(1) where D={0,u,v,uv} indicates the direction of the partition and P0 represents the lattice of the first level.

For n1, let un=12n1u, vn=12n1v and Ln be the linear combination of un and vn. It is easy to determine that Ln represents all lattices in the nth level vector space. (2) Ln=n1un+n2vn;n1,n2Z(2) Properties of Pn. The following properties are easily obtained from the definitions of Pn and Ln and are fundamental theorems for the aperture 4 hexagonal DGGS:

1. forn1,PnLn

2.

Pn are nested: P0P1P2

3. The number of lattice points in Pn is 4n
4.

For any n0 and PiPn, there exists a unique di{0,12iu,12iv,12i(uv)}, (3) Pi=i=1ndi(3)

The mathematical proof of Property 4 is presented in Appendix (1). Property 4 can be used as follows to assign each cell in Pn a label (address) that consists of a string of n digits from the set {0, 1, 2, 3, 4}. Equation (4) is referred to as the standard form for Pi in Pn. Let ai{0,1,2,3,4}. The string α=a1a2....an of integers in the standard form is referred to as the label of Pi in Pn, it is a one-to-one correspondence between the label and the hexagonal cell. shows the labels of P1 and P3.

As shown in , quadtree encoding will cause encoding gaps and uniqueness problems, and cannot cover the entire spherical surface, so it needs to be adjusted. For the code in the lower right corner, the excess hexagonal grids can be expressed as: (4) RLn=(2n1+n1)un+n2vn;2n1n2>2,n1,n2Z(4) The set of hexagonal grids in the upper left corner can be expressed as: (5) RLn=(2n1+n1)un+n2vn;2n1n2>2,n1,n2Z(5) u=un, v=vn, and then RLn=RLn. The mathematical proof is provided in Appendy (2). The part of the grid that exceeds the lower right corner exactly corresponds to the part that is vacant in the upper left corner. Similarly, the part of the grid that exceeds the upper and lower left corners can also correspond to the empty part in the lower and upper right corners, respectively. Therefore, we can construct an optimized hexagonal quadtree structure by means of translation transformation, as shown in .

Figure 6. The labels of P1 and P3

Figure 6. The labels of P1 and P3

Figure 7. Optimized Hexagonal QuadTree Structure

Figure 7. Optimized Hexagonal QuadTree Structure

3. Operations of the OHQS DGGS

3.1 Rule of code addition

3.1.1 Addition based on induction

A vector represents the center point of the hexagonal cell, and the corresponding code is constructed. The code records the distance and orientation of the hexagonal lattice relative to the origin lattice. Similar to vector addition, the parallelogram rule can be used to define the code addition operation. According to induction and verification, the coded addition satisfies the properties of the Abelian group.

The rules of code addition in the current study are similar to the addition rules for integers (Vince and Zheng Citation2009; Tong et al. Citation2013; Wang et al. Citation2019). The code of the nth resolution α=a1a2....an and β=b1b2....bn, The calculation method of code addition is similar to that of decimal addition. The method starts from the last symbol on the right and calculates bit by bit to the first symbol on the left. The code addition operation can be decomposed into the sum of the corresponding codes for different additions. (6) αβ=a1a2..anb1b2..bn=(a1b1)(a2b2)..(anbn)(6) The same process applies to the decimal addition operation rule. For all the code elements to be added and the calculation result code element of the current bit, a carry code element will be generated on the left side. The specific operation rules are expressed as follows: (7) anbn={an0(an=bn)an(an0,bn=0)ccn(anbn,an0,bn0,c={0,an,bn}¯(7) In the calculation process, when anbn, a large number of carry symbols will be generated on the addition bit, and the number of addition operations on each resolution exponentially increases. To improve the calculation efficiency, the number of addition operations must be reduced. Analyzing the rule of addition, the optimization methods can be described as follows:

  1. 0 can be ignored as a calculation code element. When the code elements are identical, only one carry code element is generated so that the same code element can be calculated first. Only three symbols {1,2,3} remain, they participate in the addition algorithm.

  2. It is unnecessary to store every carry symbol but only count the number of symbols that appear in addition, which can save considerable calculation memory. c={0,an,bn}¯ can be realized by the binary XOR () operation: c=anbn.

In the calculation process, when anbn, numerous carry symbols are generated. By adopting the method of counting the number of occurrences of symbols and by preferentially calculating the same symbols, the number of symbol calculations can be reduced (Wang et al. Citation2018; Wang et al. Citation2019). Through the above steps, the computational efficiency of code addition can be significantly improved, and Algorithm 1 shows the process of code addition for the OHQS.

Algorithm 1: SUM(a1a2....an, b1b2....bn)

Input: Two labels a1a2....an and b1b2....bn

Output: If it exists, SUM = a1a2....anb1b2....bn. Otherwise, SUM = overflow.

Step 1. Initialize two-dimensional array A[n][4] to record the number of every digit that participates in the calculation in digit position i (position of ai and bi). Let A[n][4] record the digits of labels α and β first.

Step 2. For i=nto2 (right to left), do. (8) A[i+1][j]=A[i][j]2,A[i][j]=A[i][j]%2,j{1,2,3}(8) The number of remaining digits is three at most. The remaining digits can be input in the calculation by Equation. (8).

Step3. A[1][j]=A[1][j]%2,j{1,2,3}, and then the first number of results can be calculated.

Unlike the HLQT, the first code is not defined in this paper. The HLQT code consists of the first symbol and subsequent digits. The set of first symbols in the HLQT is E={0,1,2,3,4,5,6,10,20,30,40,50,60,100,200,300,400,500,600,106,601,201, 102,302,203,403,304,504,405,605,506,1000,2000,3000,4000,5000,6000} (Wang et al. Citation2019). Since there is no addition table built for some of these symbols, the HLQT builds complex rules to avoid its addition. Notably, the binary algorithm is utilized to realize the addition. For example, for c={0,an,bn}¯, the addition can be realized by binary operation c=anbn. Compared with the HLQT, the efficiency of the addition operation of the OHQS was greatly improved.

3.1.2 Addition based on ijk coordinate

Although the efficiency has been improved, Algorithm 1 still has difficulty meeting the needs of practical applications. We attempt to implement the addition by transformation between OHQS codes and ijk coordinates. The ijk coordinate can be utilized to represent the relative position of the hexagonal grid in the space, as shown in . The coordinate axis divides the space into 3 quadrants, and the coordinates in each quadrant are represented by two adjacent coordinate axes. The ijk coordinates are always positive, which is easy to calculate. In this paper, the OHQS code is converted to ijk coordinates, and the addition operation is performed in three dimensions in the ijk coordinate system. The addition result is converted to a code.

Figure 8. ijk coordinate system

Figure 8. ijk coordinate system

We need to realize the transformation between OHQS codes and the ijk coordinates. The directions of the three coordinate axes in the ijk coordinate system are equivalent to u, v, and uv in the vector model of the hexagonal lattice. Formulas (1) and (2) show that the units of the i, j, and k coordinate axes of the nth resolution are 12n1|u|, 12n1|v| and 12n1|uv|. Each hexagonal grid can be expressed as [r,(i,j,k)] in the ijk coordinate system, where r represents the resolution of the hexagonal grid. For each digit ar in the OHQS code, from Formula (3), we know that ardr{0,12r1u,12r1v,12r1(uv)}. We can obtain the correspondence between digits and ijk coordinates. Next, the transformation relationship between the OHQS code α(a1a2....an) and the ijk coordinate can be obtained, and Algorithm 2 for converting the code to coordinates and Algorithm 3 for converting the coordinates to code can be constructed.

In the calculation of converting the encoding into ijk coordinates, first, we separately calculate the ijk values of each resolution in the order of encoding, and accumulate the results to obtain (i,j,k). Second, because the value of three coordinate axes will be generated in the calculation, it needs to be converted to [n,(i,j,k)], which is represented by two coordinate axes. Last, since the translation transformation of the encoding is performed by using Formulas (4) and (5), the translation transformation of the ijk coordinates also needs to be performed in the calculation. The mathematical proof of Formula (9) is provided Appendix (3).

Algorithm 2:

CodeToijk(a1a2....an)

Input: code a1a2....an

Output: ijk[n,(i,j,k)]

Step 1. Calculate (i,j,k). (9) (ijk)=p=0n1{(200200002)pφ(ap+1)}(9) where n represents the length of the code and φ(ap+1) is given in .

Table 1. φ values associated with different digits

Step 2. Convert (i,j,k) to [n, (i,j,k)], which is represented by two coordinate axes.

Let m=min(i,j,k);i=im;j=jm;k=km.

Step 3. Obtain the translation transformation of the ijk coordinates. ifi=0&&2×jk>2n,theni=2nj,k=k+i,j=0;elseifi=0&&2×kj>2n,theni=2nk,j=j+i,k=0;elseifj=0&&2×ik>2n,thenj=2ni,k=k+j,i=0;esleifj=0&&2×ki>2n,thenj=2nk,i=i+j,k=0;elseifk=0&&2×ij>2n,thenk=2ni,j=j+k,i=0;elseifk=0&&2×ji>2n,thenk=2nj,i=i+k,j=0.In the calculation of converting [n,(i,j,k)] to code, first, the offset vector of each resolution of the DGGS is sequentially calculated from the 1st resolution to the nth resolution. The offset vector refers to the offset value of each layer symbol relative to the previous layer in the vector mathematical model. The offset vector refers to the offset value of the digits of each resolution relative to the digits of the previous resolution in the vector model. Second, according to the correspondence between the offset vector and the digit in , the value of the digit of each resolution is determined, and last all the digits are combined to form the OHQS code a1a2....an.

Table 2. Relationship between offset vector and digit

Algorithm 3:

ijkToCode([n,(i,j,k)])

Input: ijk[n,(i,j,k)], the offset vector (Vi,Vj,Vk)

Output: code a1a2....an forr=1tondoStep 1. Calculate the offset vector. Vi=i&1;Vj=j&1;Vk=k&1;i=i>>1;j=j>>1;k=k>>1;Step 2. Determine the r-th digit in the code according to the offset vector. if(Vi=0&&Vj=1&&Vk=0)or(Vi=1&&Vj=0&&Vk=1),then ar=1;elseif(Vi=0&&Vj=0&&Vk=1)or(Vi=1&&Vj=1&&Vk =0),thenar=2;elseif(Vi=1&&Vj=0&&Vk=0)or(Vi=0&&Vj =1&&Vk=1),thenar=3;elsear=0.The addition algorithm based on ijk coordinate transformation utilizes Algorithm 2 and Algorithm 3. For the two codes a1a2....an and b1b2....bn to be calculated, first, the two codes are converted to ijk coordinates [n,i1,j1,k1] and [n,i2,j2,k2]. Second, the addition operation is performed in three dimensions in the ijk coordinate system, and last the result of the operation is converted to the OHQS code.

Algorithm 4:

SUM(a1a2....an, b1b2....bn)

Input: code a1a2....an and b1b2....bn

Output: if the result exists, SUM = a1a2....anb1b2....bn. else, SUM = overflow.

Step 1. ijk1[n,i1,j1,k1]=CodeToijk(a1a2....an), ijk2[n,i2,j2,k2]=CodeToijk(b1b2....bn).

Step 2. ijk3[n,i3,j3,k3]=ijk1[n,i1,j1,k1]+ijk2[n,i2,j2,k2].

m = Mini3,j3,k3, ijk3 = ijk3[n,i3,j3,k3]ijkm[n,im,jm,km].

Step3. SUM=ijkToCode([n,i3,j3,k3])

3.2 Rule of adjacent grid retrieval

Based on the additional rules of the OHQS code, the adjacent grid retrieval operation of the hexagonal cell can be constructed. The six adjacent codes of the grid code can be obtained by adding adjacent codes of the center code on the OHQS. As shown in , the six adjacent codes of the center code are 000n11, 000n12, 000n13, 2222n, d5=1111n, and d6=3333n.

Figure 9. Six adjacent cells in the center of the OHQS code

Figure 9. Six adjacent cells in the center of the OHQS code

The adjacent grid retrieval operation based on the ijk coordinate transformation is relatively simple. First, we use Algorithm 2 to convert the OHQS code to (i,j,k) coordinates. Second, we calculate the ijk coordinates of the six adjacent grids (i,j+1,k), (i+1,j+1,k), (i+1,j,k), (i+1,j,k+1), (i,j,k+1), and (i,j+1,k+1), as shown in . Last we use Algorithm 3 to convert the six ijk coordinates to codes.

Figure 10. Six adjacent grids in the center of the OHQS code

Figure 10. Six adjacent grids in the center of the OHQS code

3.3. Transformation between OHQS codes and geographic coordinate system

Although there are various storage formats, most existing spatial data are usually represented by geographic coordinates or projected coordinates. To facilitate the organization and expression of spatial data in the DGGS, it is necessary to construct the transformation between geographic coordinates and global discrete grid codes. Based on the characteristics of the OHQS encoding scheme, this paper designs and implements an efficient transformation algorithm between codes and geographic coordinates. The algorithm involves six coordinate systems: (1) OHQS codes that can be regarded as a one-dimensional coordinate system, (2) ij coordinate system, (3) ijk coordinate system, (4) IJK coordinate system, (5) two-dimensional cartesian coordinate system on the triangular surface of an icosahedron, and (6) geographic coordinate system. Compared with the ijk coordinate system, the ij coordinate system has one fewer coordinate axis. The origin point is located at the center of the origin hexagon, and the coordinate axes are aligned with the two sides of the origin hexagon. Each hexagonal grid can be uniquely determined by (i,j) coordinates which are integer values. illustrates the assignment of the coordinate address. The IJK coordinate system is different from the ijk coordinate system. show the IJK coordinate system. The coordinate value in the IJK coordinate system is the vertical projection of the lattice point on the coordinate axis, and can be negative. The units of the I, J, and K coordinate axes of the nth resolution are 12n|u|, 12n|v| and 12n|uv|. The IJK coordinates of each lattice point satisfy the following formula: (10) I+J+K=0(10) (11) (I+J×2)%3=0(11)

Figure 11. ij coordinate system

Figure 11. ij coordinate system

3.3.1 From codes to the geographic coordinate system

According to the grid code, we can calculate the geographic coordinates of the center point and six vertices of the grid where the code is located. Unlike the complex expansion of the HLQT, we directly implement the transformation from code to geographic coordinates through the ij coordinate system. This transformation algorithm can calculate the geographic coordinates of the center point. The other six vertices are identical. First, the OHQS codes are converted to the (i,j) coordinates, Second the (x,y) coordinates of the Cartesian coordinate system are obtained by the (i,j) coordinates. Last, the geographic coordinates (B,L) can be calculated by the Snyder equal-area projection. and Algorithm 5 show the transformation process from codes to geographic coordinates.

Figure 12. IJK coordinate system

Figure 12. IJK coordinate system

Figure 13. Transformation process from codes to geographic coordinates: (a) ij coordinate system, (b) Cartesian coordinate system, and (c) geographic coordinate system

Figure 13. Transformation process from codes to geographic coordinates: (a) ij coordinate system, (b) Cartesian coordinate system, and (c) geographic coordinate system

Algorithm 5:

CodeToCoordinate(code)

Input: One label a1a2....an

Output: Geographic coordinate (B,L) of the center point of the hexagonal cell

Step 1. Calculate (i,j). (12) (ij)=k=0n1{(2002)k.ω(ak+1)}(12) where n denotes the length of the label and the results of ω(ak+1) are given in .

Step 2. if 2×ji>2n:j=j2n;elseifij>2n:i=i+2n,j=j+2n;elseif2×ij>2n:i=i2n.

Step 3. Calculate (x,y). (13) (xy)=((12)n+1L033(12)n+1L33(12)nL)(ij)(13) where L denotes the length of the triangular surface of the icosahedron.

Step 4. (B,L) can be calculated by the Snyder equal-area projection.

3.3.2 From the geographic coordinate system to codes

If we obtain the geographic coordinate (B,L) of a point, the OHQS code at which the point is located can be obtained by a transformation algorithm. The HLQT uses the parallelogram rule to project the coordinates to two specific coordinate axes, calculates the corresponding component codes on the two axes, and then calculates the final code through component code addition. We realize the transformation from geographic coordinates to code through the mutual conversion of the IJK coordinate system, ij coordinate system and ijk coordinate system. First, the (B,L) coordinate is converted to the (x,y) coordinate by the inverse Snyder projection. Because there are errors in the direct process of converting the (x,y) coordinate to the (i,j) coordinate, second we introduce the IJK coordinate system to obtain the (i,j) coordinate. Last, we convert the (i,j) coordinate to the (i,j,k) coordinate, and the code α can be calculated by the coordinate transformation of Algorithm 3. and Algorithm 6 show the transformation process from geographic coordinates to codes.

Figure 14. Transformation process from geographic coordinates to codes: (a) geographic coordinate system, (b) Cartesian coordinate system, (c) ijk coordinate system

Figure 14. Transformation process from geographic coordinates to codes: (a) geographic coordinate system, (b) Cartesian coordinate system, (c) ijk coordinate system

Algorithm 6: CoordinateToCode(B, L)

Input: geographic coordinate (B,L) of one point.

Output: Code α of the hexagonal cell at resolution n, which contains the point.

Step 1. The geographic coordinate (B,L) is transformed to the (x,y) coordinate.

Step 2. Calculate the IJK coordinate as follows: (14) (IJK)=(3212013212)(xy)(14) Step 3. Calculate the IJK coordinate of the center point of possibly relevant hexagonal cells. A total of eight coordinates are stored in the array V[8][3]. (15) V[8][3]=[I/mJ/mK/mI/mJ/mK/mI/mJ/mK/mI/mJ/mK/mI/mJ/mK/mI/mJ/mK/mI/mJ/mK/mI/mJ/mK/m],m=(12)n+1L33(15) where L denotes the length of the triangular surface of an icosahedron, and m indicates the side length of the hexagon in resolution n.

Step 4. For i=0to8, if V[i][0]+V[i][1]+V[i][2]==0&&(V[i][0]+V[i][1]2)%3==0, then. (16) (ij)=(23131323)(V[i][0]V[i][1])(16) Step 5. Convert the (i,j) coordinate to the (i,j,k) coordinate and then use Algorithm 3 ijkToCode([n,(i,j,k)]) to calculate the OHQS code.

3.4. Spatial data modeling on a discrete global grid system

The organization and expression of spatial data is an essential key issue in processing and application, and it must be carried out in a specific digital space. Plane-based digital space and data expression methods have been significantly restricted in processing global or large-scale massive spatial data. It is urgent to establish an effective data expression method in a suitable digital space with characteristics such as uniformity and multiple scales. The hexagonal global discrete grid system is just an alternative form of spherical digital space. As previously mentioned, the OHQS code of the global discrete grid constructed in this paper implicitly expresses the spatial position. Additionally, the OHQS code carries information such as the scale and accuracy of the data and has the characteristics of multiresolution and the potential ability to process multiscale data. This part mainly addresses the construction of traditional spatial data (vector data and raster data) in the global discrete grid system.

Both raster data and discrete global grids are discretizations of space. Rectangular grids are employed in raster data to partition space on a plane, while regular polygons are utilized in discrete global grids to partition spherical space. It is necessary to establish a data conversion model from raster data to a discrete global grid. The first step is to determine the level of the hexagonal grid that corresponds to the raster data according to the resolution of the raster data and the area of the hexagon. shows the area of the hexagonal grid on different DGGS levels. Let initial area a=17,002,187.39080. The best level to raster data conversation is: (17) n=log4aRX×RY+1(17) where n denotes the best level for data conversation, and RX and RY denote the resolution of the raster data on the x axis and y axis, respectively.

Table 3. ω corresponds to different code cells

Table 4. ISEA4H attribute at different resolutions

There are three methods to resample raster values to DGGS grids: nearest-neighbor interpolation, bilinear interpolation, and bicubic interpolation. Compared with other methods, bilinear interpolation can guarantee higher interpolation accuracy and calculation efficiency (Ma et al. Citation2021). shows a schematic of the interpolation operation between pixels and hexagons.

Figure 15. Schematic of the interpolation operation

Figure 15. Schematic of the interpolation operation

For vector data, the best DGGS resolution to express the vector data can be selected according to the positional accuracy of the vector data. To sample the vector data into discrete global grid systems, as shown in , the Bresenham algorithm (Bresenham Citation1977) is used to implement a polyline vector data conversation. The scan line seed fill algorithm is employed to implement vector data conversation of a polygon. The value of the attribute of vector data is assigned to DGGS grids.

Figure 16. Data conversation diagram of vector data

Figure 16. Data conversation diagram of vector data

4. Results

Presently, the hexagonal DGGS encoding schemes that are most commonly utilized in research and applications are PYXIS, HQBS, and HLQT (Vince and Zheng Citation2009; Peterson Citation2011; Tong et al. Citation2013; Wang et al. Citation2018; Wang et al. Citation2019; Wang et al. Citation2021). Previous studies have demonstrated that the code addition efficiency of the HLQT is superior to that of the HQBS and PYXIS, and that the transformation efficiency of the HLQT is superior to that of HQBS. This paper compares the operation efficiency of the OHQS with that of the HLQT (Tong et al. Citation2013; Wang et al. Citation2018; Wang et al. Citation2021).

To verify the efficiency and advantages of the above algorithms, comparison experiments are designed to test the efficiency of the addition operation, adjacent cell retrieval, and transformation between the OHQS and the HLQT. The experiments are conducted on a desktop computer(operating system: Windows 7, hardware configuration: Intel Core i5-6500 [email protected] GHZ and 16.0 GB RAM.

4.1 Results and comparison of code addition and adjacent cell retrieval

4.1.1 Comparison of the lengths of different encodings

We compared the encoding lengths of the HLQT and OHQS at the same position. The comparison of different encoding results is shown in . Iαn and Jαn are OHQS codes, and Iβn and Jβn are HLQT codes. We compress the OHQS code to obtain the decimal code. By comparison, it can be determined that the OHQS encoding is relatively simpler, that there is no need to use commas to separate the first symbol, and that the OHQS encoding can also be converted to decimal code to further compress the encoding.

4.1.2 Comparison of the efficiency of code addition and adjacent cell retrieval

The efficiency of addition and adjacent cell retrieval in the DGGS is associated with the encoding scheme and calculation algorithm, encoding resolution, and number of code operations. We test three operations of the HLQT and OHQS based on induction and the OHQS based on the ijk coordinate. In the addition algorithm test, 100000 pairs of codes are randomly selected from each resolution to realize the calculation. In the adjacent cell retrieval operation, 100000 codes are randomly chosen to obtain the six adjacent codes. The calculation efficiency from resolutions 5–12 was tested ten times, and the unit is ms. The efficiency of addition and adjacent cell retrieval results between OHQS and HLQT are shown in and .

Figure 17. Comparison of the efficiency of addition and adjacent cell retrieval between the OHQS and the HLQT

Figure 17. Comparison of the efficiency of addition and adjacent cell retrieval between the OHQS and the HLQT

Table 5. Comparison of different encoding results

Table 6. Computation time for experiments (ms)

In the addition operation of the DGGS, the efficiency of the OHQS based on induction is higher than that of the HLQT, and the efficiency of the OHQS based on ijk transformation is much higher than that of both. As the resolution of the DGGS increases, the efficiency of the OHQS based on ijk transformation is affected the least, followed by that of the OHQS based on induction, while the impact on the HLQT rapidly increases. In the adjacent grid retrieval operation, the efficiency of OHQS based on ijk transformation is twice that of the OHQS based on induction and four times that of the HLQT. With an increase in the resolution of the DGGS, the efficiency of adjacent grid retrieval of the OHQS based on ijk transformation suffers the least, while the HLQT suffers the most. The adjacent grid retrieval operation is built on six code additions. The adjacent operation time of the HLQT is 4 times that of the addition operation, and the adjacent operation time of the OHQS based on ijk transformation and induction is 2.5 times that of the addition operation. The results are analyzed as follows.

  1. The HLQT constructs addition tables and addition rules by means of induction, which is not only cumbersome but also computationally complex. Although it is reduced from O(2N) to O(N2) through a series of methods, the operation efficiency is still slow. In this paper, we construct a code addition and adjacent grid retrieval algorithm based on the ijk coordinate transformation. In Algorithm 2 and Algorithm 3 of the mutual conversion between codes and ijk coordinates, each digit is only operated once, and the computational complexity is O(N), which greatly improves the efficiency of the OHQS code addition operation.

  2. Unlike the HLQT, the first symbol is not defined in this paper. The set E={0,1,2,3,4,5,6,10,20,30,40,50,60,100,200,300,400,500,600,106,601, 201,102,302,203,403,304,504,405,605,506,1000,2000,3000,4000,5000,6000} of the first symbol in the HLQT has a total of 37 symbols (Wang et al. Citation2019). Since there is no addition table built for some of these symbols, the HLQT builds complex rules to avoid its addition. Therefore, in the calculation of the first symbol, the method of counting the occurrences of the symbol cannot be utilized for optimization. With an increase in resolution, the calculation time of the first symbol also rapidly increases. Compared with the HLQT, the efficiency of the addition operation of the OHQS is greatly improved.

  3. The adjacent grid retrieval operation is realized by the addition of the code and the six adjacent codes of the central grid. Since the six adjacent codes of the central grid are simple, the efficiency of adjacent grid retrieval is high. However, the addition of the HLQT is greatly affected by the first symbol, so the efficiency is limited.

4.2 Transformation

The OHQS encoding scheme of the planar hexagonal grid system has been established and extended on the surface of the icosahedron. The ISEA4H DGGS was constructed by Snyder equal-area projection. shows the third and fourth levels of the ISEA4H DGGS extended from the OHQS planar hexagonal grid system to the sphere. For the OHQS DGGS, the transformation algorithm between geographic coordinates and codes was realized and compared with the HLQT encoding scheme.

Figure 18. Third and fourth levels of extension of the icosahedron from the planar hexagonal grids

Figure 18. Third and fourth levels of extension of the icosahedron from the planar hexagonal grids

4.2.1 Transformation between geographic coordinates and codes

An experiment is designed to test the transformation between geographic coordinates and codes. The geographic coordinate (B,L) was converted to codes in different DGGS resolutions. These codes obtained the geographic coordinates of the center point and six vertices of the hexagonal cells where the codes are located. These cells are displayed on the map. In this experiment, the center location of Beijing (39.9177N,116.4126E) was selected and transformed to codes from resolutions 5–12 in the OHQS. The results are shown in and .

Figure 19. Result of transformation from codes to geographic coordinates from resolutions 5–12

Figure 19. Result of transformation from codes to geographic coordinates from resolutions 5–12

Table 7. ISEA4H OHQS codes at different resolutions

4.2.2 Comparison of the efficiency of transformation between geographic coordinates and codes

In this experiment, 1000 codes are randomly selected from each resolution to calculate the geographic coordinates of the center point and six vertices of the hexagonal cells, and 10000 geographic coordinates are randomly chosen to obtain the codes in different resolutions. The transformation efficiency of the OHQS and HLQT from resolution 5–12 was tested ten times, and the unit is ms. A comparison of the efficiency of transformation between OHQS and HLQT is shown in and .

Figure 20. Comparison of the efficiency of transformation between the HLQT and the OHQS

Figure 20. Comparison of the efficiency of transformation between the HLQT and the OHQS

Table 8. Transformation time for experiments (ms)

The results show that the average efficiency of the OHQS from geographic coordinates to the code conversion algorithm is approximately 2 times that of the HLQT algorithm. As the resolutions increase, the efficiency of the OHQS remains basically the same. The conversion efficiency of the OHQS from codes to geographic coordinates is slightly higher than that of the HLQT, both of which are not greatly affected by the increase in resolution. The results are analyzed as follows:

  1. The transformation efficiency in this paper is less affected by resolutions, and the transformation from coordinates to codes remains roughly unchanged because only one step in the algorithm involves the operation of the resolution, such as step 1 of algorithm 2 and step 5 of algorithm 3.

  2. The HLQT uses the parallelogram rule to project the coordinates onto two specific coordinate axes. The corresponding component codes on the two axes are obtained, and the final code is calculated by the addition of component codes. The HLQT still implements the transformation by the addition operation. We directly realize the transformation from geographic coordinates to code through the mutual conversion of the IJK coordinate system, ij coordinate system and ijk coordinate system. A substantial increase in efficiency has been achieved.

  3. In the transformation from codes to geographic coordinates, the OHQS and HLQT are similar in efficiency, but the first symbol of the HLQT affects some computation time. Therefore, the transformation efficiency of the OHQS from code to geographic coordinates is slightly higher than that of the HLQT.

4.3 Multisource data fusion in the DGGS for rainstorm influences evaluation

Analyzing environmental processes such as hurricanes, wildfires, and rainstorms is ill-equipped for multisource geospatial data. DGGSs have been developed as a new solution for multisource spatial data processing and analysis. In this case, we use spatial data modeling on DGGSs to realize the fusion and analysis of multisource spatial data for the influence evaluation of the ‘Beijing 7.16’ rainstorm disaster. shows the process flow.

Figure 21. Schematic of the process flow of multisource data fusion on DGGS for rainstorm influence evaluation

Figure 21. Schematic of the process flow of multisource data fusion on DGGS for rainstorm influence evaluation

Figure 22. Distribution of rainstorm impacts in urban of Beijing on 16 and 17 July 2018

Figure 22. Distribution of rainstorm impacts in urban of Beijing on 16 and 17 July 2018

The multisource data are derived from analyzing the influences of the ‘Beijing 7.16’ rainstorm disaster. We obtained and processed social media data related to rainstorm disasters and extracted structured traffic impact information. In addition, there are elevation data, road network data, and climate data. Road condition information and public emotional information are point vector data; road network data is polyline vector data; and elevation data and average precipitation data of Beijing are raster data. We sampled all data into the 14th resolution grids using the method of spatial data modeling on a discrete global grid system. Next, a weight value is assigned to each influencing factor, and the comprehensive impact value of rainstorm disasters is calculated for each hexagonal grid. The natural breakpoint method is applied to divide each grid into five levels of rainstorm impact—highest risk, higher risk, moderate risk, lower risk and lowest risk—and the results are displayed. We effectively assessed the spatiotemporal distribution of rainstorm impacts in urban of Beijing on 16 and 17 July 2018, as shown in .

5. Conclusion

This study establishes the vector model of the aperture 4 hexagonal grid system, and designs the encoding scheme of an optimized hexagonal quadtree structure (OHQS) by translation transformation. Compared with the complex first symbol of the HLQT and the mixture of two types of encoding of the HQBS, the quadtree encoding in this paper is more concise. In the code addition and adjacent grid retrieval operations, in addition to constructing a set of addition rules based on induction, we also constructed a set of addition rules based on ijk coordinate transformation. The results show that the OHQS encoding operation is more efficient and that the encoding operation based on the ijk coordinate system is faster than the encoding operation based on the induction and addition table. We realize the transformation from geographic coordinates to codes through the mutual conversion of the IJK coordinate system, ij coordinate system and ijk coordinate system, which is twice as efficient as the transformation based on code addition. These findings can provide an alternative for other types of DGGS operations. In addition, we also employed OHQS to realize traditional spatial data modeling on the DGGS, which provided the basis for multisource data fusion and analysis, and realized the impact analysis of the ‘Beijing 7.16’ rainstorm disaster. This study provides solutions for the application of the DGGS to traditional spatial data.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Additional information

Funding

This work is supported by the Strategic Priority Research Program of Chinese Academy of Sciences [grant number XDA19020201].

References

  • Adams, Benjamin. 2017. “Wāhi, a Discrete Global Grid Gazetteer Built Using Linked Open Data.” International Journal of Digital Earth 10 (5): 490–503.
  • Alborzi, Houman, and Hanan Samet. 2000. Augmenting SAND with a Spherical Data Model. Paper presented at the first International conference on Discrete Global Grids. santa barbara, California, March.
  • Amiri, Ali Mahdavi, Faraz Bhojani, and Faramarz Samavati. 2013. One-to-two digital earth. Paper presented at the International Symposium on Visual Computing.
  • Amiri, Ali Mahdavi, Faramarz Samavati, and Perry Peterson. 2015. “Categorization and Conversions for Indexing Methods of Discrete Global Grid Systems.” ISPRS International Journal of Geo-Information 4 (1): 320–336.
  • Bauer-Marschallinger, Bernhard, Daniel Sabel, and Wolfgang Wagner. 2014. “Optimisation of Global Grids for High-Resolution Remote Sensing Data.” Computers & Geosciences 72: 84–93.
  • Ben, J., X. C. Tong, C. H. Zhou, and K. X. Zhang. 2015. “Construction Algorithm of Octahedron Based Hexagon Grid Systems.” J. Geo-Inf. Sci 6: 54–61.
  • Bresenham, Jack. 1977. “A Linear Algorithm for Incremental Digital Display of Circular Arcs.” Communications of the ACM 20 (2): 100–106.
  • Cheng, Yuqi, Le Yu, Yuanyuan Zhao, Yidi Xu, Kwame Hackman, Arthur P Cracknell, and Peng Gong. 2017. “Towards a Global oil Palm Sample Database: Design and Implications.” International Journal of Remote Sensing 38 (14): 4022–4032.
  • Craglia, Max, Kees de Bie, Davina Jackson, Martino Pesaresi, Gábor Remetey-Fülöpp, Changlin Wang, Alessandro Annoni, Ling Bian, Fred Campbell, and Manfred Ehlers. 2012. “Digital Earth 2020: Towards the Vision for the Next Decade.” International Journal of Digital Earth 5 (1): 4–21.
  • Dutton, Geoffrey. 1984. “Part 4: Mathematical, Algorithmic and Data Structure Issues: Geodesic Modelling of Planetary Relief.” Cartographica: The International Journal for Geographic Information and Geovisualization 21 (2-3): 188–207.
  • Dutton, Geoffrey. 1999. “Scale, Sinuosity, and Point Selection in Digital Line Generalization.” Cartography and Geographic Information Science 26 (1): 33–54.
  • Goodchild, Michael F. 2018. “Reimagining the History of GIS.” Annals of GIS 24 (1): 1–8.
  • Guo, Huadong. 2017. “Big Earth Data: A new Frontier in Earth and Information Sciences.” Big Earth Data 1 (1-2): 4–20.
  • Guo, Huadong, Zhen Liu, Hao Jiang, Changlin Wang, Jie Liu, and Dong Liang. 2017. “Big Earth Data: A new Challenge and Opportunity for Digital Earth’s Development.” International Journal of Digital Earth 10 (1): 1–12.
  • Guo, Huadong, Lizhe Wang, Chen Fang, and Liang Dong. 2014. “Scientific big Data and Digital Earth.” Chinese Science Bulletin 59 (35): 5066–5073.
  • Iii, Bartholdi, J. John, and Paul Goldsman. 2001. “Continuous Indexing of Hierarchical Subdivisions of the Globe.” International Journal of Geographical Information Science 15 (6): 489–522.
  • Jendryke, Michael, and Stephen C McClure. 2021. “Spatial Prediction of Sparse Events Using a Discrete Global Grid System; a Case Study of Hate Crimes in the USA.” International Journal of Digital Earth 14 (6): 1–17.
  • Jin, B., L. I. Yalu, C. H. Zhou, R. Wang, and D. U. Lingyu. 2018. “Algebraic Encoding Scheme for Aperture 3 Hexagonal Discrete Global Grid System.” SCIENCE CHINA Earth Sciences 61 (002): 215–227.
  • Kimerling, Jon A, Kevin Sahr, Denis White, and Lian Song. 1999. “Comparing Geometrical Properties of Global Grids.” Cartography and Geographic Information Science 26 (4): 271–288.
  • Li, Shuang, Guoliang Pu, Chengqi Cheng, and Bo Chen. 2019. “Method for Managing and Querying geo-Spatial Data Using a Grid-Code-Array Spatial Index.” Earth Science Informatics 12 (2): 173–181.
  • Li, M., E. Stefanakis, and H. Mcgrath. 2020. National Terrain Data Management on Discrete Global Grids in Canada. Paper presented at the AutoCarto2020.
  • Lin, Bingxian, Liangchen Zhou, Depeng Xu, A-Xing Zhu, and Guonian Lu. 2018. “A Discrete Global Grid System for Earth System Modeling.” International Journal of Geographical Information Science 32 (4): 711–737.
  • Ma, Yue, Guoqing Li, Xiaochuang Yao, Qianqian Cao, Long Zhao, Shuang Wang, and Lianchong Zhang. 2021. “A Precision Evaluation Index System for Remote Sensing Data Sampling Based on Hexagonal Discrete Grids.” ISPRS International Journal of Geo-Information 10 (3): 194–194.
  • Mahdavi-Amiri, Ali, Troy Alderson, and Faramarz Samavati. 2015. “A Survey of Digital Earth.” Computers & Graphics 53: 95–117.
  • Mocnik, Franz-Benjamin. 2019. “A Novel Identifier Scheme for the ISEA Aperture 3 Hexagon Discrete Global Grid System.” Cartography and Geographic Information Science 46 (3): 277–291.
  • Peterson, Perry.. 2011. "Close-packed uniformly adjacent, multiresolutional overlapping spatial data ordering." In.: U.S. Patent No. 8,018,458. 13 Sep. 2011.
  • Peterson, Perry R.. 2016. “Discrete Global grid systems.” International Encyclopedia of Geography: People, the Earth, Environment and Technology 2016: 1–10.
  • Purss, M., R. Gibb, F. Samavati, P. Peterson, J. Rogers, J. Ben, and C. Dow. 2017. Topic 21: Discrete Global Grid Systems Abstract Specification.” Open Geospatial Consortium: Wayland, MA, USA.
  • Robertson, Colin, Chiranjib Chaudhuri, Majid Hojati, and Steven A Roberts. 2020. “An Integrated Environmental Analytics System (IDEAS) Based on a DGGS.” ISPRS Journal of Photogrammetry and Remote Sensing 162: 214–228.
  • Sahr, Kevin. 2005. Discrete global grid systems: a new class of geospatial data structures.” University of Oregon.
  • Sahr, Kevin. 2008. “Location Coding on Icosahedral Aperture 3 Hexagon Discrete Global Grids.” Computers, Environment and Urban Systems 32 (3): 174–187.
  • Sahr, Kevin. 2011. “Hexagonal Discrete Global Grid Systems for Geospatial Computing.” Archiwum Fotogrametrii, Kartografii i Teledetekcji 22: 363–376.
  • Sahr, Kevin, Denis White, and A. Jon Kimerling. 2003. “Geodesic Discrete Global Grid Systems.” Cartography and Geographic Information Science 30 (2): 121–134.
  • Shuang, L. I., C. H. E. N. G. Chengqi, T. O. N. G. Xiaochong, C. H. E. N. Bo, and Z. H. A. I. Weixin. 2016. “A Study on Data Storage and Management for Massive Remote Sensing Data Based on Multi-Level Grid Model.” Acta Geodaetica Et Cartographica Sinica 45 (S1): 106–114.
  • Snyder, John P. 1992. “An Equal-Area map Projection for Polyhedral Globes.” Cartographica: The International Journal for Geographic Information and Geovisualization 29 (1): 10–21.
  • Tong, Xiaochong, Ben Jin, Wang Ying, Yongsheng Zhang, and Pei Tao. 2013. “Efficient Encoding and Spatial Operation Scheme for Aperture 4 Hexagonal Discrete Global Grid System.” International Journal of Geographical Information Science 27 (5-6): 898–921.
  • Vince, Andrew. 2006. “Indexing the Aperture 3 Hexagonal Discrete Global Grid.” Journal of Visual Communication and Image Representation 17 (6): 1227–1236.
  • Vince, Andrew, and Xiqiang Zheng. 2009. “Arithmetic and Fourier Transform for the PYXIS Multi-Resolution Digital Earth Model.” International Journal of Digital Earth 2 (1): 59–79.
  • Wang, R., J. Ben, L. Y. Du, J. B. Zhou, and Z. X. Li. 2019. The code operation scheme for the icosahedral aperture 4 hexagon grid system.” Geomat. Inf. Sci. Wuhan Univ.
  • Wang, R., J. Ben, J. B. Zhou, and M. Y. Zheng. 2021. “A Generic Encoding and Operation Scheme for Mixed Aperture Three and Four Hexagonal Discrete Global Grid Systems.” International Journal of Geographical Information Science 35 (3): 513–555.
  • Wang, Rui, Du Jin Ben, Jianbin Zhou, and Zhuxin Li. 2018. “Encoding and Operation for the Planar Aperture 4 Hexagon Grid System.” Acta Geodaetica Et Cartographica Sinica 47 (7): 1018–1025.
  • White, Denis. 2000. “Global Grids from Recursive Diamond Subdivisions of the Surface of an Octahedron or Icosahedron.” Environmental Monitoring and Assessment 64 (1): 93–103.
  • Yao, Xiaochuang, Guoqing Li, Junshi Xia, Jin Ben, Qianqian Cao, Long Zhao, Yue Ma, Lianchong Zhang, and Dehai Zhu. 2020. “Enabling the big Earth Observation Data via Cloud Computing and DGGS: Opportunities and Challenges.” Remote Sensing 12 (1): 83–83.
  • Zhao, Xuesheng, Jun Chen, and Zhilin Li. 2006. An Efficient Method for Transformation Between QTM Codes and Geographic Coordinates. Paper presented at the Geoinformatics 2006: GNSS and Integrated Geospatial Applications.
  • Zheng, Xiqiang. 2007. Efficient Fourier transforms on hexagonal arrays.” University of Florida.

Appendices

  1. For any n0 and PiPn, there exists a unique di{0,12iu,12iv,12i(uv)}, Pi=i=1ndi

Proof.

Pn=Pn1+12n1D =Pn2+12n2D+12n1D =P0+D+12D++12n2D+12n1D =P0+i=1n12i1D =P0+i=1n{0,12i1u,12i1v,12i1(uv)}For pnPn,pn=i=1ndi

  1. For the code in the lower right corner, the excess hexagonal grids can be expressed as: (4) RLn=(2n1+n1)un+n2vn;2n1n2>2,n1,n2Z#;(4)

The set of hexagonal grids in the upper left corner can be expressed as: (5) RLn=(2n1+n1)un+n2vn;2n1n2>2,n1,n2Z(5) u<=>un, v<=>vn, then RLn<=>RLn.

Proof.

We construct Pn and Pn as shown in the figure. The lattices on the red line in the lower right corner of Pn and Pn satisfy 2n1n22=0, and the lattices outside the red line satisfy 2n1n22>0. Therefore, RLn=u+n1un+n2vn=(2n1+n1)un+n2vn;2n1n2>2. Similarly, RLn=u+n1un+n2vn=(2n1+n1)un+n2vn;2n1n2>2. Pn<=>Pn, un<=>un, vn<=>vn, and then Ln<=>Ln.

3) Formula 9: (ijk)=r=1n{(200200002)nr+1φ(ar)}

Proof.

For the r-th digit ar in the OHQS code α=a1a2....an, if ar=1, the corresponding vector is 12r1v=2nr+1vn, and the corresponding value in the ijk coordinate system is (i,j,k)r=(0,2nr+1,0); if ar=2, the corresponding vector is 12r1(vu)=2nr+1(vnun), and the corresponding value in the ijk coordinate system is (i,j,k)r=(0,,0,2nr+1); if ar=3, the corresponding vector is 12r1u=2nr+1un, and the corresponding value in the ijk coordinate system is (i,j,k)r=(2nr+1,0,0). This result leads to (ijk)=r=1n{(i,j,k)r}=r=1n{(200200002)nr+1φ(ar)}