Modify

Opened 15 years ago

Closed 15 years ago

#4418 closed enhancement (fixed)

Support zip files for presets and styles

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

Description

The presets and style handling should support zip files additional to the current http-links in the files.

Attachments (0)

Change History (3)

comment:1 by Gubaer, 15 years ago

This ticket has been created due to lessons learned in the Haiti Earthquake Response.

stoecker wrote. : From my point of view the internal mechanism (maybe except support of zip files) are enough. What is missing seems to be the help support so people actually find the mechanisms. The presets list does not contain one of the presets you mention till now. Please any followups in Trac ticket.

This is because currently you can't deploy a preset "package" consisting of the preset definition and additional icons in one go. That's why I came up with this solution in the Haiti Earthquake Response.

As described before, the crucial new feature is the packaging. Auto-update from an update site should be handles as is, but it should allow to distribute "packages" too. In addition, I'd like to "drop" a "preset package" in a dedicated directory to install it automatically - no configuration in the preferences required.

comment:2 by stoecker, 15 years ago

This is because currently you can't deploy a preset "package" consisting of the preset definition and additional icons in one go.

This is untrue. You only need to use HTTP-links in the .xml. JOSM will take care of downloading and caching itself. See e.g. the FreieTonne XML's.

As said: There is a missing understanding of already existing features.

Thought zip packages should nevertheless be supported. I had a short look:

  • Java supports this with ZipFile.
  • Probably easiest would be to load zip files as normal files and automagically add them as image sources as well during that process. This means changes would be marginal and ZIP's could be supported easily.

comment:3 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

(In [2889]) close #4418 - support zip files for styles and presets

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. 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.