Show / Hide Table of Contents

    Class GpxWriterSettings

    A bag of properties used to configure how GpxWriter produces XML elements that correspond to the original GPX data objects.

    Inheritance
    Object
    GpxWriterSettings
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: NetTopologySuite.IO
    Assembly: NetTopologySuite.IO.GPX.dll
    Syntax
    public sealed class GpxWriterSettings

    Properties

    | Improve this Doc View Source

    CommonXmlNamespacesByDesiredPrefix

    Gets an IDictionary<TKey,TValue> instance that can be used to register additional namespaces to declare on the root element, keyed by the desired prefix to use in the result. These can be used to avoid duplicating the namespace declaration for every single "extensions" element that uses the exact same namespace.

    The XmlWriterSettings's NamespaceHandling value will need to be set to OmitDuplicates when the writer is created in order to fully benefit from using this property.

    Declaration
    public IDictionary<string, Uri> CommonXmlNamespacesByDesiredPrefix { get; }
    Property Value
    Type Description
    IDictionary<String, Uri>
    | Improve this Doc View Source

    ExtensionWriter

    Gets or sets the GpxExtensionWriter instance to use to convert (potentially) idiomatic .NET types into the corresponding XML representation. Default is an instance of the base class (see its summary documentation for details).

    Declaration
    public GpxExtensionWriter ExtensionWriter { get; set; }
    Property Value
    Type Description
    GpxExtensionWriter
    | Improve this Doc View Source

    TimeZoneInfo

    Gets or sets the TimeZoneInfo instance that the system should use to produce timestamps for the GPX file. Default is Utc. When overwriting this property, note that the XSD schema specifies that, by convention, timestamps in GPX files are expected to be in UTC.

    null is treated as Utc, but please prefer null so that ClearCachedData() does not affect our correctness.

    Declaration
    public TimeZoneInfo TimeZoneInfo { get; set; }
    Property Value
    Type Description
    TimeZoneInfo
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX