Tile38 Notes

Intro

GeoJSON Preview

Install

1
2
3
4
5
6
7
8
## pull
docker pull tile38/tile38
## run
docker run -d -p 9851:9851 --name tile38-dev tile38/tile38
## in
docker exec -it tile38-dev sh
## tile38-cli
tile38-cli

Command Usage

Set

SET key id [FIELD name value …] [EX seconds] [NX|XX] (OBJECT geojson)|(POINT lat lon [z])|(BOUNDS minlat minlon maxlat maxlon)|(HASH geohash)|(STRING value)

FSET

FSET key id [XX] field value [field value …]

GET

GET key id [WITHFIELDS] [OBJECT|POINT|BOUNDS|(HASH geohash)]

EXPIRE

Set a timeout on an id.

EXPIRE key id [seconds]

DEL

Remove a specified object.

DEL fleet truck1

DROP

Remove all objects from specified key.

DROP fleet

JSET