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 · The data door: hand the package your own maps of the Earth or orbit data as a source with its own licence and credit, and see whose data is on the screen

elementsFromfunction

A source of element sets read from an address of your choosing, with whose data it is. The address is read through fetchElements, so its politeness rules apply (one request in two hours, a refusal is left alone for an hour, nothing at rest); the sets are read once, when the source is added. The package has no address of its own and never asks one by itself.

Import it

import { elementsFrom } from "@johnmorrisdotca/chikyu-earth/door";

Definition

function elementsFrom(url: string, info: SourceInfo, options?: FetchElementsOptions): ElementRecordSource

Parameters

NameTypeDescription
urlstring

The address of OMM JSON, OMM CSV or TLE text.

infoSourceInfo

Who the data is: its id, credit, licence and page.

options (optional)FetchElementsOptions

What fetchElements takes.

Returns

ElementRecordSource

The source, for addSource or sources.

Examples

import { elementsFrom } from "@johnmorrisdotca/chikyu-earth/door";

const mine = elementsFrom("https://example.org/elements/bright.json", {
  id: "my-elements",
  name: { en: "My elements", ja: "私の軌道要素" },
  credit: { en: "Orbit data: my own mirror", ja: "軌道データ:私のミラー" },
  licence: { name: "CC BY 4.0", url: "https://creativecommons.org/licenses/by/4.0/" },
  url: "https://example.org/elements/",
  retrieved: "2026-11-11",
});
console.log(mine.info.id);

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