Changeset 4071 in osm for applications/editors
- Timestamp:
- 2007-08-10T13:39:56+02:00 (17 years ago)
- Location:
- applications/editors/josm/plugins/lakewalker
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/lakewalker/README
r3976 r4071 1 1 A JOSM plugin to interface to Darryl Shpak's Lakewalker module 2 3 - On-screen feedback to Lakewalker progress 4 - Tag ways appropriately 5 - limit ways to length 6 - Access all lakewalker options via preferences and via ctrl-click pop-up dialog 7 - Manage Landsat image cache from Prefs screen 8 - ... -
applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerAction.java
r4061 r4071 32 32 33 33 /** 34 * A plugin to add ways manipulation things34 * Interface to Darryl Shpak's Lakewalker module 35 35 * 36 * @author Thomas.Walraet36 * @author Brent Easton 37 37 */ 38 38 class LakewalkerAction extends JosmAction implements MouseListener { … … 93 93 target += " --top=" + topLeft.lat(); 94 94 target += " --bottom=" + botRight.lat(); 95 target += " --maxnodes=1000";96 95 target += " --josm"; 97 96 … … 114 113 BufferedReader err = new BufferedReader(new InputStreamReader (p.getErrorStream())) ; 115 114 115 /* 116 * Lakewalker will output data it stdout. Each line has a code 117 * in character 1 indicating the type of data on the line: 118 * 119 * m text - Status message 120 * l name [size] - Access landsat image name. size is returned if it needs to be downloaded. 121 * e text - Error message 122 * s nnn - Start node data stream, nnn seperate tracings to follow 123 * t nnn - Start tracing, nnn nodes to follow 124 * x [o] - End of Tracing. o indicates do not connect last node to first 125 * n lat lon [o] - Node. o indicates it is an open node (not connected to the previous node) 126 * z - End of data stream 127 */ 116 128 while ((line = input.readLine()) != null) { 117 129 System.out.println(line); … … 162 174 163 175 if (!commands.isEmpty()) { 164 Main.main. editLayer().add(new SequenceCommand(tr("Lakewalker trace"), commands));176 Main.main.undoRedo.add(new SequenceCommand(tr("Lakewalker trace"), commands)); 165 177 Main.ds.setSelected(way); 166 178 } -
applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerPlugin.java
r4061 r4071 17 17 public class LakewalkerPlugin extends Plugin { 18 18 19 public static final String VERSION = "0. 1";19 public static final String VERSION = "0.2"; 20 20 public static final String PREF_PYTHON = "lakewalker.python"; 21 21
Note:
See TracChangeset
for help on using the changeset viewer.