brajabasi / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Get rid of the database #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The database is supposed to keep a track of the tiles that are on the file 
system, and delete old 
ones when the cache exceeds a certain size.

This isn't fully implemented because 
OpenStreetMapTileProviderDataBase.deleteOldest is commented 
out.

But it is never going to work properly because you can never be sure that the 
database corresponds 
to the reality of the file system, especially if you use an external tool to 
download tiles, such 
as OSMMapTilePackager.

The database adds quite an overhead to the CPU usage.

So it would be better to just get rid of the database altogether.

Original issue reported on code.google.com by neilboyd on 14 Apr 2010 at 2:25

GoogleCodeExporter commented 8 years ago

Original comment by neilboyd on 15 Apr 2010 at 2:12

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r174.

Original comment by neilboyd on 12 May 2010 at 8:33