Ignore:
Timestamp:
2013-01-28T14:06:52+01:00 (11 years ago)
Author:
bastiK
Message:

add session support for marker layers (see #4029)

The data is exported to a separate GPX file that contains one waypoint for each marker.
This is not very elegant, because most of the time, all the info is already contained in the original GPX File.
However, when dealing with audio markers, they can be synchronized, or additional markers are added
at certain playback positions. This info must be retained.
Another complication is, that two or more MarkerLayers can be merged to one.

All these problems are avoided by explicitly exporting the markers to a separate file (as done in this commit).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/session/ImagerySessionImporter.java

    r5391 r5684  
    88import java.util.Map;
    99
     10import org.w3c.dom.Element;
     11import org.w3c.dom.Node;
     12import org.w3c.dom.NodeList;
     13
    1014import org.openstreetmap.josm.data.Preferences;
    1115import org.openstreetmap.josm.data.imagery.ImageryInfo;
     
    1620import org.openstreetmap.josm.io.IllegalDataException;
    1721import org.openstreetmap.josm.io.session.SessionReader.ImportSupport;
    18 import org.w3c.dom.Element;
    19 import org.w3c.dom.Node;
    20 import org.w3c.dom.NodeList;
    2122
    2223/**
Note: See TracChangeset for help on using the changeset viewer.