Base Angle & Shape
On the sinusoidal plane every ITACaRT cell is the same parallelogram, and its acute angle is exactly forty-five degrees. On the ellipsoid it is not. The base angle is what that forty-five degrees becomes once the cell is carried to the curved surface, and it is measured rather than predicted.
import itacart
from itacart import metrics
[(f"NE({x:04d}/0000)", round(metrics.cell_base_angle(f"NE({x:04d}/0000)"), 6))
for x in (1, 500, 1000, 2000)]
[('NE(0001/0000)', 45.000035),
('NE(0500/0000)', 45.017729),
('NE(1000/0000)', 45.03547),
('NE(2000/0000)', 45.070984)]
Along the equator the angle stays close to forty-five, drifting by about seven hundredths of a degree across two thousand columns. Away from it the drift is not small:
[(f"NE(0100/{y:04d})", round(metrics.cell_base_angle(f"NE(0100/{y:04d})"), 6))
for y in (0, 100, 300, 600, 900)]
[('NE(0100/0000)', 45.003545),
('NE(0100/0100)', 45.730809),
('NE(0100/0300)', 47.406155),
('NE(0100/0600)', 51.937956),
('NE(0100/0900)', 89.426479)]
What is being measured, and between what
The angle is taken at the anchor, between two lines, and neither choice is arbitrary.
One arm is the parallel — its due-east-and-due-west tangent at the anchor. A parallel is not a geodesic, and that matters: reading the base as a geodesic chord instead biases the result by half the convergence of the meridians across the base. The bias is zero at the equator, where a parallel is a geodesic, and grows with latitude — about 0.023 degree at row 300 and 0.284 at row 900, where it is the entire difference between 89.426479 and 89.710055.
The other arm is the geodesic from the anchor to the corner the shear displaces. That corner is identifiable in a parallelogram, a triangle and a trapezoid alike, in the cell’s own frame. Which way a cell leans is read from the side of the prime meridian its anchor lies on, and not from its quadrant code: the western half of a meridian triangle, and of a polar cap, is spelled under an eastern code and leans the western way.
[(c, itacart.cell_shape(c), round(metrics.cell_base_angle(c), 6))
for c in ("NE(0000/0900(2))", "NE(0000/0900(3))", "NE(0000/0900(1))")]
[('NE(0000/0900(2))', 'parallelogram', 45.21272),
('NE(0000/0900(3))', 'parallelogram', 45.21272),
('NE(0000/0900(1))', 'triangle', 0.0)]
The two halves of a meridian triangle’s children are mirror images and lean by the same angle; the triangle among them answers zero, because its leaning corner is the far end of its own base. So the metric is defined for every cell, at every resolution down to the centimetre, and it is zero on a triangle and nowhere else:
sao_paulo = [itacart.geo_to_cell(-46.6328862, -23.5508962, resolution=r) for r in (9, 11, 13)]
[round(metrics.cell_base_angle(c), 6) for c in sao_paulo]
[55.988672, 55.98867, 55.988672]
Below a centimetre-scale cell the last decimals are the rounding of coordinates written in degrees, not the cell.
It is a function of lattice position
The base angle is not determined by latitude alone. ITACaRT is constructed on the ellipsoid, so the angle follows the cell’s position in the ellipsoidal lattice.
Two cells at the same latitude in different columns do not share an angle:
[(c, round(metrics.cell_base_angle(c), 6))
for c in ("NE(0100/0374)", "NE(1400/0374)", "SE(1400/0374)")]
[('NE(0100/0374)', 48.180895),
('NE(1400/0374)', 115.118783),
('SE(1400/0374)', 115.118783)]
The two northeastern cells sit on the same row and differ by more than sixty degrees. Their longitudinal positions in the lattice are different, so equal latitude does not imply equal shape.
The southeastern cell mirrors its northern counterpart and has the same angle. This is a consequence of the symmetry of the ITACaRT construction across the equator.
cell_base_angle therefore evaluates the geometry of the cell
itself rather than treating latitude as a lookup variable.
docs/_static/f4/f4_18_base_crossover.png
Figure 8 of the paper: the distortion near the prime meridian and away
from it, at same quadrant observed (a) in proximity to the prime
meridian within the Italian Peninsula, (b) at mid-latitudes and
mid-longitudes in the East China Sea, and (c) at high latitudes
and longitudes in the Kamchatka Peninsula.
docs/_static/fpaper/fpaper_08_angular_distortion.png
Why the shape is allowed to vary
A grid could insist on a constant angle and pay for it in area. ITACaRT insists on area and pays for it in angle. Shape distortion changes what a cell looks like; area distortion would change what a cell is worth, and in cadastral work the second is the one with consequences.
So the lean is a measured property of each cell, the equal-area guarantee is the invariant, and Equal Area is where that ordering is argued.