/// <summary> /// Preprocesses the data from the given OsmStreamReader and converts it directly to a routable data source. /// </summary> /// <param name="reader"></param> /// <param name="interpreter"></param> /// <returns></returns> public static DynamicGraphRouterDataSource <LiveEdge> Preprocess(OsmStreamSource reader, IOsmRoutingInterpreter interpreter) { return(LiveGraphOsmStreamTarget.Preprocess(reader, new SimpleTagsIndex(), interpreter)); }