data: Improve example conffile
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
port = 8088
|
||||
host = "127.0.0.1"
|
||||
obsdb = "obsdb.db"
|
||||
datadir = "/home/user/ols/"
|
||||
method = "MLS" # Must be a name of a locator subsection
|
||||
debuglevel = "debug"
|
||||
datadir = "~/.local/share/ols/"
|
||||
# obsdb = "obsdb.db" # DB file (in datadir) to store all incoming observations
|
||||
method = "clustering" # Must be a name of a locator subsection
|
||||
debuglevel = "warning" # critical,error,warning,info,debug
|
||||
logtimestamps = true # Set to false if logging to journald
|
||||
|
||||
|
||||
[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.)
|
||||
|
||||
[locator.clustering]
|
||||
# Aggregates wifi and cell coordinates and calculates a probable location
|
||||
type = "clustering"
|
||||
wifiresolvers = ["wigle"]
|
||||
cellresolvers = ["cell", "wigle"]
|
||||
cellresolvers = ["wigle"]
|
||||
|
||||
[locator.firstcell]
|
||||
# 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"
|
||||
datafile = "m8b.msgpack"
|
||||
|
||||
|
||||
[resolver]
|
||||
# Resolvers translate observed radio identifiers (Wifi mac, mobile cellid)
|
||||
# to station models (coordinates and radius)
|
||||
|
Reference in New Issue
Block a user