Terrain Viewer

NASA G-LiHT

What glihtdata.gsfc.nasa.gov serves, what a browser can read of it (nothing, directly), the 1 521-campaign catalog, and what it would take to stream the elevation and canopy height

G-LiHT is NASA Goddard's airborne LiDAR, Hyperspectral and Thermal imager. Its data center, glihtdata.gsfc.nasa.gov, is a Leaflet webmap over an Apache directory tree (/files/G-LiHT/<campaign>/), with no login. The app already streams one part of it: the 2013 Yucatan transects, which OpenTopography re-hosts as COGs (the two MEX - G-LiHT 2013 Yucatan library entries, see Related Work). This page is the test of everything else, done on 2026-11-24.

G-LiHT coverage over Kiuic and the Puuc, Yucatan

Verdict

  • No direct client-side route. The host sends no Access-Control-Allow-Origin header on anything (KMZ, tar.gz, the index), for a GET with an Origin or for an OPTIONS preflight. A page on another origin cannot read a byte, so a custom protocol in the browser is out, whatever the format.
  • The elevation is only in gzip. Range requests work, but the GeoTIFFs are inside .tar.gz (AMIGA-Carb and the newer "KML folder" campaigns) or .tif.gz (the rest). Gzip has no index: reaching byte N means inflating everything before it, so neither a browser nor titiler (/vsigzip/, /vsitar/) can read a window without streaming the archive from the start.
  • The KMZ files are pictures, not elevation. Each is a regionated super-overlay of greyscale hillshade PNGs. A protocol could drape them through a CORS proxy, but the app already draws a better hillshade, and every other mode, from real elevation.
  • NASA's other copy is behind a login. LP DAAC holds the same products in the cloud (GLDTMT DTM, GLCHMT CHM, GLDSMT DSM, GLDTMK/GLCHMK KML, 22 093 DTM granules), at data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/: an anonymous GET answers 302 to urs.earthdata.nasa.gov, and an OPTIONS preflight answers 405, so a browser cannot send an Earthdata token either. CMR search itself is CORS-open, the data is not.
  • What was built: the whole catalog as a coverage overlay (Coverage > 3D and LiDAR coverage > NASA G-LiHT airborne LiDAR), so the app shows where G-LiHT exists, what each campaign holds and whether it can be streamed (only the OpenTopography Yucatan transects can).
  • Canopy height still needs re-hosting. G-LiHT's CHM is in the same gzip archives, OpenTopography publishes the Yucatan bare earth only (no _hh or DSM VRT under MX13E_Britton/ or MX13W_Britton/), so there is no DSM to derive an nDSM from in the browser. Meta/WRI's 1 m canopy height (in the library) covers the same ground as a modelled substitute, not a LiDAR one.

The tests

WhatRequestAnswer
CORS on a DTM KMZ, the tiles KMZ, a DTM tar.gzGET with Origin: and Range: bytes=0-99206 Partial Content, Accept-Ranges: bytes, no Access-Control-* header
PreflightOPTIONS with Access-Control-Request-Headers: range200, Allow: GET,POST,OPTIONS,HEAD, no Access-Control-* header
LP DAAC cloud GeoTIFFGET (with or without a bearer token), OPTIONS302 to Earthdata Login; 405
The webmap's NCCS ortho MapServermaps.nccs.nasa.gov/image02/rest/services/gliht/...the host does not resolve

Inside a DTM KMZ

AMIGACarb_Yuc_Norte_GLAS_Apr2013_l0s397_DTM.kmz (2.8 MB, one strip cell): a zip of 719 entries, all deflated. doc.kml holds one NetworkLink to 0/0/0.kml; each level's KML holds a GroundOverlay (a gx:LatLonQuad, the strip being rotated) and four NetworkLinks to the next level, gated by Region/Lod (minLodPixels 128). Five levels, 0 to 4 (1, 4, 16, 64, 264 tiles), each tile a 69 × 357 RGBA PNG; at level 4 that is about 1 m per pixel. The pixels are a greyscale hillshade with transparency outside the swath, not encoded heights. The CHM KMZs are the same layout.

The tiles KMZ

<campaign>_tiles.kmz (2.7 kB) is one KML of Placemarks, one per cell (l0s397, l0s398…): its centre point and its footprint polygon. A footprint index, not imagery.

Inside the GeoTIFF tar.gz

