Hi,

There is no general general cache explorer for JCS, as it is
implementation dependant, what it stores in the cache. Generally -
what's in there, it's just plain Java objects.

So what you could do, is to create small java program, that would
extract all the files from JOSM cache, based on josm.jar. And further
functionality just depends on what you want to do with cache content.

Cheers,

Wiktor

2015-06-01 20:45 GMT+02:00 Holger Mappt <holger...@gmx.net>:
> Hi,
>
> Is this something I can do on the command line or do I need to write a Java
> program?  What would be a good starting point?  I was assuming that there is
> some kind of cache explorer, but I couldn't find one.
>
> Thanks,
> Holger
>
>
>
> Am 28.05.2015 um 22:14 schrieb Wiktor Niesiobedzki:
>>
>> Hi,
>>
>> This is +/- "propietary" standard of Apache Java Caching System
>> (https://commons.apache.org/proper/commons-jcs/). We are currently
>> using Indexed Disk Cache as store for tiles, so the easiest way
>> forward, is just to use JCS, to read the file, and then use keySet()
>> method, to get all the data that is stored in cache.
>>
>> Cheers,
>>
>> Wiktor
>>
>> 2015-05-28 20:30 GMT+02:00 Holger Mappt <holger...@gmx.net>:
>>>
>>> Hi,
>>>
>>> I assume the new TMS cache with the files TMS.data and TMS.key uses some
>>> standard.  What tools can I use to extract the images from that cache? I
>>> do
>>> some post-processing for offline mapping with Mapserver.
>>>
>>> Thanks,
>>> Holger

_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to