public void addNodes(final OsmTrack t) {
        for (OsmPathElement n : t.nodes) {
            addNode(n);
        }
        buildMap();
    }
writes the track in binary-format to a file

@param filename the filename to write to
main/src/main/java/cgeo/geocaching/brouter/core/OsmTrack.java