Skip to main content
100%

Gray Earth

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Feb 27, 2013

A topographical map of the United States combines a shaded-relief raster with vector land boundaries. The raster, sourced from Natural Earth, is reprojected to the U.S. National Atlas azimuthal equal-area projection using gdalwarp and displayed as an SVG image. Boundaries are drawn via `d3.geo.path` and TopoJSON, with a `clipPath` limiting the raster to the land area. The code uses D3 v3, d3.geo.azimuthalEqualArea, and TopoJSON, applying the relief as a background clipped to the country outline.

AI-generated description

The Natural Earth Gray Earth raster data set, reprojected to the U.S. National Atlas projection (a rotated Lambert azimuthal equal-area projection) via gdalwarp.

gdalwarp \
  -r lanczos \
  -ts 960 0 \
  -t_srs EPSG:2163 \
  -te -2100000 -2200000 2600000 750000 \
  GRAY_HR_SR_OB_DR.tif \
  shaded-relief.tiff
gpl-3.0 Licensed

Similar vizzes