Changeset 12852 in josm for trunk/scripts


Ignore:
Timestamp:
2017-09-14T02:06:03+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - fix taginfo script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/TagInfoExtract.groovy

    r12760 r12852  
    4545import org.openstreetmap.josm.gui.tagging.presets.items.KeyedItem.MatchType
    4646import org.openstreetmap.josm.io.CachedFile
     47import org.openstreetmap.josm.spi.preferences.Config
    4748import org.openstreetmap.josm.tools.Logging
    4849import org.openstreetmap.josm.tools.RightAndLefthandTraffic
     
    382383        Logging.setLogLevel(Logging.LEVEL_INFO)
    383384        Main.pref.enableSaveOnPut(false)
     385        Config.setPreferencesInstance(Main.pref)
    384386        Main.setProjection(Projections.getProjectionByCode("EPSG:3857"))
    385387        Path tmpdir = Files.createTempDirectory(FileSystems.getDefault().getPath(base_dir), "pref")
Note: See TracChangeset for help on using the changeset viewer.