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 , 15 years ago
comment:2 by , 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 , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.