X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=debian%2Fgps303.conf;h=9d5ed3ca161c977f4018153d85765309cf502303;hb=2ad23fd8e9afe8d6c46263124ecd88ea28fd3059;hp=3b2ca38a6211cc5fe91ec38e1c18556fc38703ce;hpb=cb5e8c8b7ae9dc1916dc75d631717d5ab36fc383;p=loctrkd.git diff --git a/debian/gps303.conf b/debian/gps303.conf index 3b2ca38..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,16 @@ 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