X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=debian%2Fgps303.conf;h=9d5ed3ca161c977f4018153d85765309cf502303;hb=1888de5a5dd4bdb85f3fb745341920a9996b278e;hp=d77b58aab50dfcf23240e9957c91007ec8af9896;hpb=3cfd06a9124bc710153520bc7f623c71051b2fb9;p=loctrkd.git diff --git a/debian/gps303.conf b/debian/gps303.conf index d77b58a..9d5ed3c 100644 --- a/debian/gps303.conf +++ b/debian/gps303.conf @@ -1,4 +1,6 @@ [collector] +# configure your gps terminal with this SMS: +# "server##4303#" port = 4303 publishurl = ipc:///var/lib/gps303/collected listenurl = ipc:///var/lib/gps303/responses @@ -11,10 +13,18 @@ htmlfile = /var/lib/gps303/index.html dbfn = /var/lib/gps303/gps303.sqlite [lookaside] -publishurl = ipc:///var/lib/gps303/locevt +# "opencellid" and "googlemaps" can be here. Both require an access token, +# though googlemaps is only online, while opencellid backend looks up a +# local database, that can be updated once a week or once a month. +backend = opencellid [opencellid] dbfn = /var/lib/opencellid/opencellid.sqlite +# for testing: run `python -m http.server --directory ` and use this: +# downloadurl = http://localhost:8000/.csv.gz +# then the next two statements will be ignored +downloadtoken = /var/lib/opencellid/opencellid.token +downloadmcc = 262 [termconfig] statusIntervalMinutes = 25