Modify

Opened 10 months ago

Closed 10 months ago

Last modified 6 months ago

#15816 closed enhancement (fixed)

Add .xz additional to .bz2 which gets replaced more and more by xz

Reported by: stoecker Owned by: team
Priority: normal Milestone: 18.01
Component: Core Version:
Keywords: xz compression Cc:

Description

It seems there is and Java library for .xz support

https://tukaani.org/xz/java.html

Attachments (0)

Change History (10)

comment:1 Changed 10 months ago by Don-vip

It's already in Commons Compress, shouldn't be too difficult to add.

comment:2 Changed 10 months ago by Don-vip

Keywords: xz compression added

comment:3 Changed 10 months ago by stoecker

In 13350/josm:

see #15816 - add XZ support

comment:4 Changed 10 months ago by stoecker

Commons uses the tukaani classes as well.

There are a couple of warnings in tukaani. Can you have a look and maybe also if you find other necessary changes? I could load and store a xz.gpx file.

Last edited 10 months ago by stoecker (previous) (diff)

comment:5 Changed 10 months ago by stoecker

In 13351/josm:

see #15816 - add XZ support (commons LZMA not needed)

comment:6 Changed 10 months ago by stoecker

Milestone: 18.01

comment:7 Changed 10 months ago by Don-vip

Ah you beat me to it, I was coding the same thing :) I'm currently reworking OsmServerReader methods to take a Compression parameter instead of the several methods parse*Zip(), parse*BZip2(), etc.

comment:8 Changed 10 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 13352/josm:

fix #15816 - full XZ support

comment:9 Changed 10 months ago by Don-vip

In 13353/josm:

see #15816 - remove unneeded classes

comment:10 Changed 6 months ago by Don-vip

In 13865/josm:

see #15816 - ignore XZ classes in spotbugs analysis

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.