[josm-dev] jmapviewer / tilecache hashing

Florian Lohoff f at zz.de
Mon Jan 14 13:02:17 GMT 2013


Hi,

i am using tile caching for bing extensively as i live in a rural area
and connectivity is low-speed by todays standards.

After a while i noticed that the tile cache directory gets awfully
crowded with files.

flo at p2:~/.josm/tilecache/Bing Aerial Maps$ ls -1 | wc -l
332731

Something like this is basically a worst case for all of todays
filesystems.

I tried having a look at the jmapviewer which seems to be the origin of
the cache structure.

Is/Has anybody working/ed on the cache directory layout? E.g. 

- Hashed directories like with squid
- Make the tags an integral part of the file e.g. reserve the first
  2-500 bytes of the file

Flo
-- 
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20130114/058ff131/attachment.pgp>


More information about the josm-dev mailing list