// ----------------------------------------------------------------------- // // TODO: Update copyright text. // // ----------------------------------------------------------------------- namespace OsmReader.OsmData { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using OsmReader.OsmData.Elements; /// /// TODO: Update summary. /// [Serializable] [XmlRoot("osm")] public class Osm { [XmlAttribute(AttributeName = "version")] public string version { get; set; } [XmlAttribute(AttributeName = "generator")] public string generator { get; set; } [XmlAttribute(AttributeName = "copyright")] public string copyright { get; set; } [XmlAttribute(AttributeName = "attribution")] public string attribution { get; set; } [XmlAttribute(AttributeName = "license")] public string license { get; set; } [XmlElement(ElementName = "bounds")] public OsmBounds bounds { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [XmlElement(ElementName = "node")] public List node { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [XmlElement(ElementName = "way")] public List way { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [XmlElement(ElementName = "relation")] public List relation { get; set; } } }