pyGeoMapper
pyGeoMapper maps what changed on the ground and what the ground is made of, from satellite images and elevation models (DEMs). It is a Python toolkit with a Rust core, and it ends in 3D block diagrams you can open in a browser.
Status: 0.1.0, early-stage research software. APIs may change; check results before use.
Not related to The-Magicians-Code/PyGeoMapper.
Use it to:
- measure elevation and surface change after a landslide, flood, wildfire or earthquake;
- map geological units automatically from terrain and spectral data, with honest held-out accuracy;
- draw cross-sections and 3D block diagrams of a field area.
Install
pip install pygeomapper
# from source (Python 3.10+, Rust 1.75+):
git clone https://github.com/GeoLarryLai/pyGeoMapper.git && cd pyGeoMapper
pip install maturin && maturin develop --release
Optional extras: stac, ml, viz3d, spectral, dem, test.
Quick start
from pygeomapper import raster_io, surface_change, terrain_analysis
dem1 = raster_io.load_geotiff("example_data/oso_dem_pre_cop30.tif")
dem2 = raster_io.load_geotiff("example_data/oso_dem_post_3dep.tif")
dod = surface_change.compute_dod(dem1, dem2) # elevation change between the two DEMs
cwt = terrain_analysis.compute_multiscale_complexity(dem2) # terrain roughness at several scales
Key features
- Raster I/O (
raster_io): CRS-aware GeoTIFF/COG and multi-band stacks, STAC search, AlphaEarth embeddings. - Spectral indices (
spectral_indices): NDVI, NBR, NDWI, NDMI, BSI and mineral ratios in parallel Rust. - Surface change (
surface_change): DEM of Difference with co-registration and LoD volumes, spectral and embedding change, InSAR/GNSS 3D displacement, debris-flow susceptibility and multi-hazard fingerprints. - Terrain (
terrain_analysis): slope, aspect, hillshade, curvature, roughness and multiscale 2D CWT complexity. - Mapping (
auto_mapping): unsupervised and supervised unit mapping with spatial-block holdout validation. - Cross-sections (
cross_section): swath profiles, 3-point bed attitudes and geological cross-sections. - 3D (
viewer_3d): 3D block, cutaway and fence diagrams, GLB/PLY/OBJ export and an offline WebGL viewer.
Examples
Five executed notebooks in notebooks/ of the repository walk through every module with public data:
pyGeoMapper_1_spectral_and_surface_change.ipynb: spectral indices and surface change (Oso landslide)pyGeoMapper_2_terrain_complexity_and_cwt.ipynb: terrain derivatives and multiscale complexitypyGeoMapper_3_auto_mapping_and_cross_section.ipynb: automated unit mapping and a cross-sectionpyGeoMapper_4_3d_block_diagram_and_viewer.ipynb: 3D block diagrams and the offline viewerpyGeoMapper_5_multi_hazard_change_showcase.ipynb: earthquake, volcano, glacier, landslide, flood and wildfire cases
How to cite
Lai, L. S.-H. (2026). pyGeoMapper (version 0.1.0) [Computer software]. https://github.com/GeoLarryLai/pyGeoMapper
Full metadata is in CITATION.cff in the repository. Methods: Horn (1981),
Zevenbergen & Thorne (1987),
Nuth & Kääb (2011),
Montero et al. (2023),
Lai et al. (2025),
Brown et al. (2025),
Okada (1985),
Staley et al. (2017),
Horton et al. (2017). Data sources: example_data/SOURCES.txt, NOTICE.
Licence
Copyright (C) 2026 Larry Syu-Heng Lai. AGPL-3.0-or-later (LICENSE, NOTICE).
Metadata
Release files for pygeomapper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygeomapper-0.1.0.tar.gz | 117.9 kB | Without provenance | Details for pygeomapper-0.1.0.tar.gz |
Built distributions (wheels)
Total release size: 5.0 MB
Release files / pygeomapper-0.1.0.tar.gz
| Download URL | pygeomapper-0.1.0.tar.gz |
|---|---|
| Size | 117.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3913bd3a472746838a3471c53d620211af3b52ab4fcf41db739982476ee1611d
|
|
BLAKE2b-256 checksum How to use checksums |
64a68a2c1e4c7c3a9bfc9afc5f35f990aaadd26d800af6b96c4214417d188763
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pygeomapper-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygeomapper-0.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 612.4 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ddb80b70991a99054dbd3538d91f72957c8f4cf7cfca32940f866eba26a8373b
|
|
BLAKE2b-256 checksum How to use checksums |
01b9b1df5183fe0f3466e4c6d79d98d732937127052bc90d83e8d082dfd00ec9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pygeomapper-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | pygeomapper-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 595.7 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7a7d12e1c3b5695f8fe824c0c2299f58340abb1069b3904f51b45cff943afd9d
|
|
BLAKE2b-256 checksum How to use checksums |
58ae89955008bf684d054cc4458b984b794d6b3e8f9ab051df4ea8ebb41c8ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pygeomapper-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygeomapper-0.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 613.0 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
68cf8c81869cc7ef369457cd01e3932b611e4da3b58ed7d993c6d3dd4d14672a
|
|
BLAKE2b-256 checksum How to use checksums |
837111522cb98dfa5f4585d82a252dd50dc60551480e0785de2fbaa04521e191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pygeomapper-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | pygeomapper-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 596.2 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
357da8968b013db5f50b1e1bf94501a08d79d3e8f21148d34af31e8f0de91579
|
|
BLAKE2b-256 checksum How to use checksums |
7ba441c7f1c87adf62ccb12d367217b11116aa1affbdbd7c4bf0dd22678f5a34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pygeomapper-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygeomapper-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 613.1 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0b6684addcfac2fae11ea0a784a03cc20063879fbb18b13ca4d4e2adac9236c0
|
|
BLAKE2b-256 checksum How to use checksums |
b0da13544d5ad314ea76f5329b8a6a8fb9ea1de33ee841baaf2c76ccbb931b03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pygeomapper-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | pygeomapper-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 597.0 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
51ccafd3f167033dc09200303ae19ebd52a1e2ff6a4635ec76599e2266783e05
|
|
BLAKE2b-256 checksum How to use checksums |
eb8aa0ff988d6027971f31c213f9283b1b6d6e8a491808aae93f82971f461e66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pygeomapper-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pygeomapper-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 613.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5d8e16356626888ff149f2c74d11f19c2b1abfb182f9b2cc57884735fddbd283
|
|
BLAKE2b-256 checksum How to use checksums |
ad960ab372753d10ae27b7463445eceb1fffbe34ca3f58fb5823de0f385a8458
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pygeomapper-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | pygeomapper-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 597.9 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8411d68e4c1bc40c791a53dc41d5ad814d65ed3a9749bf4a26a33922023760a3
|
|
BLAKE2b-256 checksum How to use checksums |
889428a6e95ea895bee96827858d0863edf409d84484435a2196751818ce5b57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for pygeomapper 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.