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
Added
Fixed
- #493: Fix invalid JSON when JSET strings that look like numbers. (@spierepf, @JordanArmstrong)
- #499: Fix invalid PubSub format when output is set to JSON. (@dmvass)
- #500: Fix Tile38-cli not propertly handling quotes. (@vthorsell)
- #502: Fix excessive memory usage for objects with TTLs. commit 23b016d. (@FreakyBytes)
- #503: Fix fprintf type error in stats_cpu.go for non-linux/darwin builds. (@JordanArmstrong)
- 9d27533: Fix infinite loop on tile38-cli connection failure.
- #509: Fixed panic on AOFSHRINK. (@jordanferenz)
Changed
- #505: Update Travi-ci to use Go 1.13.x
- cfc65a1: Refactored repo, moved to Go modules, updated vendor dependencies.
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.19.1/tile38-1.19.1-darwin-amd64.zip -o tile38-1.19.1-darwin-amd64.zip
unzip tile38-1.19.1-darwin-amd64.zip
cd tile38-1.19.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.19.1/tile38-1.19.1-linux-amd64.tar.gz -o tile38-1.19.1-linux-amd64.tar.gz
tar xzvf tile38-1.19.1-linux-amd64.tar.gz
cd tile38-1.19.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.19.1/tile38-1.19.1-freebsd-amd64.tar.gz -o tile38-1.19.1-freebsd-amd64.tar.gz
tar xzvf tile38-1.19.1-freebsd-amd64.tar.gz
cd tile38-1.19.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