Skip to main content

Map projection families 🧪

From v5.0Status: Experimental

Map projections differ in how they construct coordinates, what geometric properties they preserve, and how their geographic domains are cut and arranged. Choose a mathematical construction and a layout separately; implementation sources are credited in References and attribution.

For definitions of surface models, paths, reference systems, and distortion properties, see Geospatial terminology.

Mathematical families​

A projection is a map from a curved surface to a plane. Its family describes how it constructs coordinates; its distortion properties describe what it preserves. Its layout describes where pieces are joined, cut, or moved. These are separate choices: an equal-area formula can be interrupted, and a polyhedral net can use conformal, equal-area, or gnomonic face projections.

Cylindrical and pseudocylindrical maps​

In a normal cylindrical projection, meridians are parallel straight lines and parallels are perpendicular straight lines. Coordinates have the form x = A λ, y = f(φ), where λ is longitude relative to the central meridian, φ is latitude, and A is a scale factor. The latitude function determines the distortion: Mercator is conformal, cylindrical equal-area preserves area, and Miller is a compromise. Cylindrical geometry does not imply equal-area behavior.

Pseudocylindrical projections keep straight, parallel parallels but allow curved meridians. A common form is x = λ g(φ), y = h(φ). Sinusoidal uses x = R λ cos(φ), y = R φ, preserving spherical area. Mollweide, the Eckert series, and Robinson offer other boundary shapes and distortion distributions; not every member is equal-area. Goode homolosine joins sinusoidal and Mollweide regions along selected parallels. Interrupting those formulas is a further layout choice, not a different mathematical family.

Conic, pseudoconic, and polyconic maps​

Normal conic projections arrange meridians as rays and parallels as concentric circular arcs. Albers equal-area conic chooses their spacing to preserve area; standard parallels control the distribution of scale distortion. Albers USA uses separate regional projections and placements to form a composite map.

Pseudoconic constructions, such as Bonne, allow curved meridians while retaining circular parallels. Polyconic constructions use parallel arcs with varying centers or radii rather than one common cone. These constructions describe the grid's geometry, not a universal area or angle guarantee.

Azimuthal and perspective maps​

A normal azimuthal construction places a point using its angular distance c and azimuth θ from a chosen center: x = ρ(c) sin(θ), y = ρ(c) cos(θ). The radial function determines the metric property. For example, stereographic uses ρ(c) = 2R tan(c/2) and is conformal. A finite-distance satellite projection comes from perspective rays; its visible horizon limits the geographic domain. Clipping to a cap is a domain restriction, not an independent projection family. Tilting a perspective view changes its symmetry and horizon geometry.

Conformal and equal-area constructions on bounded domains​

Conformal maps preserve local angles away from singularities. Modified stereographic maps apply a complex polynomial to stereographic coordinates to control regional distortion; folds or critical points can limit invertibility. Peirce quincuncial and Guyou use elliptic-function constructions to obtain square or rectangular layouts. Gringorten provides an equal-area square construction. A square outline alone therefore says nothing about whether a map preserves angles or area.

Control-point and retroazimuthal maps​

Some projections impose conditions relative to selected geographic points rather than a single central axis. Two-point equidistant maps preserve distances from two control points; Chamberlin balances distance information from three control points. Retroazimuthal constructions preserve the bearing from mapped locations toward a reference location. These constraints differ from preserving directions from the center of an azimuthal map, and can require cuts or restricted domains.

Polyhedral and myriahedral maps​

A polyhedral construction partitions the sphere into face domains, projects each domain into a plane, and places the faces in a net. Face projection and net selection are independent: gnomonic faces map great-circle arcs to straight lines, while Snyder's face equations preserve area. Choosing different cut edges changes the net without changing the face equations.

Myriahedral maps use many small faces and a cut/hinge graph. Subdivision controls the approximation to the sphere; cut selection determines connectivity; rigid hinge rotations determine unfolding. An unfolding animation does not by itself make the face projection conformal or equal-area.

Cuts, joins, and placement​

LayoutMathematical constructionExamples
InterruptedDivide the geographic domain into lobes, usually with separate central meridians; retain open cuts between selected boundariesInterrupted sinusoidal, Mollweide, Goode homolosine, Boggs, Sinu-Mollweide
Segmented with continuous joinsUse several coordinate charts whose boundary images coincide along selected edgesQuincuncial layouts; the equatorial and polar zones of HEALPix
Star-shapedJoin radial sectors to a central region while leaving cuts between outer sectorsBerghaus and Gingery
Composite with insetsProject geographic regions separately, then translate and scale their planar imagesAlbers USA and its state and territory insets
Polyhedral netGlue selected face edges and cut the others; the retained adjacency determines the netButterfly, Waterman, AirOcean, Snyder nets

