public static OsmPathElement create(final OsmPath path) {
        final OsmNode n = path.getTargetNode();
        final OsmPathElement pe = create(n.getILon(), n.getILat(), path.selev, path.originElement);
        pe.cost = path.cost;
        pe.message = path.message;
        return pe;
    }
Container for link between two Osm nodes

@author ab
main/src/main/java/cgeo/geocaching/brouter/core/OsmPathElement.java