data: Improve example conffile
This commit is contained in:
@@ -1,20 +1,21 @@
|
|||||||
port = 8088
|
port = 8088
|
||||||
host = "127.0.0.1"
|
host = "127.0.0.1"
|
||||||
obsdb = "obsdb.db"
|
datadir = "~/.local/share/ols/"
|
||||||
datadir = "/home/user/ols/"
|
# obsdb = "obsdb.db" # DB file (in datadir) to store all incoming observations
|
||||||
method = "MLS" # Must be a name of a locator subsection
|
method = "clustering" # Must be a name of a locator subsection
|
||||||
debuglevel = "debug"
|
debuglevel = "warning" # critical,error,warning,info,debug
|
||||||
logtimestamps = true # Set to false if logging to journald
|
logtimestamps = true # Set to false if logging to journald
|
||||||
|
|
||||||
|
|
||||||
[locator]
|
[locator]
|
||||||
# Locator takes radio observations and calculates location and accuracy
|
# Locator takes observations and calculates the location and accuracy
|
||||||
# with the given resources (resolvers, web service like MLS etc.)
|
# with the given resources (resolvers, web service like MLS etc.)
|
||||||
|
|
||||||
[locator.clustering]
|
[locator.clustering]
|
||||||
# Aggregates wifi and cell coordinates and calculates a probable location
|
# Aggregates wifi and cell coordinates and calculates a probable location
|
||||||
type = "clustering"
|
type = "clustering"
|
||||||
wifiresolvers = ["wigle"]
|
wifiresolvers = ["wigle"]
|
||||||
cellresolvers = ["cell", "wigle"]
|
cellresolvers = ["wigle"]
|
||||||
|
|
||||||
[locator.firstcell]
|
[locator.firstcell]
|
||||||
# Locates to the coordinates of the first cell observation
|
# Locates to the coordinates of the first cell observation
|
||||||
@@ -37,6 +38,7 @@ apikey = "" # MLS API keys are in the GeoClue package of your distro
|
|||||||
type = "m8b"
|
type = "m8b"
|
||||||
datafile = "m8b.msgpack"
|
datafile = "m8b.msgpack"
|
||||||
|
|
||||||
|
|
||||||
[resolver]
|
[resolver]
|
||||||
# Resolvers translate observed radio identifiers (Wifi mac, mobile cellid)
|
# Resolvers translate observed radio identifiers (Wifi mac, mobile cellid)
|
||||||
# to station models (coordinates and radius)
|
# to station models (coordinates and radius)
|
||||||
|
Reference in New Issue
Block a user