public Area(OSMway way, string type) { this.nodeList = way.GetNodeList(); this.id = way.GetID(); this.color = way.GetColor(); this.type = type; }
public Trail(OSMway way) { this.nodeList = way.GetNodeList(); this.id = way.GetID(); this.color = way.GetColor(); this.trailName = way.getName(); }
private static void FillInWayNodeLatLon(OSMway way, Dictionary <long, OSMNode> wayNodes) { OSMNode value; foreach (OSMNode node in way.GetNodeList()) { if (wayNodes.TryGetValue(node.id, out value)) { node.lat = value.lat; node.lon = value.lon; } } }
public River(OSMway way) { this.nodeList = way.GetNodeList(); this.id = way.GetID(); }