The first 30 MB of AMIGACarb_Yuc_Norte_GLAS_Apr2013_DTM.tar.gz (286 MB) were enough to list and extract three members: one GeoTIFF per cell, …_l0s397_DTM.tif (25.7 MB), …_l0s398_DTM.tif (58.1 MB). gdalinfo: Float32 elevation, WGS 84 / UTM 15N, 1 m pixels, 1118 × 5720, uncompressed, stripped (Block=1118x1), no overviews: not a COG, and not tiled. Values 0.6 to 12.5 m there (the coast north of Campeche). Campaigns outside AMIGA-Carb without a KML folder ship one <campaign>_DTM.tif.gz mosaic instead (Kiuic 1: 102 MB). Next to the DTM, geotiff/ holds _CHM, _aspect, _slope, _rugosity, metrics/ and lidar_refl/ in the same packaging, and las/ one .las.gz per cell.

The catalog

The webmap reads one index, DATA/flightData.js (23 MB: var flightData = {…} with, per campaign, the date, the bounds, the file sizes and the corner quad of every cell). scripts/build-gliht-coverage.mjs reads it in Node (no CORS there), as JSON text, and writes public/coverage/gliht.geojson (5.6 MB, on the dataset-indexes release, rebuilt monthly with the other footprints, see Coverage Footprints).

  • 1 521 campaigns, 68 850 cells, 2011 to 2026, about 184 000 km² of cell footprints (overlapping repeat flights counted each time). 142 GB of DTM GeoTIFF, 74 GB of CHM, 36 GB of DTM KMZ.
  • By region: Alaska 470 campaigns (120 000 km²), AMIGA-Carb Mexico 154 (37 600 km²), Florida 164, Puerto Rico 291, Maine 74, then New Mexico, the Mid-Atlantic, Oregon, the Bahamas (Andros), Virginia, Maryland and a long tail.
  • Strips and blocks. A cell named lNsM is segment M of flight line N, a strip a few hundred metres to a couple of kilometres wide. A cell named cXrY is a 1 km tile of a block flown wall to wall. 210 campaigns are blocks (10 100 km²): forest plots, watersheds, Puerto Rico's El Yunque and Rio Abajo, the Jemez and Sandia mountains, Big Pine Key, the Algodones dunes.
  • Wall-to-wall in the Maya lowlands: Kiuic. Kuiic1_Apr2013, Kuiic2_Apr2013 and Kuiic3_Apr2013 (the folder names misspell Kiuic) are 93 km² of 1 km blocks over the Kiuic and Bolonchén district of the Puuc, Yucatan, flown in April 2013 with the AMIGA-Carb transects. They are not in the OpenTopography reprocessing (its VRTs list only the Yuc_*, Campeche, Chiaps1 and Out_Yuc transects), so their elevation is only in the NASA archives: DTM 102 + 13 + 20 MB, CHM 56 + 8 + 12 MB gzipped. The same holds for Hildalgo_May2013 (44 km², Hidalgo) and every AMIGA-Carb flight outside the Yucatan (Oaxaca, Chiapas, Guanajuato, Chihuahua, Sonora…).
  • The 2013 Yucatan transects that OpenTopography does carry are 13 campaigns, about 6 400 km² of cell footprints: 3.6 GB of NASA DTM (superseded there by the 0.5 m reprocessing) and 2.2 GB of CHM (not on OpenTopography).

What streaming them would take

The only way in is through a server, once. In order of cost:

  1. Kiuic (the one wall-to-wall Maya block missing from the app): download Kuiic{1,2,3}_Apr2013_DTM.tif.gz, gdal_translate -of COG each (deflate, predictor 3, overviews), about 135 MB of gzip in, a few hundred MB of COG out. Host the three COGs on any CORS-open bucket and add a cog or vrt library entry. Public domain (NASA).
  2. Yucatan canopy height: the 13 _CHM.tar.gz (2.2 GB), each member converted to COG and indexed by one VRT per UTM zone, as the Scotland VRTs are built (see Cell-routed sources). That is the "several GB" of Related Work; the test above confirms no shortcut exists.
  3. A CORS proxy in front of glihtdata (a Cloudflare Worker forwarding Range and adding Access-Control-Allow-Origin, or scripts/cors-proxy.mjs locally) would make the KMZs drawable, but they are hillshades, and the GeoTIFFs would still be gzip. Not worth a protocol.
  4. titiler does not help: it opens what GDAL can seek, and /vsigzip/ over HTTP re-inflates from the start for every window.

On this page