A layout can belong to several rows. A polyhedral net is segmented and usually interrupted; a star can remain connected despite its cuts. Insets at different scales do not preserve a single global area scale, even when their regional formulas are equal-area. For seam semantics and supported layouts, see discontinuous maps.

The formulas above use radians and sphere radius R; the public API accepts longitude and latitude in degrees. For cartographic classification and further reading, see NASA GISS's projection reference and Snyder and Voxland's An Album of Map Projections.

Catalog API​

From v5.0 · Experimental
  • MapProjection: the union of catalog names.
  • MAP_PROJECTIONS: the frozen, readonly list of those names.
  • ProjectionMapOptions: {projection: MapProjection, radius?: number}.
  • createProjectionMap(options): returns a lower-level DiscontinuousMap.
  • MapDefinition: {type: 'projection', projection: MapProjection} selects the same preset in MapEngine; output scale comes from MapDescription.radius.

Inputs are spherical longitude/latitude in degrees. Outputs use north-positive y and a positive radius scale, not D3's pixel translation, screen-y reflection, .center() or .angle() display settings. Use fit() for display placement. Polyhedral nets may differ by a rigid planar orientation; HEALPix retains math.gl's radian-based scale. These do not change geographic coverage or shape.

Catalog names use lowercase hyphenated names: natural-earth2, van-der-grinten3, modified-stereographic-alaska, two-point-equidistant-usa, and so on. The three polyhedral names are butterfly, collignon-butterfly, and waterman. See world maps for the 64 ordinary formula names.

API selection and configuration​

API groupingNamed presetsConfiguration / limits
Ordinary world formulas64, including Aitoff, Bertin 1953, Eckert I–VI, Gilbert, rectangular Gringorten, Hammer, Hufnagel, Hyperelliptical, Robinson and Wagner variantscreateWorldMap / type: 'world' exposes formula parameters and a central meridian. These are spherical formulas, separate from the scalar ellipsoidal CRS API.
Regional cap-clipped mapsairy, craig, littrow, satelliteThe cap applies to points, lines, polygons, picking and layout. A satellite's back hemisphere is excluded.
Modified stereographicmodified-stereographic-alaska, modified-stereographic-gs48, modified-stereographic-gs50, modified-stereographic-miller, modified-stereographic-leePreset geographic aspects and regional caps. GS50 can fold near the edge of its cap; inverse positions need not recover the original branch there.
Control-point mapschamberlin-africa, two-point-azimuthal-usa, two-point-equidistant-usaGeneric control-point versions are available through createRegionalMap.
Specialized domainsarmadillo, hammer-retroazimuthal, wiechelArmadillo clips its curved visible domain. Hammer retains separate sides of its hemisphere cuts.
Interrupted mapsinterrupted-sinusoidal, interrupted-mollweide, interrupted-homolosine, interrupted-boggs, interrupted-sinu-mollweide, interrupted-quartic-authalic, interrupted-mollweide-hemispheresPresets specify lobe layouts and geographic aspects. Sinu-Mollweide cuts begin at 35° N and 10° S in its oblique frame. Older direct interrupted-* definitions retain their documented layouts for compatibility.
Segmented and star mapsguyou, peirce-quincuncial, gringorten-quincuncial, berghaus, gingery, healpixCatalog quincuncials use polar aspects and Gingery an oblique aspect; direct definitions retain their equatorial aspects.
Elastic sampled mapsElastic I, II, III, or caller-supplied regular coordinate tablesSeparate optional datasets and type: 'elastic'. Bilinear interpolation, section clipping, inverse picking; no optimizer. See Elastic maps.
Polyhedral mapsbutterfly, collignon-butterfly, watermanDefault nets. Exact Gray–Fuller, Petroff, Snyder and myriahedral maps remain available through their existing MapEngine definitions.

For custom maps, use configurable interruptions, custom charts, or myriahedral meshes. Arbitrary per-lobe interruption latitudes are not supported. Rendering requires the returned region-local geometry; ordinary deck.gl geographic layers do not automatically follow these layouts.

Regional API​

From v5.0 · Experimental

createRegionalMap(options) and {type: 'regional', ...options} expose regional configuration. RegionalProjection, RegionalMapOptions, and the readonly REGIONAL_PROJECTIONS preset list are exported from @math.gl/geospatial/maps. The engine takes radius from its description; the lower-level factory accepts radius directly. Unsupported option keys and invalid values throw.

