Tile38 is an open source (MIT licensed), in-memory geolocation data store, spatial index, and realtime 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
- Performance bump for all SET commands, ~10% faster
- Lower memory footprint for large datasets
- #112: Added distance to NEARBY command (@m1ome, @auselen)
- #123: Redis endpoint for webhooks (@m1ome)
- #128: Allow disabling HTTP & WebSocket transport (@m1ome)
Fixed
- #116: Missing response in TTL json command (@phulst)
- #117: Error in command documentation (@juanpabloaj)
- #118: Unexpected EOF bug with websockets (@m1ome)
- #122: Disque typo timeout handling (@m1ome)
- #127: 3d object searches with 2d geojson area (@damariei)
Getting Started
OS X
To get started on OSX run the following in a terminal:
curl -L https://github.com/tidwall/tile38/releases/download/1.7.5/tile38-k-darwin-amd64.zip -o tile38-1.7.5-darwin-amd64.zip
unzip tile38-1.7.5-darwin-amd64.zip
cd tile38-1.7.5-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.7.5/tile38-1.7.5-linux-amd64.tar.gz -o tile38-1.7.5-linux-amd64.tar.gz
tar xzvf tile38-1.7.5-linux-amd64.tar.gz
cd tile38-1.7.5-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.7.5/tile38-1.7.5-freebsd-amd64.tar.gz -o tile38-1.7.5-freebsd-amd64.tar.gz
tar xzvf tile38-1.7.5-freebsd-amd64.tar.gz
cd tile38-1.7.5-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