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).
Inherited Members
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
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
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |