Skip to content


Tile38 is an open source (MIT licensed), in-memory geolocation data store, spatial index, and real-time geofence. It supports a variety of object types including lat/lon points, bounding boxes, XYZ tiles, Geohashes, and GeoJSON.

You can find detailed documentation in the README.

Nearby Within Intersects Geofencing Roaming Geofences

Change Log


  • 639f6e2: Updated the spatial index (R-tree) implementation.


  • b092cea: Fixed MQTT blocking on publish/wait.
  • #496: Fixed MQTT client ID uniqueness. (@neterror)
  • #497: Fixed data race on webhook map with TTLs. (@belek)
  • #498: Fixed JSET cancels objects TTL expiry value. (@belek)

Getting Started


docker pull tile38/tile38
docker run -p 9851:9851 tile38/tile38

Visit the Tile38 Docker Hub Page for more information.


To get started on OSX run the following in a terminal:

curl -L -o
cd tile38-1.18.0-darwin-amd64


To get started on Linux run the following in a terminal:

curl -L -o tile38-1.18.0-linux-amd64.tar.gz
tar xzvf tile38-1.18.0-linux-amd64.tar.gz
cd tile38-1.18.0-linux-amd64


To get started on FreeBSD run the following in a terminal:

curl -L -o tile38-1.18.0-freebsd-amd64.tar.gz
tar xzvf tile38-1.18.0-freebsd-amd64.tar.gz
cd tile38-1.18.0-freebsd-amd64

Playing with Tile38

Open another terminal:

./tile38-cli set fleet truck point 33.5 -115.5
./tile38-cli get fleet truck
Assets 8
You can’t perform that action at this time.