6
19
Fork
You've already forked ols
2

Implement support for native m8b files #12

Merged
tpikonen merged 8 commits from m8b-mapping into main 2025年01月13日 17:16:11 +01:00

The conversion from m8b to msgpack seems to be a source of problems, so add support for the wigle.net m8b files without conversion to msgpack. The file (only the latest one is correctly constructed) works either as-downloaded (with gzip compression) or unpacked. What little documentation there is, is in the example configuration file.

The unpacked file allows much faster queries because they can be memory mapped, but the uncompressed file takes a lot of space. Queries from gzipped files are very slow, but there's a cache which speeds up things considerably after after the first few queries, which likely time out.

I would appreciate some external testing before merging this, @magdesign and @duplexsystem have at least shown interest to this.

The conversion from m8b to msgpack seems to be a source of problems, so add support for the wigle.net m8b files without conversion to msgpack. The file (only the latest one is correctly constructed) works either as-downloaded (with gzip compression) or unpacked. What little documentation there is, is in the example configuration file. The unpacked file allows much faster queries because they can be memory mapped, but the uncompressed file takes a lot of space. Queries from gzipped files are very slow, but there's a cache which speeds up things considerably after after the first few queries, which likely time out. I would appreciate some external testing before merging this, @magdesign and @duplexsystem have at least shown interest to this.
First-time contributor
Copy link

its a bit hard to test since the data seems pretty outdated. for the location i am currently in, m8b shows a way further location.... when going online, becondb works because i pushed my location to the database... wondering if taking beacondb offline to the device would help or just going with collecting a local db...

its a bit hard to test since the data seems pretty outdated. for the location i am currently in, m8b shows a way further location.... when going online, becondb works because i pushed my location to the database... wondering if taking beacondb offline to the device would help or just going with collecting a local db...
Author
Owner
Copy link

its a bit hard to test since the data seems pretty outdated.

I've had pretty good results with he latest m8b release here, with only occasionally getting a totally wrong location. The data is old (end of 2022) and somewhat sparse though, so it's probably not as good in most places. Merging this in any case.

> its a bit hard to test since the data seems pretty outdated. I've had pretty good results with he latest m8b release here, with only occasionally getting a totally wrong location. The data is old (end of 2022) and somewhat sparse though, so it's probably not as good in most places. Merging this in any case.
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tpikonen/ols!12
Reference in a new issue
tpikonen/ols
No description provided.
Delete branch "m8b-mapping"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?