Expand description
Shared latitude/longitude coordinate parsing.
Enums§
- Coordinate
Error - Errors produced while parsing a JSON coordinate pair.
Functions§
- coordinate_
to_ json - Convert one validated coordinate to canonical
[lat,lon]JSON. - coordinates_
to_ json - Convert coordinates to their canonical JSON array representation.
- parse_
coordinate - Parse one JSON
[lat,lon]pair with finite and range checks. - validate_
coordinate - Validate a latitude/longitude pair parsed from a compatible string format.
Type Aliases§
- Coordinate
- A coordinate in API order: latitude, then longitude.