# paulmach/orb

Types and utilities for working with 2d geometry in Golang

Repository: https://github.com/paulmach/orb
Canonical: https://ross.abutalabs.com/products/orb
Language: Go
License: MIT
License Family: permissive
Topics: geo, geospatial, gis, geojson, wkb, wkt, mapbox-vector-tile, 2d
Last push: 2026-03-30T15:51:22+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 45, longevity 100
- inputs: {"age_days": 3811, "days_push": 156, "days_rel": 156, "gap_med": 193, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1126, forks 125 (observed 2026-08-28T04:03:41.247958+00:00)

## What it is
Orb is a Go library defining types for 2D geo and plan/projected geometry, with sub-packages for GeoJSON, Mapbox Vector Tile encoding, WKB scanning, clipping, simplification, and quadtrees. It provides idiomatic slice-based geometry types with a shared Geometry interface for geo and planar operations.

## Use cases
- encode and decode GeoJSON in Go
- read WKB geometry from database query results
- work with Mapbox Vector Tiles
- clip and simplify line and polygon geometry
- compute distances, areas, and centroids of shapes
- build spatial indexes with a quadtree

## When to choose
- you need lightweight 2D geometry types in Go
- you're building GIS or mapping services in Go
- you need GeoJSON, WKB, WKT, or MVT interoperability

## When to avoid
- you need 3D geometry support
- you need a full GIS engine with coordinate reprojection
- you're not working in Go

## Facets
- artifact type: library
- maturity: stable
- function: geospatial, serialization, parser
- domain: developer-tools
- platform: go, cross-platform
- tags: geo, wkb, wkt, mapbox-vector-tile, 2d-geometry, gis, geospatial, maps

## Member repositories
- paulmach/orb (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:41.247958+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:39:13.024628+00:00, confidence not recorded.
  - readme: https://github.com/paulmach/orb (fetched 2026-08-28T04:03:41.247958+00:00, sha b3b81b93513a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
