Modify

Opened 4 months ago

Closed 4 months ago

Last modified 4 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 (9)

comment:1 Changed 4 months ago by Don-vip

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

comment:2 Changed 4 months ago by Don-vip

Keywords: xz compression added

comment:3 Changed 4 months ago by stoecker

In 13350/josm:

see #15816 - add XZ support

comment:4 Changed 4 months ago by stoecker

Commons uses the tukaani classes as well.

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

Version 0, edited 4 months ago by stoecker (next)

comment:5 Changed 4 months ago by stoecker

In 13351/josm:

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

comment:6 Changed 4 months ago by stoecker

Milestone: 18.01

comment:7 Changed 4 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 4 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 13352/josm:

fix #15816 - full XZ support

comment:9 Changed 4 months ago by Don-vip

In 13353/josm:

see #15816 - remove unneeded classes

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.