Search documentation

Search all pages, headings and text, in the current package or topic or in all documentation.

World collection

The optional world-50m collection - Natural Earth countries, loaded on demand, its keys, rights and boundary policy.

@workspace/active-geo 0.4.0Developmentunreleased, in development in Foundationbaseline ce081dc3

The package carries no geography by default. One optional collection has its own entry:

TypeScript
import {  loadWorld50m,  world50m,} from '@workspace/active-geo/collections/world-50m';
const features = await loadWorld50m(); // 242 areas, loaded on this call

Countries coloured by a measureClient

Loading the map…

  • Content: Natural Earth Admin 0 – Countries at 1:50m, theme version 5.1.1 (release v5.1.2), 242 areas keyed by ADM0_A3 (a string). Join your records by that key; ISO codes are attributes, not keys.
  • Loading: world50m (the metadata) loads no geometry; loadWorld50m() imports a separate chunk on its first call. No network request leaves your host.
  • Rights: Natural Earth is in the public domain; crediting is optional. world50m.attribution is the suggested credit for GeoMap's attribution, as the examples on this site show.
  • Boundaries: Natural Earth's default de facto representation; a cartographic representation that takes no position on sovereignty.

The provenance of the collection (source, version, hashes, transformation) is in world50m itself. The geometry is generated by the package's own build script and pinned by its SHA-256; it is never edited by hand.

This page as Markdown