Topography of a region - Python: Difference between revisions

From wikiluntti
Line 6: Line 6:


Mostly needs an API.
Mostly needs an API.
*DEM Digital elevation model
*DSM Digital surface model
*DTM Digital terrain model


=== Python GIS ===
=== Python GIS ===

Revision as of 13:23, 4 April 2026

Introduction

An example of Alta-joki Alta river.

https://caltopo.com/map.html#ll=68.8546,23.64807&z=8&b=mbt

Mostly needs an API.

  • DEM Digital elevation model
  • DSM Digital surface model
  • DTM Digital terrain model

Python GIS

  • folium
  • geopy
  • GeoPandas

Earth Model

DEM files (likes SRTM data) with

  • Rasterio
  • GDAL

Norwegian national DEM (Kartverket). The Norwegian Mapping Authority provides very high-resolution DEM data (down to 1 meter).

Global DEMs (digital elevation model). No need super high resolution. Common datasets:

  • SRTM (~30 m resolution)
  • ASTER GDEM (~30 m)

Open portals. You can use

  • OpenTopography
  • OpenDEM
  • NASA EarthData

which gives eg GeoTIFF.

Open Topo Data

https://www.opentopodata.org/

Open-Elevation.com

11

11

11