Ignore:
Timestamp:
2007-08-10T13:39:56+02:00 (17 years ago)
Author:
brent
Message:

Version 0.2 Lakewalker - support for multi data layers

Location:
applications/editors/josm/plugins/lakewalker
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/lakewalker/README

    r3976 r4071  
    11A 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  
    3232
    3333/**
    34  * A plugin to add ways manipulation things
     34 * Interface to Darryl Shpak's Lakewalker module
    3535 *
    36  * @author Thomas.Walraet
     36 * @author Brent Easton
    3737 */
    3838class LakewalkerAction extends JosmAction implements MouseListener {
     
    9393   target += " --top=" + topLeft.lat();
    9494   target += " --bottom=" + botRight.lat();
    95    target += " --maxnodes=1000";
    9695   target += " --josm";
    9796   
     
    114113    BufferedReader err = new BufferedReader(new InputStreamReader (p.getErrorStream())) ;
    115114   
     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     */
    116128    while ((line = input.readLine()) != null) {
    117129      System.out.println(line);
     
    162174   
    163175   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));
    165177     Main.ds.setSelected(way);
    166178   }
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerPlugin.java

    r4061 r4071  
    1717public class LakewalkerPlugin extends Plugin {
    1818
    19   public static final String VERSION = "0.1";
     19  public static final String VERSION = "0.2";
    2020  public static final String PREF_PYTHON = "lakewalker.python";
    2121 
Note: See TracChangeset for help on using the changeset viewer.