OSMServer/Server/Server.cs

16 lines
447 B
C#
Raw Normal View History

2023-02-02 22:30:43 +01:00
using OSMImporter;
namespace Server;
2023-02-02 19:03:00 +01:00
public class Server
{
2023-02-02 22:30:43 +01:00
public static void Main(string[] args)
2023-02-02 19:03:00 +01:00
{
2023-02-03 00:02:04 +01:00
Importer.Split("/home/glax/Downloads/bayern-latest.osm", "/home/glax/Downloads/bayern-latest");
Region r = Importer.ImportRegion("/home/glax/Downloads/bayern-latest", new Coordinates(47.890f,12.56f));
foreach(KeyValuePair<ulong, Node> nodes in r.GetNodes())
Console.WriteLine(nodes.Key);
2023-02-02 19:03:00 +01:00
}
}