Changeset 12852 in josm for trunk/scripts
- Timestamp:
- 2017-09-14T02:06:03+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/TagInfoExtract.groovy
r12760 r12852 45 45 import org.openstreetmap.josm.gui.tagging.presets.items.KeyedItem.MatchType 46 46 import org.openstreetmap.josm.io.CachedFile 47 import org.openstreetmap.josm.spi.preferences.Config 47 48 import org.openstreetmap.josm.tools.Logging 48 49 import org.openstreetmap.josm.tools.RightAndLefthandTraffic … … 382 383 Logging.setLogLevel(Logging.LEVEL_INFO) 383 384 Main.pref.enableSaveOnPut(false) 385 Config.setPreferencesInstance(Main.pref) 384 386 Main.setProjection(Projections.getProjectionByCode("EPSG:3857")) 385 387 Path tmpdir = Files.createTempDirectory(FileSystems.getDefault().getPath(base_dir), "pref")
Note:
See TracChangeset
for help on using the changeset viewer.