Skip to the content

Chikyu Earth地球

A line-drawn globe of the world's countries that turns at the Earth's own rate, with an optional realistic Earth from space and markers for any place.

Chikyu is the Japanese word 地球 for the Earth. About the name

Contents

Reference · Satellites: orbital elements in, positions out

Neighbourtype

One satellite and how near it is. angle is degrees, for by: "sky". distance is kilometres, for by: "space".

Import it

import type { Neighbour } from "@johnmorrisdotca/chikyu-earth/satellites";

Definition

interface Neighbour {
    index: number;
    name: string;
    noradId: number;
    angle?: number;
    distance?: {
        kilometres: number;
        uncertaintyKm: number;
        unit: "km";
    };
}

Members

NameTypeDescription
indexnumber
namestring
noradIdnumber
angle (optional)number | undefined

Degrees, when asked by: "sky".

distance (optional){ kilometres: number; uncertaintyKm: number; unit: "km"; } | undefined

Kilometres, when asked by: "space".

Examples

import type { Neighbour } from "@johnmorrisdotca/chikyu-earth/satellites";

const one: Neighbour = { index: 0, name: "ISS (ZARYA)", noradId: 25544, distance: { kilometres: 420, uncertaintyKm: 1, unit: "km" } };
console.log(one.distance?.unit);
km

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chikyu-earth 0.51.1.