The rHEALPix DGGS is classified as quadrilateral because its planar projection consists of a square grid. Although the majority of planar squares are projected to quadrilateral cells, some are projected to circular or triangular cells. Although cell shapes vary, all cells have the same area regardless of shape, so processes such as statistically valid sampling are not affected. In addition, cells shapes do not vary randomly on the ellipsoid; their positions can be calculated, accounted for, and somewhat avoided. To understand how this impacts Canada, the rHEALPix projection must be explained.
The rHEALPix DGGS uses the equal area rHEALPix projection to convert planar squares to ellipsoidal cells using the associated projection equations (
Gibb et al. 2016). The rHEALPix projection is basically a rearrangement of the HEALPix projection, the mathematics for which can be found in
Calabretta and Roukema 2007. The details of the rearrangement and all projection equations can be found in
Gibb et al. 2016. This discussion will be based on the rHEALPix DGGS as described in
Gibb et al. 2016, in particular having a refinement of one-to-nine. The rHEALPix projection is comprised of two projections which form two regions: the Lambert cylindrical equal area projection in the equatorial region and the Collignon equal area projection in the polar region.
Somewhat unfortunately for Canada, the more user friendly and mathematically simpler equatorial region is defined by ∼ −41.9° ≤
ϕ ≤ ∼41.9°, where
ϕ is the geodetic latitude. This region adopts the Lambert cylindrical equal area projection, which has the convenient property of projecting parallels to horizontal lines and meridians to vertical lines. As a result, a square in the plane becomes a quadrangle on the earth, known as a quad cell (
Gibb et al. 2016;a quadrangle is an area bounded by two parallels and two meridians). This means all cells in the equatorial region are quad cells.
Figure 9a shows quad cells on the ellipsoid, and
Fig. 9b shows Madagascar covered by a uniform quad cell grid.
4.1. The polar region — implications for Canada
The polar region consists of the north polar region (
ϕ > ∼41.9°) and south polar region (
ϕ < ∼−41.9°). Because they are isomorphic (
Gibb et al. 2016) and Canada (almost entirely) lies in the north polar region, the discussion will be based there almost entirely, because Canada’s most southerly location is in Ontario just below the equatorial and polar region border (e.g., Pelee Island falls in the equatorial region). This is an important consideration if the area of interest is southern Ontario. Essentially though, all of Canada falls within the north polar region, so equatorial region characteristics are not applicable.
The north polar region is created by rotating four triangular Collignon projections from the HEALPix projection into a single square. As a result, parallels project to straight lines (and appear as concentric squares), and meridians project to straight lines heading poleward (
Fig. 8b). This representation is quite difficult to understand, and visually determining projection coordinates from geodetic coordinates is not an easy task. Although the mathematical formulas have been implemented in the Proj.4 library to carry out the conversion, this tool should be used with caution. Results can sometimes be unexpected and unfathomable without knowledge of the projection. Conversely, a square grid in the plane is projected to an ellipsoidal grid containing a variety of cell shapes. For refinement one-to-nine, there are three different cell shapes: the cap cell (circular), dart cell (triangular), and skew quad cell (quadrilateral) (
Fig. 10). Note, if refinement is even, then there are no cap cells (
Gibb et al. 2016).
The cap cell covers the pole and is the only circular cell. Its edge is a line of constant latitude with the cell centroid located at the pole. This cell is not a major concern for Canada, because as resolution increases, the parallel defining the cell boundary converges towards the pole (as the cell area decreases and the centroid remains at the pole). Although Canada’s northern boundary reaches high into the arctic, the likelihood of encountering the cap cell decreases with every increase in resolution, as shown in
Fig. 11.
Triangular dart cells are formed where the edges of each of the four Collignon projections meet. The southern edge of a dart cell is a line of constant latitude and north–east and north–west edges converge poleward to a point (
Gibb et al. 2016). Furthermore, dart cells are aligned along four meridians and bounded by two parallels: the parallel that defines the cap cell and the parallel that defines the equatorial and polar region border. This divides the north polar region into four quadrants spanning 90°. Because Canada has a large east–west extent that approaches 90° in longitude, dart cells are unavoidable when considering the whole country (although they can be positioned at the east and west edges of Canada, see
Fig. 12). However, if smaller features are of interest such as the province of New Brunswick, dart cells can be avoided entirely.
The remaining cells in the north polar region are skew-quad cells. Skew-quad cells have four edges with the north and south edges aligned with parallels. In addition and only for skew quad cells, cell orientation changes with longitude through a quadrant (
Fig. 12). Consequently, cells initially having a north–west slant gradually rotate clockwise to a north–east slant. Similar to dart cells, this effect is unavoidable if considering the whole country but can be reduced over smaller areas.
It has been established that a country the size of Canada in the polar region will have issues with varying cell shape and cell orientation. However, smaller areas can escape some of these issues, but how is this achieved? The answer lies in the versatility of the rHEALPix projection.
4.2. Versatility of the rHEALPix projection
An important advantage of the rHEALPix projection is its versatility, which means it can be rotated and altered to meet user needs. To tailor the rHEALPix projection to Canada, or any country in fact, it is possible to alter the rHEALPix projection in two ways. Firstly, the north polar square and south polar square can each be positioned in four different locations. Secondly, the projection image of the ellipsoid can be rotated by shifting the position of the prime meridian (0° longitude), see
Gibb 2016.
By rearranging the north polar square,
n, and south polar square,
s, into four different locations, it is possible to create 16 different views of the projection. For example,
Fig. 13 shows the (
n,
s) = (0,0) and (
n,
s) = (1,3) positions. Choosing a view is not a difficult task because the mathematics behind the projection enables the positions to be easily defined. The main advantage of this is that it allows the projection to be rearranged to enable a better view of a chosen area (
Gibb 2016).
The process of shifting the prime meridian simply involves adding the desired offset to all longitudinal values. This results in rotating the grid cells longitudinally around the ellipsoid. With regards to the polar region, this has two key benefits. Firstly, dart cells can be avoided because the four meridians on which they lie can be selected arbitrarily. Although the four meridians will always have a 90° separation, the positions of the meridians can be rotated to any location. Consequently, dart cells can be avoided for any area with a longitudinal extent less than approximately 90°. Because Canada has a longitudinal extent of approximately 90°, dart cells can almost be avoided by shifting the prime meridian to 50° W. This aligns the dart cells with the 50° W and 140° W meridians, as shown in
Fig. 14.
Secondly, skew quad cells with angled orientations can be avoided or even exploited. This is an interesting feature because it provides some flexibility to choose cell orientation over a given area. For example, if an area is north–south aligned such as New Brunswick, skew quad cells having the same orientation can be used and a grid resembling the quad cell grid of the equatorial region can be achieved.
Figure 15 shows a skew quad cell grid over New Brunswick at various resolutions where the prime meridian has been shifted to 21° W. However, if an area has an angled orientation such as Cape Breton, Nova Scotia, the grid can be rotated so that angled skew quad cells with similar orientation are used instead, see
Fig. 16 where the prime meridian has been shifted to 50° W. Notably, this characteristic only applies for a specific range of orientations. The most angled skew quad cells are adjacent to dart cells and have orientations of approximately N 30° E and N 30° W. Therefore, using angled skew quad cells is most suited to areas having an orientation in this 60° range.
With regards to the equatorial region, shifting the prime meridian rotates the grid so that quad cells can be more aligned with a given area. However, because quad cells are always aligned with parallels and meridians, shifting the prime meridian does not affect cell orientation.