ProjectionOptions
airybeta: 90 degrees, strictly between 0 and 180; this corresponds to D3's Airy radius accessor, not output radius. Optional center: [longitude, latitude].
craigparallel: 0, strictly between −90 and 90; optional center. The exact horizon is not uniquely invertible.
littrowOptional center; cap 89.999°. Distortion grows sharply near the horizon.
satellitedistance: 2 in Earth radii, greater than 1; tilt: 0 degrees; optional center. Tilt is restricted to keep the horizon away from the camera plane.
armadilloparallel: 20, strictly between 0 and 90°.
hammer-retroazimuthalparallel: 45, strictly between −90 and 90°.
modified-stereographicRequired coefficients: [[real, imaginary], ...], 1–32 finite pairs; optional center; cap 90°. Arbitrary polynomials may fold.
chamberlinRequired three distinct, nondegenerate controlPoints, in longitude/latitude degrees; cap 90°.
two-point-azimuthalRequired two distinct, non-antipodal controlPoints; finite cap 89.999°.
two-point-equidistantRequired two distinct, non-antipodal controlPoints; cap 90°.

Named regional presets retain their native parameters and control frames. Use the generic variants when configuring coefficients or control points. An inverse returns valid chart candidates, not a guarantee of a globally one-to-one formula. At collapsed horizons or polynomial folds, a candidate can differ from the original source. Preserve sourceCoordinates for rendering and animation.

Geometry and numerical limits​

Edges are minor great-circle arcs. Polygon inputs must fit an open hemisphere; split larger polygons first. Clipped horizon curves are sampled, and returned polygons stay closed with matching source coordinates. Sampling has a bounded work limit; an impractically tight tolerance throws instead of running indefinitely. Some formulas stretch a geographic pole into an edge: retain directional polar longitude and draw the returned pieces independently.

DiscontinuousMap.getRegionOutlines(regionId, sampling?) returns sampled visible coverage rings or edge parts for that chart. Layout fitting uses it so regional caps contribute their actual outline rather than an unclipped computational triangle. This projection is experimental.

References and attribution​

Many of these implementations build on Mike Bostock and the D3 contributors' d3-geo-projection 4.0.0. Its illustrated reference and historical bibliography and interactive projection notebooks are valuable companions to this documentation. Credit for those implementations is separate from credit for the cartographers who developed the projections.

ComponentSource, contribution, and attribution
Continuous world and regional numerical kernelsAdapted from d3-geo-projection's source, by Mike Bostock and contributors, under ISC. The file-level kernel inventory retains individual author comments; its modification notes cover every adapted kernel, coefficient table, and numerical helper.
Interrupted lobe definitionsD3's interrupted implementations supply reference lobe layouts and geographic aspects for sinusoidal, Mollweide, homolosine, Boggs, Sinu-Mollweide, quartic authalic, and Mollweide hemispheres. math.gl supplies its own chart, seam, and geometry interfaces.
Quincuncial, rectangular, and star layoutsD3's quincuncial construction, Guyou, Gringorten, Berghaus, and Gingery implementations provide adapted numerical and layout work, under ISC.
Butterfly, Collignon butterfly, and Waterman netsAdapted from D3's polyhedral implementations, under ISC. See the historical and mathematical credits for the underlying projections and polyhedra.
AirOcean topology and Gray–Fuller referenced3-geo-polygon contributors supply ISC-licensed AirOcean topology and orientation. Robert W. Gray's face equations, also published by Philippe Rivière in the Gray–Fuller source, are implemented independently; d3-geo-polygon 2.0.1 supplies reference fixtures.
Spherical cap clippingAdapted from d3-geo 3.1.1, by Mike Bostock and contributors, under ISC. math.gl adds bounded curve sampling, source correspondence, chart trimming, regional outlines, and inverse safeguards; see the clipping inventory and modifications.
Hyperelliptical numerical integrationRicky Reusser's adaptive Simpson integration, incorporated through d3-geo-projection, retains its MIT attribution and license.
Independent HEALPix implementationM. R. Calabretta's HEALPix equations are the mathematical source. D3's HEALPix implementation supplies independent numerical reference values.

The packaged third-party inventory links the retained licenses, source headers, and modification records. There is no D3 runtime dependency. Reference fixtures evaluate separate, version-pinned upstream installations; tests cover forward coordinates, geographic aspects, coverage, inverse residuals, cuts, poles, clipping, and renderer meshes. This is numerical validation, not a claim of interchangeable streaming or display APIs.

For Petroff, Snyder, and myriahedral maps, see the additional mathematical sources and implementation credits and myriahedral background. Nico Belmonte is credited for his influential demonstration; his application code is not incorporated.

See Attributions for the project-wide source inventory and acknowledgments.

References

  1. John P. Snyder, Philip M. Voxland (1989). An album of map projections. Professional Paper. doi:10.3133/pp1453 Source
  2. M. R. Calabretta (2004). Mapping on the HEALPix grid. Source