[Marble-devel] Review Request: No unnecessary tile redownloads when downloading a region/route

Dennis Nienhüser earthwings at gentoo.org
Sat Feb 4 10:59:33 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103864/
-----------------------------------------------------------

Review request for Marble.


Description
-------

When requesting to download a region/route, currently all affected tiles are downloaded, regardless whether they already exist on disk. A duplication check is done for files in the download queue, but additionally it should be checked whether a file already exists and is not expired.

Not downloading these tiles again makes downloading regions much faster and removes some burden from the servers downloaded from.


Diffs
-----

  src/lib/MarbleMap.cpp 90238da 
  src/lib/StackedTileLoader.h df7c31e 
  src/lib/StackedTileLoader.cpp 96c737a 
  src/lib/TileLoader.h 0c088a7 
  src/lib/TileLoader.cpp c6e79e3 
  src/lib/layers/TextureLayer.h efc9ef2 
  src/lib/layers/TextureLayer.cpp a7943bf 

Diff: http://git.reviewboard.kde.org/r/103864/diff/diff


Testing
-------

Downloading regions and checking that
- not yet existing tiles are downloaded
- expired tiles are downloaded (touch -d 'last month' path/to/tile is your friend)
- already available tiles are not queued for download


Thanks,

Dennis Nienhüser

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120204/779208c5/attachment.html>


More information about the Marble-devel mailing list