ols: synthesize cell tower data when no exact match is found
This commit is contained in:
parent
1f48f41927
commit
a603c3e6bc
|
@ -4,7 +4,8 @@
|
||||||
# and caching those on-disk so that repeat queries may be serviced offline.
|
# and caching those on-disk so that repeat queries may be serviced offline.
|
||||||
#
|
#
|
||||||
# it listens on localhost:8088, and one can validate its operation with a query like (substitute macAddresses for something real):
|
# it listens on localhost:8088, and one can validate its operation with a query like (substitute macAddresses for something real):
|
||||||
# curl -d '{"wifiAccessPoints":[{"macAddress":"01:23:45:67:89:ab","signalStrength":-78},{"macAddress":"cd:ef:01:23:45:56","signalStrength":-76}]}' http://127.0.0.1:8088/v1/geolocate
|
# - WiFi: curl -d '{"wifiAccessPoints":[{"macAddress":"01:23:45:67:89:ab","signalStrength":-78},{"macAddress":"cd:ef:01:23:45:56","signalStrength":-76}]}' http://127.0.0.1:8088/v1/geolocate
|
||||||
|
# - Cell: curl -d '{"cellTowers":[{ "radioType": "lte", "mobileCountryCode": 310, "mobileNetworkCode": 260, "locationAreaCode": NNNNN, "cellId": MMMMMMMM }]}' http://127.0.0.1:8088/v1/geolocate
|
||||||
#
|
#
|
||||||
## wigle docs:
|
## wigle docs:
|
||||||
# - IRC: #wigle on WiGLE.net:6667
|
# - IRC: #wigle on WiGLE.net:6667
|
||||||
|
|
|
@ -18,11 +18,12 @@
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitea {
|
||||||
# my dev branch has a few changes:
|
# my dev branch has a few changes:
|
||||||
# - fix `cellid-ols-import` to make --mcc, --mnc actually be optional
|
# - fix `cellid-ols-import` to make --mcc, --mnc actually be optional
|
||||||
|
# - synthesize cell locations when no exact match is found
|
||||||
domain = "git.uninsane.org";
|
domain = "git.uninsane.org";
|
||||||
owner = "colin";
|
owner = "colin";
|
||||||
repo = "ols";
|
repo = "ols";
|
||||||
rev = "810508aa7e1fad0257d1a2cf8d7a212a85868a99";
|
rev = "2caacd27a6253f711d0820ae51e6fe178bd80343";
|
||||||
hash = "sha256-ybSyj+4GbA7nHI8tT423wwcwvUcJo+v8avlOMpoMK14=";
|
hash = "sha256-vzvEraBi71xz1rjQWFRFKkAaVO9ASNQ2dTvT6y+xihI=";
|
||||||
};
|
};
|
||||||
# src = fetchFromGitea {
|
# src = fetchFromGitea {
|
||||||
# domain = "codeberg.org";
|
# domain = "codeberg.org";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user