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.
Change Log
Updated
- #534: Avoid sorting fields for each written object. (@rshura)
- #544: Match geometry indexing to server config
- b3dc025: Optimize point in ring
- 3718cd7: Added priority option for AMQP endpoints
Fixed
- #564: Fix OUTPUT client command requiring authentication. (@LeonardoBonacci)
- #538: DEL geofence notifications are missing the "key" field
- #539: Fixed issue with some features not working with WITHIN (@rshura)
- #540: Fix a concurrent write/read on the server conn map (@mpoindexter)
- #543: Fix clipping empty rings (@rshura)
- #558: Fixed clip test (@mmcloughlin)
- #562: Crashes under go1.14 runtime
- ff48054: Fixed a missing faraway event for roaming geofences
- 5162ac5: Stable sort roam notifications
Getting Started
Docker
docker pull tile38/tile38
docker run -p 9851:9851 tile38/tile38
Visit the Tile38 Docker Hub Page for more information.
OS X
To get started on OSX run the following in a terminal:
curl -L https://github.com/tidwall/tile38/releases/download/1.21.1/tile38-1.21.1-darwin-amd64.zip -o tile38-1.21.1-darwin-amd64.zip
unzip tile38-1.21.1-darwin-amd64.zip
cd tile38-1.21.1-darwin-amd64
./tile38-server
Linux
To get started on Linux run the following in a terminal:
curl -L https://github.com/tidwall/tile38/releases/download/1.21.1/tile38-1.21.1-linux-amd64.tar.gz -o tile38-1.21.1-linux-amd64.tar.gz
tar xzvf tile38-1.21.1-linux-amd64.tar.gz
cd tile38-1.21.1-linux-amd64
./tile38-server
FreeBSD
To get started on FreeBSD run the following in a terminal:
curl -L https://github.com/tidwall/tile38/releases/download/1.21.1/tile38-1.21.1-freebsd-amd64.tar.gz -o tile38-1.21.1-freebsd-amd64.tar.gz
tar xzvf tile38-1.21.1-freebsd-amd64.tar.gz
cd tile38-1.21.1-freebsd-amd64
./tile38-server
Playing with Tile38
Open another terminal:
./tile38-cli set fleet truck point 33.5 -115.5
./tile38-cli get fleet truck