Commit Graph

140 Commits

Author SHA1 Message Date
Teemu Ikonen
2c89b7d092 requirements.txt: Add scipy 2023-03-24 16:29:39 +02:00
Teemu Ikonen
04b48952e9 Support multiple locator methods 2023-03-24 16:29:39 +02:00
Teemu Ikonen
2ff735aeaa README.md: Update cell id backend status 2023-03-10 14:41:35 +02:00
Teemu Ikonen
afba598a7a config: Fix typo on --logtimestamps cmdline arg 2023-03-10 14:41:35 +02:00
Teemu Ikonen
b89c4f80bf config: Set default debug level to 'warning' 2023-03-10 14:41:35 +02:00
Teemu Ikonen
0152a43ecf data: Add example service file 2023-03-10 14:41:35 +02:00
Teemu Ikonen
000020e8be data: Move data dir to module ols.data with __init__.py 2023-03-10 14:41:35 +02:00
Teemu Ikonen
254cb08693 config: Set default conffile to '~/.config/ols/ols.toml' 2023-03-10 14:41:35 +02:00
Teemu Ikonen
9077fef54e data: Improve example conffile 2023-03-10 14:41:35 +02:00
Teemu Ikonen
bd941d8cf6 config: Default to '~/.local/share/ols' as datadir 2023-03-10 14:41:35 +02:00
Teemu Ikonen
1ba258fbf9 config: Allow None as obsdb, default to it 2023-03-10 14:41:35 +02:00
Teemu Ikonen
237477564a Add locator/__init__.py 2023-03-02 16:34:32 +02:00
Teemu Ikonen
e001c8adf1 Add .editorconfig file 2023-03-01 11:41:01 +02:00
Teemu Ikonen
02df5ec923 wiglenet: Shorten cache hit debug log message 2023-02-21 14:05:27 +02:00
Teemu Ikonen
c6762ecfb8 Remove wiglenetresolver.py to wiglenet.py 2023-02-21 14:04:35 +02:00
Teemu Ikonen
113538daf2 Adapt to backend -> resolver name change 2023-02-20 18:36:28 +02:00
Teemu Ikonen
111ed035e4 Rename backend dir to resolver 2023-02-20 18:35:38 +02:00
Teemu Ikonen
ce02fd3367 flake8 2023-02-20 17:30:11 +02:00
Teemu Ikonen
dd2b2acbef locator/clustering: Add Ichnaea license info 2023-02-20 17:30:11 +02:00
Teemu Ikonen
e12e8acc50 locator: Improve single wifi accuracy calculations 2023-02-20 17:30:11 +02:00
Teemu Ikonen
3be2ba52d7 server: Use multiple resolvers in 'Strongest*' locators 2023-02-20 17:30:11 +02:00
Teemu Ikonen
f431baffaa locator/single: Rename SingleXLocator classes to SingleXLocatorBase 2023-02-20 17:05:37 +02:00
Teemu Ikonen
fd16406b8b locators: Adapt to the new location 2023-02-20 17:05:08 +02:00
Teemu Ikonen
46ffcf590a Move all locators to ols.locator 2023-02-20 17:01:54 +02:00
Teemu Ikonen
8430474642 locators: Add StrongestCellLocator, refactor 2023-02-20 14:05:02 +02:00
Teemu Ikonen
3edc547eb4 server: Convert 'radioType' to upper case after validation 2023-02-20 14:04:12 +02:00
Teemu Ikonen
a2e610539b locators: Support multiple resolvers in SingleWifiLocator(s) 2023-02-20 14:04:12 +02:00
Teemu Ikonen
1bcafb3a90 Support multiple resolvers in clustering locator 2023-02-20 14:04:12 +02:00
Teemu Ikonen
091d54e962 Split 'backends' in config to 'locators' and 'resolvers'
Use only the first resolver in resolver lists, for now.
2023-02-20 14:04:12 +02:00
Teemu Ikonen
ac53b20901 wiglenet: Add WiglenetCacheOnlyResolver 2023-02-20 13:52:22 +02:00
Teemu Ikonen
0f3ad977f3 cellid: Add a dummy resolve_wifi method, fix docstring 2023-02-20 13:52:22 +02:00
Teemu Ikonen
9f2009a360 Add a clustering locator based on Ichnaea algorithms 2023-02-20 13:51:21 +02:00
Teemu Ikonen
1c4d9324bd setup.cfg: Ignore Q000 (quotes) in flake8 2023-02-14 16:37:34 +02:00
Teemu Ikonen
9dab2b2730 cellid: Reduce debug logging, always use upper case radiotype 2023-02-14 16:37:34 +02:00
Teemu Ikonen
6454f1d5ee wiglenet: Reduce debug logging 2023-02-14 16:37:34 +02:00
Teemu Ikonen
c359bc46d1 wiglenet: Add 'cacheonly' kwarg to resolvers 2023-02-14 16:37:34 +02:00
Teemu Ikonen
422d1e3c23 wiglenet: Fix queries and validation for cell networks 2023-02-14 16:37:34 +02:00
Teemu Ikonen
5f9a4ac43a server: Make sure 'cellTowers' items have a 'radioType' key 2023-02-14 16:37:34 +02:00
Teemu Ikonen
95f1ec1070 utils: Fix mcc_mnc_to_opc(), add docstring 2023-02-14 16:37:34 +02:00
Teemu Ikonen
27fffb5fbd wiglenet: Return default radius, if it's not available 2023-02-07 18:59:21 +02:00
Teemu Ikonen
d97b60cd1f utils: Fix webmercator_tile() 2023-01-24 21:30:24 +02:00
Teemu Ikonen
5835e16620 server: Improve locate request info log message 2023-01-11 20:46:58 +02:00
Teemu Ikonen
00434b8d62 flake8 2023-01-11 19:30:16 +02:00
Teemu Ikonen
d9aa32af68 utils: Add message to AssertionError in webmercator_tile() 2023-01-11 19:09:15 +02:00
Teemu Ikonen
c2429c8535 wiglenetschemas: Allow null on most string values 2023-01-11 18:01:49 +02:00
Teemu Ikonen
190c913d32 server: Add v2/geosubmit endpoint 2022-12-21 18:00:35 +02:00
Teemu Ikonen
3714f12054 obsdb: Implement insert_submit() 2022-12-21 17:49:23 +02:00
Teemu Ikonen
1d275ec4ea obsdb: Add accuracy column to observation database 2022-12-21 17:44:42 +02:00
Teemu Ikonen
fc51ad4fdd obsdb: Add 'cdma' and 'nr' radiotype enums 2022-12-21 17:27:32 +02:00
Teemu Ikonen
b47b0da38e obsdb: Refactor insert_locate() 2022-12-21 16:03:38 +02:00