Skip to content

ucsb-dreamlab/generalized_map_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoTIFF Map Reader

This repository contains a Marimo notebook (MapReader.py) designed to explore, audit, and visualize a collection of GeoTIFF files.

Features

  1. Random Sampling and Previewing: Selects random TIFF files from directories and downsamples them for a quick visual preview.
  2. 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.
  3. Interactive Mapping: Plots the rasters on interactive maps using leafmap, handling CRS transformations so the images are correctly placed on basemaps.

Dependencies

The notebook automatically attempts to install necessary dependencies, including:

  • numpy
  • pillow
  • polars
  • rasterio
  • leafmap

Usage

Run the notebook using Marimo:

marimo edit MapReader.py

About

Repo to operate a coder 'Machine Reading Maps' Marimo notebook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages