public boolean containsNode(final OsmPos node) {
        return nodesMap.contains(node.getIdFromPos());
    }
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