﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13795	Can't flush cache with local TMS layer	naoliv	wiktorn	"I am doing some tests with a local TMS layer (`tms[18]:file:///path/{zoom}/{x}/{y}.png`) and I was noticing that it's not possible to flush its cache (the menu option is disabled).

It's a little problematic, because when I recreate the tiles I see places like this:
[[Image(https://i.imgur.com/nzPR4Kk.png)]]

Old style in some areas, new style in other areas.

And it's necessary to remove the layer and add it again to have all the tiles reloaded.

1) Couldn't we have the flush cache option enabled for cases like this? (so a single click on flush would reload all the tiles again)

2) Is it possible to see if the local files were modified after they were loaded and, if yes, reload them? (something similar with inotify in Java)

JOSM:
{{{
Build-Date:2016-10-12 21:30:35
Revision:11124
Is-Local-Build:true

Identification: JOSM/1.5 (11124 SVN pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 687 MB / 10206 MB (221 MB allocated, but free)
Java version: 1.8.0_102-8u102-b14.1-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-8-jre:amd64-8u102-b14.1-2
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-9
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugins:
+ Create_grid_of_ways (32699)
+ ImportImagePlugin (32699)
+ OpeningHoursEditor (32699)
+ PicLayer (32796)
+ RoadSigns (32796)
+ SimplifyArea (32796)
+ apache-commons (32699)
+ buildings_tools (32944)
+ conflation (0.3.0)
+ contourmerge (1022)
+ download_along (32946)
+ editgpx (32699)
+ ejml (32680)
+ geojson (43)
+ geotools (32813)
+ importvec (32699)
+ indoorhelper (32680)
+ jts (32699)
+ log4j (32699)
+ measurement (32936)
+ merge-overlap (32699)
+ opendata (32898)
+ pbf (32865)
+ pdfimport (32796)
+ poly (32699)
+ reverter (32796)
+ scripting (30760)
+ tageditor (33021)
+ todo (30000)
+ turnlanes (32796)
+ turnlanes-tagging (252)
+ turnrestrictions (32796)
+ undelete (32699)
+ utilsplugin2 (32815)
}}}"	enhancement	closed	normal	16.10	Core imagery		fixed		
