itacart.boundary.extension_zone_for_point

itacart.boundary.extension_zone_for_point(lon, lat)[source]

Which extension zone contains a geodetic position, if any.

The point-level counterpart of extension_zone(), called during quantization before any cell exists. What quantization needs from it is which meridian bounds the quadrant the position falls in, so the zone is read as the region it governs: the latitude band, on the hemisphere the zone belongs to, out to the longitude the extension reaches.

Rejected: restricting the zone to the strip between the antemeridian and the extension limit. That is the literal reading of the shaded box in Figure 5, and it leaves most of Viti Levu outside the zone named after Fiji – which cannot be the intent of a rule written to bring those islands into a single quadrant.

Parameters:
  • lon (float) – Longitude in decimal degrees.

  • lat (float) – Latitude in decimal degrees.

Return type:

Optional[Literal['FIJI', 'CHUKOTKA']]

Returns:

The zone name, or None outside both zones.