# tidwall/tile38

Real-time Geospatial and Geofencing

Repository: https://github.com/tidwall/tile38
Canonical: https://ross.abutalabs.com/products/tile38
Homepage: https://tile38.com
Language: Go
License: MIT
License Family: permissive
Topics: geospatial, database, geo, spatial, location, geofences, index
Last push: 2026-08-07T12:16:28+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 75, longevity 100
- inputs: {"age_days": 3834, "days_push": 26, "days_rel": 86, "gap_med": 34, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9717, forks 621 (observed 2026-08-28T04:10:36.933017+00:00)

## What it is
Tile38 is an open-source, in-memory geospatial database and real-time geofencing server written in Go. It supports spatial indexing of points, bounding boxes, Geohashes, XYZ tiles, and GeoJSON, with geofence notifications delivered via webhooks or pub/sub channels.

## Use cases
- track vehicle fleet locations in real time
- send alerts when a device enters or exits a geofence
- find nearby points of interest by radius
- query which objects intersect a polygon area
- store and search GeoJSON location data
- build location-based notification pipelines with webhooks

## When to choose
- you need real-time geofencing with webhook or pub/sub notifications
- you want a fast in-memory spatial index with Redis-like protocol support
- you need leader/follower replication for a location data store
- you want a self-contained server with CLI, HTTP, and websocket access

## When to avoid
- you need durable disk-first storage with full ACID transactional guarantees
- your dataset is primarily relational rather than geospatial
- you need heavy GIS operations like raster processing or coordinate reprojection
- you want a managed cloud database without self-hosting

## Facets
- artifact type: service
- maturity: active
- function: database, search-engine, geospatial, webhook, http-server, websocket, monitoring
- domain: databases, self-hosted
- platform: windows, go, self-hosted, cli
- tags: geofencing, spatial-index, in-memory-database, geojson, redis-protocol, location-tracking, geospatial, maps, real-time, linux, macos, docker

## Member repositories
- tidwall/tile38 (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:36.933017+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-29T17:21:14.217936+00:00, confidence not recorded.
  - readme: https://github.com/tidwall/tile38 (fetched 2026-08-28T04:10:36.933017+00:00, sha d48bd68c8442)
  - homepage: https://tile38.com (fetched 2026-08-29T08:20:50.106342+00:00, sha ef4052429af5)
  - site_page: https://tile38.com/topics/installation (fetched 2026-08-29T08:20:50.109057+00:00, sha c2abdbde2806)
- Data as of 2026-08-30T08:39:29.467469+00:00.
