opengeos/segment-geospatial
A Python package for segmenting geospatial data with the Segment Anything Model (SAM) observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 99
- Longevity 88
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 4.0
- age_days: 1232
- days_rel: 11
- days_push: 9
- n_releases_24m: 37
Adoption not part of the score
4122 stars · 440 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SamGeo (segment-geospatial) is a Python package that applies Meta AI's Segment Anything Model (SAM, SAM2, SAM3, HQ-SAM) to geospatial data such as satellite and aerial imagery. It supports downloading map tiles, segmenting GeoTIFFs with point/box/text prompts, exporting masks as GeoJSON/Shapefile/GeoPackage, and serving segmentation via a built-in FastAPI REST API.
Use cases
- segment satellite imagery into objects like buildings or swimming pools
- run SAM on GeoTIFF files and export masks as shapefiles
- segment remote sensing images with text prompts
- download map tiles from a TMS server and segment them
- serve image segmentation over HTTP for web apps
- interactively mark foreground and background points on a map to segment objects
- batch segment time series of remote sensing imagery
When to choose
- you need to segment geospatial or remote sensing raster data with minimal code
- you want SAM-based segmentation outputs in GIS vector formats
- you want a REST API or QGIS plugin around SAM for geospatial workflows
When to avoid
- you need general-purpose (non-geospatial) image segmentation without GIS formats
- you lack GPU resources and need fast inference on very large rasters
- you need automatic reprojection or CRS handling as part of segmentation
Facets
library · maturity active
machine-learning image-processing computer-vision geospatial sdk machine-learning deep-learning artificial-intelligence python cross-platform segment-anything sam sam2 sam3 satellite-imagery remote-sensing image-segmentation geotiff qgis-plugin rest-api geospatial gpu
7 sources
- readme: https://github.com/opengeos/segment-geospatial · fetched 2026-08-28 · a184ee51cbfd
- homepage: https://samgeo.gishub.org · fetched 2026-08-29 · 1edbf589be08
- site_page: https://samgeo.gishub.org/installation · fetched 2026-08-29 · 43279027ffc5
- registry_pypi: https://pypi.org/pypi/segment-geospatial/json · fetched 2026-08-29 · 7431b520b349
- site_page: https://samgeo.gishub.org/faq · fetched 2026-08-29 · 0ac1c9462be1
- site_page: https://samgeo.gishub.org/changelog · fetched 2026-08-29 · 245650da9268
- site_page: https://samgeo.gishub.org/api · fetched 2026-08-29 · fd19256a51f8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| opengeos/segment-geospatial | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="opengeos/segment-geospatial")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem