opengeos/segment-geospatial

A Python package for segmenting geospatial data with the Segment Anything Model (SAM)

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 56 minutes ago
Added to GitGenius on September 16th, 2026
Created on April 19th, 2023
Open Issues & Pull Requests: 5 (+0)
GitHub issues: Enabled
Number of forks: 444
Total Stargazers: 4,144 (+0)
Total Subscribers: 60 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.0 days
Mean response time: 100.6 days
90th percentile: 440.9 days
Tracked items: 85

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 434 days
Stale 30+ days: 4
Stale 90+ days: 3

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (51)
  • Feature request (14)
  • help wanted (5)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Segment-geospatial is a Python package for segmenting geospatial data with the Segment Anything Model.

The package addresses the challenge of applying foundation models to geospatial imagery by wrapping the Segment Anything Model for use with geographic data. It enables automated segmentation of satellite and aerial imagery without requiring task-specific training, leveraging SAM's ability to segment objects in images through prompts or automatic mask generation. The tool handles the geospatial-specific requirements of working with coordinate systems, large raster datasets, and geographic metadata that standard computer vision segmentation approaches do not address.

Developers working with satellite imagery, aerial photography, or other geospatial rasters should consider this package when they need to extract features or delineate objects without building custom training datasets. It suits projects involving land cover classification, building detection, water body mapping, or other segmentation tasks where the objects of interest are visually distinct. The package integrates with common geospatial Python libraries, making it a natural fit for workflows already using tools from the broader geopython ecosystem.

The project shows consistent development activity with regular updates to maintain compatibility with evolving dependencies and to incorporate improvements to the underlying Segment Anything Model. The maintainers actively respond to user issues and incorporate feedback into releases. Documentation is maintained alongside the code, with a dedicated project website providing tutorials and examples. The codebase demonstrates attention to making the tool accessible to geospatial practitioners who may not be deep learning specialists, with straightforward APIs for common segmentation tasks.