Skip to content

Commit

Permalink
Add scripts for JOSM presets
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Jan 6, 2025
1 parent 253e3e5 commit d9af09c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 6 additions & 0 deletions QuickOSM/resources/JOSM_preset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Update presets

Website : https://josm.openstreetmap.de/wiki/Presets
Presets : https://github.com/simonpoole/beautified-JOSM-preset/releases

Launch `./update.sh` by checking first the version inside with the latest release on GitHub
9 changes: 3 additions & 6 deletions QuickOSM/resources/JOSM_preset/directory.md → QuickOSM/resources/JOSM_preset/update.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Update presets
#!/bin/bash

Website : https://josm.openstreetmap.de/wiki/Presets
Presets : https://github.com/simonpoole/beautified-JOSM-preset/releases
set -e

```bash
cd QuickOSM/resources/JOSM_preset
#cd QuickOSM/resources/JOSM_preset
wget https://josm.openstreetmap.de/export/HEAD/josm/trunk/resources/data/defaultpresets.xml -O defaultpresets.xml
wget https://github.com/simonpoole/beautified-JOSM-preset/releases/latest/download/josm_preset.xml -O josm_preset.xml
wget https://github.com/simonpoole/beautified-JOSM-preset/releases/latest/download/josm_preset_orig_icons.xml -O josm_preset_orig_icons.xml
Expand All @@ -19,4 +17,3 @@ mv /tmp/vespucci/*.po ../i18n
echo ${VERSION} > ../i18n/version.txt*
echo ${VERSION} > version.txt
cd .. && zip i18n.zip -r i18n
```

0 comments on commit d9af09c

Please sign in to comment.