Make it more clear what is being returned as string.

This commit is contained in:
glax 2023-05-17 19:14:36 +02:00
parent 2b5dd91335
commit 9ef63c9886
3 changed files with 3 additions and 3 deletions

View File

@ -48,6 +48,6 @@ public class Coordinates
public override string ToString()
{
return
$"lat:{latitude.ToString(NumberFormatInfo.InvariantInfo)} lon:{longitude.ToString(CultureInfo.InvariantCulture)}";
$"Coordinates lat:{latitude.ToString(NumberFormatInfo.InvariantInfo)} lon:{longitude.ToString(CultureInfo.InvariantCulture)}";
}
}

View File

@ -22,6 +22,6 @@ public class OsmEdge
public override string ToString()
{
return $"w:{wayId} n1:{startId} n2:{neighborId} in r:{neighborRegion}";
return $"Edge wayId:{wayId} n1:{startId} n2:{neighborId} in regionId:{neighborRegion}";
}
}

View File

@ -40,6 +40,6 @@ public class OsmNode
public override string ToString()
{
return $"{nodeId} {coordinates} ec:{edges.Count}";
return $"Node id:{nodeId} coordinates:{coordinates} edges-count:{edges.Count}";
}
}