networklocation: pin cells-v3.wpsdb built from the Apple crawl
- Commit
2c8878a27e1b79ba2b0582ce992cf7ec0b159ab1- Author
- Vayun Mathur <[email protected]>
- When
- 2026-10-30 17:08 UTC (1 month ago)
- Parents
cf44985
The cell store at data.maproj.org/wps/cells-v3.wpsdb was rebuilt from the worldwide crawl of Apple's gs-loc endpoint (plus gs-loc-cn for MCC 460) and uploaded 2026-10-30: 20,216,517 LTE towers, 416 MiB, up from 99.8 MB. Coverage is global (230 MCCs, all located, median accuracy 3.3 km); China is included via the AutoNavi-backed CN host. The new store is already live at the production URL, so the old pin would make fresh downloads fail hash verification. Nothing else about the format changed: WPSDB2 kind-2 payload, 84-bit cell keys, LTE radio wire value 3, altitude unknown for every record (the cell response has no altitude field). Verified: shard key packing round-trips against BeaconKeys.kt, wps_build read-back verification of all 20,216,517 records, R2 ETag matches the local MD5, and the public URL serves the new file.
Diff
networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.kt
diff --git a/networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.kt b/networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.ktindex c90820d309..a8e24b7c29 100644--- a/networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.kt+++ b/networklocation/src/main/java/com/vayunmathur/networklocation/OfflineDatabases.kt@@ -64,7 +64,7 @@ object OfflineDatabases { // A device that has a store counts it as installed and never refetches it, so new // content for a beacon store must ship under a new filename, not just a new hash. WIFI -> "c8aa83f577d90d250d76912df2adde8a8e0d0bc0dcb4c87fe9e9916a59e822db"- CELL -> "3c7bf475e58f1c912aa45d47ac12d7cd7e76fc2c4d10c3b46859b1027e7660c3"+ CELL -> "831a0b961e0c37ba1b65f53bd79c70bba0fdb6698cae0cf5b6857042ab253ae7" else -> null }