Skip to main content

segment-geospatial

image image image image image

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

The segment-geospatial package draws its inspiration from segment-anything-eo repository authored by Aliaksandr Hancharenka. To facilitate the use of the Segment Anything Model (SAM) for geospatial data, I have developed the segment-anything-py and segment-geospatial Python packages, which are now available on PyPI and conda-forge. My primary objective is to simplify the process of leveraging SAM for geospatial data analysis by enabling users to achieve this with minimal coding effort. I have adapted the source code of segment-geospatial from the segment-anything-eo repository, and credit for its original version goes to Aliaksandr Hancharenka.

Features

  • Download map tiles from Tile Map Service (TMS) servers and create GeoTIFF files
  • Segment GeoTIFF files using the Segment Anything Model (SAM)
  • Save segmentation results as common vector formats (GeoPackage, Shapefile, GeoJSON, etc.)
  • Visualize segmentation results on interactive maps

Examples

Demos

  • Automatic mask generator

Acknowledgements

This package was made possible by the following open source projects. Credit goes to the developers of these projects.

Metadata

Release files for segment-geospatial 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for segment-geospatial 0.4.0
File Size Uploaded
segment-geospatial-0.4.0.tar.gz 19.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for segment-geospatial 0.4.0
File Interpreter ABI Platform
segment_geospatial-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 38.9 kB

Release files / segment-geospatial-0.4.0.tar.gz

Download URL segment-geospatial-0.4.0.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2ce499b2193e213fc9fe81a75a89d47d6857425729d85a979403b02e94d35d79
BLAKE2b-256 checksum
How to use checksums
2457efad5d3926626160247a10b5df7ea2d85fd6c9abf1a4c24362a8ddf248de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / segment_geospatial-0.4.0-py2.py3-none-any.whl

Download URL segment_geospatial-0.4.0-py2.py3-none-any.whl
Size 19.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fb07b43242233e20728feea80ba20338f44cc6f996d3830ffd01a6862596794a
BLAKE2b-256 checksum
How to use checksums
a29122e9d7fcbd219261dd0094959cea503baa808bb30bcea44fbbe98e9a0afa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.13.0

2 release files

0.12.6

2 release files

0.12.3

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.7

2 release files

0.10.5

2 release files

0.10.4

2 release files

0.10.3

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page