OsmNode

References
public class OsmNode
Immutable OSM node.

Properties

Id

#
Gets the Id for this node.
public long Id { get; }

Point

#
Gets the location for this node. x = longitude in degrees, y = latitude in degrees, z = elevation in meters.
public Point3d Point { get; }

TagCount

#
Gets the number of tags stored on this node.
public int TagCount { get; }

Tags

#
Enumerate all the tags associated with this node.
public IEnumerable<OsmTag> Tags { get; }

Methods

GetHashCode

#
Gets the hash of this node.
public override int GetHashCode()

Move

#
Move this point to a new position.
public OsmNode Move(
position
New position.
)
New node.

Move

#
Move this point by a specific vector.
public OsmNode Move(
motion
Motion vector.
)
New node.

ParseXmlNode

#
Parse an xml node representing an OSM node.
public static OsmNode ParseXmlNode(
node,
Node to parse.
validateTag
Tag validator.
)
PArsed node or null.

RemoveTags

#
Remove all tags that match the set.
public OsmNode RemoveTags(
tags
Tags to remove.
)
Modified node or the same node if no tags were removed.

ToString

#
Convert this node into a string.
public override string ToString()
Object.ToString