Changeset 14120 in josm for trunk/scripts
- Timestamp:
- 2018-08-11T17:29:48+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/TagInfoExtract.groovy
r14119 r14120 33 33 import org.openstreetmap.josm.data.preferences.JosmBaseDirectories; 34 34 import org.openstreetmap.josm.data.preferences.JosmUrls 35 import org.openstreetmap.josm.data.projection.ProjectionRegistry 35 36 import org.openstreetmap.josm.data.projection.Projections 36 37 import org.openstreetmap.josm.gui.NavigatableComponent … … 418 419 Config.setBaseDirectoriesProvider(JosmBaseDirectories.getInstance()) 419 420 Config.setUrlsProvider(JosmUrls.getInstance()) 420 Main.setProjection(Projections.getProjectionByCode("EPSG:3857"))421 ProjectionRegistry.setProjection(Projections.getProjectionByCode("EPSG:3857")) 421 422 Path tmpdir = Files.createTempDirectory(FileSystems.getDefault().getPath(base_dir), "pref") 422 423 tmpdir.toFile().deleteOnExit()
Note:
See TracChangeset
for help on using the changeset viewer.