Show / Hide Table of Contents

    Class LocationDatum

    Location in degrees latitude and longitude. Can be anonymized by rounding significant digits from these degree values. For example, rounding the latitude/longitude location 38.64/-78.35 to tenths produces 38.6/-78.4, reducing spatial fidelity by approximately 4 miles. Similarly, rounding to hundredths will reduce spatial fidelity by approximately 0.4 miles, and rounding to thousandths will reduce spatial fidelity by approximately 0.04 miles (200 feet).

    Inheritance
    System.Object
    Datum
    ImpreciseDatum
    LocationDatum
    Implements
    ILocationDatum
    IDatum
    Inherited Members
    ImpreciseDatum.Accuracy
    Datum.FromJSON(String)
    Datum.GetJSON(AnonymizedJsonContractResolver, Boolean)
    Datum.GetHashCode()
    Datum.Equals(Object)
    Datum.Id
    Datum.DeviceId
    Datum.Timestamp
    Datum.ProtocolId
    Datum.Anonymized
    Datum.BuildId
    Datum.ParticipantId
    Datum.DeviceManufacturer
    Datum.DeviceModel
    Datum.OperatingSystem
    Datum.TaggedEventId
    Datum.TaggedEventTags
    Datum.SensingAgentStateDescription
    Datum.LocalOffsetFromUTC
    Namespace: Sensus.Probes.Location
    Assembly: SensusAndroid.dll
    Syntax
    public class LocationDatum : ImpreciseDatum, ILocationDatum, IDatum

    Constructors

    LocationDatum(DateTimeOffset, Double, Double, Double)

    Declaration
    public LocationDatum(DateTimeOffset timestamp, double accuracy, double latitude, double longitude)
    Parameters
    Type Name Description
    System.DateTimeOffset timestamp
    System.Double accuracy
    System.Double latitude
    System.Double longitude

    Properties

    DisplayDetail

    Declaration
    public override string DisplayDetail { get; }
    Property Value
    Type Description
    System.String
    Overrides
    Datum.DisplayDetail

    Latitude

    Latitude coordinate, measured in decimal degrees north and south of the equator per the WGS 1984 datum.

    Declaration
    [DoubleProbeTriggerProperty]
    [Anonymizable]
    public double Latitude { get; set; }
    Property Value
    Type Description
    System.Double

    The latitude.

    Longitude

    Longitude coordinate, measured in decimal degrees west and east of the prime meridian per the WGS 1984 datum.

    Declaration
    [DoubleProbeTriggerProperty]
    [Anonymizable]
    public double Longitude { get; set; }
    Property Value
    Type Description
    System.Double

    The longitude.

    StringPlaceholderValue

    Gets the string placeholder value, which is the [lat,lon] location.

    Declaration
    public override object StringPlaceholderValue { get; }
    Property Value
    Type Description
    System.Object

    The string placeholder value.

    Overrides
    Datum.StringPlaceholderValue

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    ImpreciseDatum.ToString()

    Implements

    ILocationDatum
    IDatum
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX