Skip to content

Commit

Permalink
Add some information on using the presets in JOSM
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Dec 17, 2023
1 parent 6d7fd82 commit 8ecbdce
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The icons have been replaced with ones from http://www.sjjb.co.uk/mapicons/intro

The links to original icons remain if they currently don't have a replacement, current count is roughly 90 icons that either have not been replaced or are missing.

To make using the presets easier with the original JOSM icons we've added one level of indirection in that instead of directly containing a reference to an icon, we reference entries in beautified_icons.mapping and josm_icons.mapping that contain references to our and JOSM icons respectively.
To make using the presets easier with the original JOSM icons we've added one level of indirection in that instead of directly containing a reference to an icon, we reference entries in _beautified_icons.mapping_ and _josm_icons.mapping_ that contain references to our and JOSM icons respectively.

## Count of object presets

Expand All @@ -22,6 +22,16 @@ The preset file contained at last count a good 1'000 individual object presets v

Due to the touchy nature of the subject, presets for military objects have been moved out of the default preset to [military preset](http://simonpoole.github.io/military-preset/).

## Using in JOSM

You can link to the presets by using one of

https://github.com/simonpoole/beautified-JOSM-preset/releases/latest/download/josm.zip

https://github.com/simonpoole/beautified-JOSM-preset/releases/latest/download/josm_orig_icons.zip (for a version that uses the JOSM icons)

these will always return the current release of the specified file.

## Information for developers

### Understanding the preset schema
Expand All @@ -47,4 +57,4 @@ The presets are being translated on transifex [here](https://app.transifex.com/o

## Information on updates

Please follow us on [twitter](https://twitter.com/search?q=vespucci_editor) for updates.
Please follow us on [mastodon](https://en.osm.town/@vespucci_editor) for updates.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,12 @@ _josm_preset_orig_icons.xml_ - current preset for JOSM using icons distributed w
_vespucci_preset_build_v5.xml_ - current preset for building Vespucci 19 and later
_vespucci_preset_build.xml_ - current preset for building Vespucci pre version 19
_vespucci_icons.zip_ - icons from this project
## URLs
You can link to the files, for example for inclusion in JOSM, by using URLs of the form
https://github.com/simonpoole/beautified-JOSM-preset/releases/latest/download/_filename_
these will always return the current release of the specified file.
"""
}
Expand Down

0 comments on commit 8ecbdce

Please sign in to comment.