public MainWindowViewModel() { DCGraph = OsmUtility.ReadOsmData(@"..\..\Resources\district-of-columbia-latest.osm.pbf", @"..\..\Resources\dcTestPoints.csv", "DC"); //var runTest = true; //if (runTest) //{ // var VAGraph = OsmUtility.ReadOsmData(@"..\..\Resources\virginia-latest.osm.pbf", @"..\..\Resources\vaTestPoints.csv", "VA"); // RoutingGraph[] graphs = { VAGraph, DCGraph }; // ShortestPathTester.TestPathFinders(graphs); //} IsMovingStartPoint = true; FindAllRoutesCommand = new RelayCommand <MapView>(FindAllRoutesCommandExecuted, CanRouteExecute); DisplayGraphCommand = new RelayCommand <MapView>(DisplayGraphExected); }
private RoutingGraph GetDCGraph() { return(OsmUtility.ReadOsmData(@"..\..\Resources\district-of-columbia-latest.osm.pbf", @"..\..\Resources\dcTestPoints.csv", "DC")); }