Changeset 13767 in josm for trunk/scripts
- Timestamp:
- 2018-05-15T02:23:48+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.groovy
r13714 r13767 23 23 import javax.json.JsonReader 24 24 25 import org.openstreetmap.josm.data.Preferences 25 26 import org.openstreetmap.josm.data.imagery.ImageryInfo 26 27 import org.openstreetmap.josm.data.imagery.Shape 28 import org.openstreetmap.josm.data.preferences.JosmBaseDirectories 27 29 import org.openstreetmap.josm.data.projection.Projections 28 30 import org.openstreetmap.josm.data.validation.routines.DomainValidator 29 31 import org.openstreetmap.josm.io.imagery.ImageryReader 32 import org.openstreetmap.josm.spi.preferences.Config 30 33 31 34 class SyncEditorLayerIndex { … … 55 58 Locale.setDefault(Locale.ROOT); 56 59 parse_command_line_arguments(args) 60 def pref = new Preferences(JosmBaseDirectories.getInstance()) 61 pref.init(false) 62 Config.setPreferencesInstance(pref) 57 63 def script = new SyncEditorLayerIndex() 58 64 script.setupProj()
Note:
See TracChangeset
for help on using the changeset viewer.