Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#12374 closed enhancement (fixed)

[patch] compression option for autosave

Reported by: kolesar Owned by: team
Priority: normal Milestone: 16.02
Component: Core Version:
Keywords: compression autosave Cc:


Topic is closely related to #12369 that has been committed as [9461].

When disk space or disk speed is an issue, compressing autosave files can help a lot. By setting preference autosave.extension to osm.gz JOSM saves compressed files in autosave folder.

This function needs patches in #12370 because AutosaveTask.getUnsavedLayersFiles() uses OsmImporter.FILE_FILTER. This included only .osm and .xml extensions, therefore did not find compressed files at startup in autosave folder. Combined filter contains .osm, .osm.gz and .osm.bz2 as well.

If accepted, this option can later have a dropdown list on preferences dialog (map settings / file backup).

Attachments (1)

AutosaveExtension.patch (918 bytes ) - added by kolesar 9 years ago.

Download all attachments as: .zip

Change History (4)

by kolesar, 9 years ago

Attachment: AutosaveExtension.patch added

comment:1 by Don-vip, 9 years ago

Keywords: compression autosave added
Milestone: 16.02

comment:2 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

In 9586/josm:

fix #12374 - compression option for autosave (patch by kolesar)

in reply to:  2 comment:3 by kolesar, 8 years ago

Replying to Don-vip:

In 9586/josm:

fix #12374 - compression option for autosave (patch by kolesar)

Thank you for committing. There is another pending patch closely related to this topic: #12392. Can you commit that, too?

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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