Elevation¶
Terrain (DTM, bare ground), surface (DSM, tops of things) and object heights (nDSM = DSM − DTM) for a box.
Module |
Products |
Resolution |
Coverage |
Licence |
|---|---|---|---|---|
|
DTM, first-return DSM, nDSM |
1 m |
England |
OGL v3 |
|
DSM, DTM, nDSM |
1 m |
Wales |
OGL v3 |
|
DSM, DTM, nDSM |
0.5 m |
Netherlands |
CC0 |
|
bare-earth DEM |
down to 1 m |
United States |
public domain |
|
surface model (GLO-30) |
30 m |
worldwide |
Copernicus DEM licence |
from mirrorworld.elevation import ea, copernicus
heights = ea.get_ndsm(51.5090, -0.1300, 51.5072, -0.1262) # metres above ground, EPSG:27700
print(heights.data.max()) # Nelson's Column and the National Gallery
heights.save("trafalgar_ndsm.tif")
dem = copernicus.get_raster(47.615, -122.345, 47.600, -122.325) # anywhere on Earth
Note
The Environment Agency service occasionally stalls single requests; mirrorworld retries them, so a box can take tens
of seconds. Outside each dataset’s area you get a clear ValueError.