This repository contains a Marimo notebook (MapReader.py) designed to explore, audit, and visualize a collection of GeoTIFF files.
- Random Sampling and Previewing: Selects random TIFF files from directories and downsamples them for a quick visual preview.
- Geospatial Audit: Extracts metadata from the TIFFs (such as Dimensions, Bands, Color Space, Data Type, and Coordinate Reference System) and displays the results in a Polars DataFrame.
- Interactive Mapping: Plots the rasters on interactive maps using
leafmap, handling CRS transformations so the images are correctly placed on basemaps.
The notebook automatically attempts to install necessary dependencies, including:
numpypillowpolarsrasterioleafmap
Run the notebook using Marimo:
marimo edit MapReader.py