3 * Copyright (c) 2008 Paolo Molaro lupus@oddwiz.org
4 * License: MIT/X11, see the MIT.X11 file.
8 using System
.Collections
.Specialized
;
10 namespace OpenStreetMap
{
12 public class Node
: OsmObject
{
15 public override string ObjectType
{
21 public double Latitude
{
31 public double Longitude
{
41 public override void WriteXml (XmlTextWriter writer
)
43 writer
.WriteStartElement ("node");
44 WriteCommonAttrs (writer
);
45 writer
.WriteAttributeString ("lat", lat
.ToString ());
46 writer
.WriteAttributeString ("lon", lon
.ToString ());
48 writer
.WriteEndElement ();