Make it more clear what is being returned as string.
This commit is contained in:
parent
2b5dd91335
commit
9ef63c9886
@ -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)}";
|
||||
}
|
||||
}
|
@ -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}";
|
||||
}
|
||||
}
|
@ -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}";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user