aricooperdavis / OS-Maps-app-tools

Python tools for extracting and converting maps from the OS Maps app
GNU General Public License v3.0
2 stars 1 forks source link

`obgl-offline.db` missing #1

Closed aricooperdavis closed 1 year ago

aricooperdavis commented 1 year ago

It looks like a recent update to the OS Maps App has removed the obgl-offline.db file that we were using to extract the offline map data.

A very brief poke around reveals /data/data/uk.co.ordnancesurvey.osmaps/files/.mapbox/map_data/map_data.db as a likely new candidate for our offline tile store.

Whilst this gives us most of what we need (the tiles, bounds, zoom levels etc), it doesn't seem to include the names of the regions. More poking around required, then a brief update of the code to work with this new DB file.

aricooperdavis commented 1 year ago

Further investigation suggests that the corresponding map names are in .../databases/customOfflineMaps.db, so we'll have to parse two databases to match up map names to maps themselves :roll_eyes: