working
This commit is contained in:
parent
3fce0f990a
commit
f0cd97fbc7
@ -1,3 +1,6 @@
|
||||
using OSMDatastructure;
|
||||
using OSMDatastructure.Graph;
|
||||
|
||||
namespace Server;
|
||||
|
||||
public class Server
|
||||
@ -9,9 +12,13 @@ public class Server
|
||||
Console.SetOut(newConsole);
|
||||
Console.SetError(newConsole);
|
||||
|
||||
RegionConverter.ConvertXMLToRegions("D:/stuttgart-regbez-latest.osm", "D:/stuttgart-regbez-latest");
|
||||
//RegionConverter.ConvertXMLToRegions("D:/map.osm", "D:/map");
|
||||
//RegionConverter.ConvertXMLToRegions("D:/stuttgart-regbez-latest.osm", "D:/stuttgart-regbez-latest");
|
||||
RegionConverter.ConvertXMLToRegions("D:/map.osm", "D:/map");
|
||||
Console.WriteLine("Loaded");
|
||||
RegionLoader rl = new RegionLoader("D:/map");
|
||||
Region r = rl.GetRegion(13870001898000);
|
||||
|
||||
|
||||
/*
|
||||
Coordinates start = new Coordinates(48.243351f, 11.640417f);
|
||||
Coordinates finish = new Coordinates(48.25239f, 11.53272f);
|
||||
|
Loading…
Reference in New Issue
Block a user