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

packedElementsFromfunction

A source of element sets read from a packed catalogue file (packCatalogue, gzipped or not) at an address you choose: up to 200,000 objects, six-digit catalogue numbers included. The file is asked for once, when the source is added, and nowhere else: no cookies and no referrer are sent, only https (or http on localhost) is used, a redirect or any answer but 200 is a failed read, and an answer over maxBytes is refused. Nothing is kept between page loads and nothing is asked on a timer. The package has no address of its own; a site that hosts these files says whose data they are in info.

Import it

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

Definition

function packedElementsFrom(url: string, info: SourceInfo, options?: PackedElementsOptions): ElementRecordSource

Parameters

NameTypeDescription
urlstring

The address of a packed file.

infoSourceInfo

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

options (optional)PackedElementsOptions

See PackedElementsOptions.

Returns

ElementRecordSource

The source, for addSource or sources.

Examples

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

const debris = packedElementsFrom("https://example.org/catalogue/debris.pack.gz", {
  id: "catalogue-debris",
  name: { en: "Debris in Earth orbit", ja: "地球周回軌道のデブリ" },
  credit: { en: "Data from Space-Track.org (USSPACECOM)", ja: "データ:Space-Track.org(USSPACECOM)" },
  licence: { name: "Space-Track basic SSA data, with citation", url: "https://www.space-track.org/documentation" },
  url: "https://www.space-track.org",
  retrieved: "2026-11-11",
});
console.log(debris.info.id);

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