golang/geo
S2 geometry library in Go observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 4291
- days_rel: n/a
- days_push: 9
- n_releases_24m: 0
Adoption not part of the score
1849 stars · 197 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library implementing the S2 spherical geometry system for representing and manipulating geometric shapes on a sphere. It provides regions, hierarchical cell decomposition, spatial indexing, and robust predicates for geographic data.
Use cases
- index geographic locations for fast nearby queries
- check whether a lat/lng point falls inside a polygon
- compute distances and areas on the earth's surface
- build a distributed spatial index using S2 cells
- union and intersect arbitrary polygons on a sphere
- simplify and snap geospatial geometry with topology guarantees
When to choose
- you need robust spherical geometry operations in Go
- you're building location-based search or geofencing features
- you need scalable spatial indexing for large geographic datasets
When to avoid
- you need planar 2D geometry rather than spherical
- you need rendering or projection to map tiles
- you work in a language other than Go (use the C++/Java S2 ports)
Facets
library · maturity stable
geospatial math search-engine go cross-platform s2-geometry spherical-geometry spatial-indexing spatial-index geospatial algorithms maps
1 source
- readme: https://github.com/golang/geo · fetched 2026-08-28 · 96905767a64e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| golang/geo | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem