Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage usage for Map sources with storage format as "One image file per tile" is not accurate #20859

Closed
Guylby opened this issue Sep 17, 2024 · 2 comments
Milestone

Comments

@Guylby
Copy link

Guylby commented Sep 17, 2024

Description

Hi,

I've noticed that in Osmand 4.8 and 4.9 (possibly before), if using custom map sources with the storage settings as "One image file per tile", the size used shown in the Maps & Resources is always 3.4kB even if you have downloaded a lot of tiles for these map sources. This make it hard to know how much space is used by these overlays.
This does not happen when using sqlitedb as the storage format (then size used is accurate)

Steps to reproduce

Had a custom map source and use the "One image file per tile" storage setting. Download some tiles, and notice in the "Maps & Resources" menu that usage is not updated.

Actual result

"Maps & Resources" menu usage is not updated and stuck at 3.4kB:

Expected result

"Maps & Resources" menu that usage is updated.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version: 4.9.0
Android/iOS version: 13
Device model: Sony Xperia 10III
Crash-Logs: ?
@yuriiurshuliak
Copy link

The issue has been reproduced. To replicate it, enable the Online Maps plugin. Navigate to Menu → Configure map → Map source… → Add, then add multiple maps and upload them. Select an area, long-press the map, and in the context menu, choose Actions followed by the Download map option. On the Download Map screen, adjust the settings as needed and tap Download.

After downloading several online maps, go to Menu → Maps & Resources → Local → Map Sources, where you will see that each map only shows a size of 3.4kB, even though the actual online maps uploaded were several tens of megabytes.

OsmAnd~ 4.9.0#3203m, released: 2024-09-17

@vshcherb vshcherb added this to the 4.9-android milestone Oct 28, 2024
@vshcherb
Copy link
Member

Fixed here #20974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants