Changeset 30636 in osm for applications
- Timestamp:
- 2014-09-15T01:04:28+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/waydownloader
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/waydownloader/README
r15412 r30636 4 4 The way downloader plugin allows easy downloading along a long set of interconnected ways. 5 5 6 Created by Harry Wood mainly as a learning ex cercise. May be a bit buggy!6 Created by Harry Wood mainly as a learning exercise. May be a bit buggy! -
applications/editors/josm/plugins/waydownloader/src/org/openstreetmap/josm/plugins/waydownloader/WayDownloaderPlugin.java
r29908 r30636 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.waydownloader; 2 3 … … 19 20 import org.openstreetmap.josm.command.Command; 20 21 import org.openstreetmap.josm.data.Bounds; 21 import org.openstreetmap.josm.data.osm.BBox;22 22 import org.openstreetmap.josm.data.osm.DataSet; 23 23 import org.openstreetmap.josm.data.osm.DataSource; … … 41 41 private Way priorConnectedWay = null; 42 42 private Node selectedNode = null; 43 44 43 45 44 /** Plugin constructor called at JOSM startup */ … … 123 122 return; 124 123 } 125 priorConnectedWay = connectedWays.get(0);124 priorConnectedWay = connectedWays.get(0); 126 125 127 126 //Download a little rectangle around the selected node 128 double latbuffer =0.0003; //TODO make this an option129 double lonbuffer =0.0005;127 double latbuffer = Main.pref.getDouble("waydownloader.latbuffer", 0.00001); 128 double lonbuffer = Main.pref.getDouble("waydownloader.latbuffer", 0.00002); 130 129 DownloadOsmTask downloadTask = new DownloadOsmTask(); 131 130 final PleaseWaitProgressMonitor monitor = new PleaseWaitProgressMonitor();
Note:
See TracChangeset
for help on using the changeset viewer.