Modify

Opened 3 years ago

Last modified 2 years ago

#21831 new enhancement

Add confirmation message to flush the tile cache

Reported by: JAT86 Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: template_report context menu flush tile cache Cc:

Description

What steps will reproduce the problem?

  1. Load a satellite imagery
  2. Right click on any loaded tile
  3. Click "Flush tile cache"

What is the expected result?

There should be a confirmation message to flush the tile cache, especially since it is just beside the "Load all error tiles" option. It is very annoying to accidentally flush the tile cache when you are saving data and/or internet is slow.

What happens instead?

No confirmation message to flush the tile cache is shown.

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-01-02 21:24:43 +0100 (Sun, 02 Jan 2022)
Revision:18360
Build-Date:2022-01-02 20:26:19
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18360 en) Linux Mint 20.2
Memory Usage: 797 MB / 934 MB (117 MB allocated, but free)
Java version: 11.0.13+8-Ubuntu-0ubuntu1.20.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1280×800 (scaling 1.00×1.00)
Maximum Screen Size: 1280×800
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_PH.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_PH
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: X-Cinnamon
Java package: openjdk-11-jre:amd64-11.0.13+8-0ubuntu1~20.04
libcommons-compress-java: libcommons-compress-java:-
libcommons-logging-java: libcommons-logging-java:-
fonts-noto: fonts-noto:all-20200323-1build1~ubuntu20.04.1
liboauth-signpost-java: liboauth-signpost-java:-
Dataset consistency test: No problems found

Plugins:
+ apache-commons (35893)
+ easypresets (1623509627)
+ ejml (35893)
+ geotools (35893)
+ jaxb (35893)
+ jts (35893)
+ opendata (35893)
+ utilsplugin2 (35893)

Tagging presets:
+ <josm.userdata>/EasyPresets.xml

Last errors/warnings:
- 10724.349 W: java.net.UnknownHostException: services.digitalglobe.com
- 10724.350 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 10724.350 W: java.net.UnknownHostException: services.digitalglobe.com
- 10724.350 W: java.net.UnknownHostException: services.digitalglobe.com
- 10724.350 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 10724.350 W: java.net.UnknownHostException: services.digitalglobe.com
- 10724.350 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 10724.350 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 10724.351 W: java.net.UnknownHostException: services.digitalglobe.com
- 10724.351 W: Already here java.net.UnknownHostException: services.digitalglobe.com

Attachments (0)

Change History (2)

comment:1 by skyper, 3 years ago

Component: CoreCore imagery
Keywords: context menu flush tile cache added

comment:2 by hasanahd984@…, 2 years ago

Revision:18463
Build-Date:2022-05-30 10:23:53

Identification: JOSM/1.5 (18463 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19044)
Memory Usage: 400 MB / 996 MB (77 MB allocated, but free)
Java version: 17.0.3+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1366×768 (scaling 1.00×1.00)
Maximum Screen Size: 1366×768
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1256
System property sun.jnu.encoding: Cp1256
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18463, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Last errors/warnings:
- 03646.846 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 03646.847 W: java.net.UnknownHostException: services.digitalglobe.com
- 03646.847 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 03646.848 W: java.net.UnknownHostException: services.digitalglobe.com
- 03646.848 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 03646.848 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 03646.848 W: Already here java.net.UnknownHostException: services.digitalglobe.com
- 03646.848 W: java.net.UnknownHostException: services.digitalglobe.com
- 03646.848 W: java.net.UnknownHostException: services.digitalglobe.com
- 03646.849 W: java.net.UnknownHostException: services.digitalglobe.com


