gogeo

S2 is a Go library for spherical geometry. It provides representations of angles, intervals, latitude-longitude points and unit vectors, geometric shapes over the unit sphere such as caps, rectangles, polylines and polygons, a hierarchical cell decomposition, constructive operations and predicates, in-memory indexing, distance algorithms and snapping and simplification. Planar geometry and conversions to common GIS formats are outside its scope.

GitHub repo Directory import
0 shouts Added Sep 23, 2026 github.com
github.com/golang/geo
gogeo website preview

Features

Limitations

Links

Tags