d3.geoRobinsonRaw

d3.geoRobinson() d3.geoRobinsonRaw The Robinson projection.

d3.geoRectangularPolyconic()

d3.geoRectangularPolyconic() d3.geoRectangularPolyconicRaw(phi0) The rectangular (War Office) polyconic projection.

d3.geoProjectionMutator()

d3.geoProjectionMutator(factory) Constructs a new projection from the specified raw projection factory and returns a mutate function to call whenever the raw projection changes. The factory must return a raw projection. The returned mutate function returns the wrapped projection. For example, a conic projection typically has two configurable parallels. A suitable factory function, such as d3.geoConicEqualAreaRaw, would have the form: // y0 and y1 represent two parallels function conicFactory(

d3.geoProjection()

d3.geoProjection(project) Constructs a new projection from the specified raw projection, project. The project function takes the longitude and latitude of a given point in radians, often referred to as lambda (λ) and phi (φ), and returns a two-element array [x, y] representing its unit projection. The project function does not need to scale or translate the point, as these are applied automatically by projection.scale, projection.translate, and projection.center. Likewise, the project functio

d3.geoQuantize()

d3.geoQuantize(object, digits) Quantizes the specified GeoJSON object, modifying it in-place, rounding x and y coordinates according to number.toFixed. Typically this is done after projecting. See also geoproject --precision and geo2svg --precision.

d3.geoPolyhedralCollignon()

d3.geoPolyhedralCollignon() The Collignon butterfly projection.

d3.geoPolyhedralButterfly()

d3.geoPolyhedralButterfly() The gnomonic butterfly projection.

d3.geoPolyhedralWaterman()

d3.geoPolyhedralWaterman() Steve Waterman’s butterfly projection.

geoproject

geoproject [options…] projection [file] Projects the GeoJSON object in the specified input file using the specified projection, outputting a new GeoJSON object with projected coordinates. For example, to project standard WGS 84 input using d3.geoAlbersUsa: geoproject 'd3.geoAlbersUsa()' us.json \ > us-albers.json For geometry that crosses the antimeridian or surrounds a pole, you will want to pass input through geostitch first: geostitch world.json \ | geoproject 'd3.geoMercator()' \

d3.geoPattersonRaw

d3.geoPatterson() d3.geoPattersonRaw The Patterson cylindrical projection.