cache.bing.attribution.xml=1656349830
cache.capabilities1637351842=1656182859
cache.motd.html=1656269591
cache.motd.html.java=17.0.3
cache.motd.html.lang=En:
cache.motd.html.version=18463
changesetdialog.lastHeight=0
commandstack.lastHeight=0
conflict.lastHeight=0
draw.rawgps.lines=-1
expert=false
filter.lastHeight=0
filter.visible=false
gui.geometry=x=0,y=0,width=1366,height=738
imagery.entries=[{max-zoom=22, min-zoom=1, noTileHeaders={"X-VE-Tile-Info":["no-tile"]}, noTileChecksums={"MD5":["c13269481c73de6e18589f9fbc3bdf7e"]}, metadataHeaders={"X-VE-TILEMETA-CaptureDatesRange":"Capture Date"}, transparent=true, minimumTileExpire=3600, name=Bing aerial imagery, id=Bing, type=bing, url=https://www.bing.com/maps/, permission-reference-url=https://wiki.openstreetmap.org/wiki/Bing_Maps, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo},
  {max-zoom=22, noTileHeaders={"Etag":["\"10i954m13i2\""]}, noTileChecksums={"MD5":["f27d9de7f80c13501f470595e327aa6d"]}, transparent=true, minimumTileExpire=3600, name=Esri World Imagery, id=EsriWorldImagery, type=tms, url=https://{switch:services,server}.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/Esri, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo},
  {max-zoom=22, transparent=true, minimumTileExpire=3600, name=Esri World Imagery (Clarity) Beta, id=EsriWorldImageryClarity, type=tms, url=https://clarity.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/Esri, permission-reference-url=https://github.com/osmlab/editor-layer-index/pull/358#issuecomment-361416110, cookies=, icon=data:image/png;base64,iVBORw0..., description=Esri archive imagery that may be clearer and more accurate than the default layer., customHttpHeaders={}, category=photo},
  {max-zoom=22, noTileHeaders={"ETag":["\"336b022ed883bc72347a637634e490d4\"|\"067736a547cafe90014b4e59b6510abe\"|\"ee1f6802b0234046b553cbbc672ac7d9\"|\"9f5a2f1d7cc131e58befc2052c71c827\""]}, noTileChecksums={"MD5":["58e78313d04adf0ea64b8de8590c3d46"]}, transparent=true, minimumTileExpire=3600, name=Mapbox Satellite, id=Mapbox, type=tms, url=https://{switch:a,b,c,d}.tiles.mapbox.com/v4/mapbox.satellite/{zoom}/{x}/{y}.jpg?access_token={apikey}, attribution-text=Terms & Feedback, attribution-url=https://www.mapbox.com/about/maps/, permission-reference-url=https://wiki.openstreetmap.org/wiki/Vertical_Aerial_Photographs#DigitalGlobe_.2F_MapBox, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo},
  {max-zoom=22, noTileChecksums={"MD5":["08d6916814b216570e5241732c41d5e5"]}, valid-georeference=true, transparent=true, minimumTileExpire=3600, name=Maxar Premium Imagery, id=Maxar-Premium, type=tms, url=https://services.digitalglobe.com/earthservice/tmsaccess/tms/1.0.0/DigitalGlobe:ImageryTileService@EPSG:3857@jpg/{zoom}/{x}/{-y}.jpg?connectId={apikey}, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/DigitalGlobe, cookies=, icon=data:image/png;base64,iVBORw0..., description=Maxar Premium is a mosaic composed of Maxar basemap with select regions filled with +Vivid or custom area of interest imagery, 50cm resolution or better, and refreshed more frequently with ongoing updates., customHttpHeaders={}, category=photo},
  {max-zoom=19, valid-georeference=true, modTileFeatures=true, transparent=true, minimumTileExpire=3600, name=OpenStreetMap Carto (Standard), id=standard, type=tms, url=https://tile.openstreetmap.org/{zoom}/{x}/{y}.png, attribution-text=© OpenStreetMap contributors, attribution-url=https://www.openstreetmap.org/, permission-reference-url=https://wiki.osmfoundation.org/wiki/Terms_of_Use, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=osmbasedmap}
]
imagery.layers.addedIds=[Maxar-Premium]
imagery.layers.default=[Bing, EsriWorldImagery, EsriWorldImageryClarity, Mapbox, Maxar-Premium, standard]
josm.version=18463
layerlist.lastHeight=130
layerlist.visible=true
mappaint.renderer-class-name=org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer
mappaint.style.known-defaults=[resource://styles/standard/elemstyles.mapcss, resource://styles/standard/potlatch2.mapcss]
mapstyle.lastHeight=0
mapstyle.visible=false
minimap.lastHeight=0
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/activate.svg?format_raw=[1656351574234, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_activate.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/delete.svg?format_raw=[1656351580547, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_delete.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/down.svg?format_raw=[1656351573808, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_down.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/geoimage.svg?format_raw=[1656351565092, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_geoimage.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist.svg?format_raw=[1656351514072, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/active.svg?format_raw=[1656351571508, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_active.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/colorfulness.svg?format_raw=[1656351575575, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_colorfulness.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/eye.svg?format_raw=[1656351572858, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_eye.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/gamma.svg?format_raw=[1656351576483, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_gamma.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/offset.svg?format_raw=[1656351572438, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_offset.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/scale.svg?format_raw=[1656351571937, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_scale.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/sharpness.svg?format_raw=[1656351576891, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_sharpness.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/transparency.svg?format_raw=[1656351575169, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_transparency.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/layerlist/visibility.svg?format_raw=[1656351574738, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_layerlist_visibility.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/notes/note_open.svg?format_raw=[1656351569983, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_notes_note_open.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/up.svg?format_raw=[1656351573260, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_up.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/dialogs/validator.svg?format_raw=[1656338038393, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_dialogs_validator.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/imagery_menu.svg?format_raw=[1656351567070, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_imagery_menu.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/layer/gpx_small.svg?format_raw=[1656351560243, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_layer_gpx_small.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/layer/marker_small.svg?format_raw=[1656351561340, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_layer_marker_small.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/layer/osmdata_small.svg?format_raw=[1656351514641, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_layer_osmdata_small.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/preferences/validator.svg?format_raw=[1656338038927, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_preferences_validator.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/browser/trunk/resources/images/wikimedia_commons.svg?format_raw=[1656351565621, <josm.cache>\images\mirror_https___josm.openstreetmap.de_browser_trunk_resources_images_wikimedia_commons.svg_format_raw]
mirror.<josm.cache>\images.https://josm.openstreetmap.de/raw-attachment/wiki/Help/Josm_main.jpg.svg=[1656338009035, <josm.cache>\images\mirror_https___josm.openstreetmap.de_raw-attachment_wiki_Help_Josm_main.jpg.svg]
mirror.https://josm.openstreetmap.de/maps=[1656273519161, <josm.cache>\mirror_https___josm.openstreetmap.de_maps]
mirror.https://josm.openstreetmap.de/remote/geofabrik-index-v1-nogeom.json=[1656182857164, <josm.cache>\mirror_https___josm.openstreetmap.de_remote_geofabrik-index-v1-nogeom.json]
notes/note_open.lastHeight=0
notes/note_open.visible=false
org.openstreetmap.josm.actions.ImageryAdjustAction$ImageryOffsetDialog.geometry=x=435,y=264,width=496,height=209
org.openstreetmap.josm.actions.OpenLocationAction.geometry=x=512,y=280,width=341,height=177
org.openstreetmap.josm.gui.download.DownloadDialog.geometry=x=183,y=69,width=1000,height=600
org.openstreetmap.josm.gui.help.HelpBrowser.geometry=x=0,y=0,width=1366,height=738
org.openstreetmap.josm.gui.preferences.PreferenceDialog.geometry=x=337,y=35,width=800,height=699
osm-download.bounds=35.366076;35.997144;35.3672681;35.9997725
preferences.reset.draw.rawgps.lines=true
propertiesdialog.lastHeight=159
propertiesdialog.visible=true
proxy.policy=use-http-proxy
relationlist.lastHeight=158
selectionlist.lastHeight=159
sidetoolbar.hidden.mapmode/move/move=true
sidetoolbar.visible=true
slippy_map_chooser.mapstyle=Maxar Premium Imagery
userlist.lastHeight=0
validator.lastHeight=0

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to JAT86.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.