Class CbrnGeographicPointType
A data type for geographical coordinates of a point on the surface of the earth. For latitudes, positive values correspond to Northern latitudes, and negative values to Southern; for longitudes, positive values are Eastern longitudes and negative are Western. The units of measure for elevation and positional accuracy elements is given by the units attribute.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class CbrnGeographicPointType : CbrnRemarksComplexObjectType, IEquatable<CbrnRemarksComplexObjectType>, IEquatable<CbrnGeographicPointType>
Properties
Context
cbrnGeographicPointType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public CbrnGeographicPointType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<CbrnGeographicPointType.ContextEnum> | cbrnGeographicPointType JSON-LD context |
Datum
A value identifying the spatial reference system in which geographic coordinates are stated. Default is WGS-84. NIEM reference is cbrn:datumText
Declaration
[DataMember(Name = "datum")]
public string Datum { get; set; }
Property Value
Type | Description |
---|---|
System.String | A value identifying the spatial reference system in which geographic coordinates are stated. Default is WGS-84. NIEM reference is cbrn:datumText |
ElevationAccuracyValue
Gets or Sets ElevationAccuracyValue
Declaration
[DataMember(Name = "elevationAccuracyValue")]
public NiemXsinteger ElevationAccuracyValue { get; set; }
Property Value
Type | Description |
---|---|
NiemXsinteger |
ElevationOffsetAccuracyValue
Gets or Sets ElevationOffsetAccuracyValue
Declaration
[DataMember(Name = "elevationOffsetAccuracyValue")]
public NiemXsinteger ElevationOffsetAccuracyValue { get; set; }
Property Value
Type | Description |
---|---|
NiemXsinteger |
ElevationOffsetValue
Gets or Sets ElevationOffsetValue
Declaration
[DataMember(Name = "elevationOffsetValue")]
public NiemXsinteger ElevationOffsetValue { get; set; }
Property Value
Type | Description |
---|---|
NiemXsinteger |
ElevationValue
Gets or Sets ElevationValue
Declaration
[DataMember(Name = "elevationValue")]
public NiemXsinteger ElevationValue { get; set; }
Property Value
Type | Description |
---|---|
NiemXsinteger |
GeoPointAccuracyValue
Gets or Sets GeoPointAccuracyValue
Declaration
[DataMember(Name = "geoPointAccuracyValue")]
public NiemXsinteger GeoPointAccuracyValue { get; set; }
Property Value
Type | Description |
---|---|
NiemXsinteger |
LatitudeValue
Gets or Sets LatitudeValue
Declaration
[DataMember(Name = "latitudeValue")]
public CbrnAngle90Type LatitudeValue { get; set; }
Property Value
Type | Description |
---|---|
CbrnAngle90Type |
LongitudeValue
Gets or Sets LongitudeValue
Declaration
[DataMember(Name = "longitudeValue")]
public CbrnAngle180Type LongitudeValue { get; set; }
Property Value
Type | Description |
---|---|
CbrnAngle180Type |
Units
A unit of measure for a value element. If used, the unit of measure shall be as stated in the documentation for the element. NIEM reference is cbrn:unitsText
Declaration
[DataMember(Name = "units")]
public string Units { get; set; }
Property Value
Type | Description |
---|---|
System.String | A unit of measure for a value element. If used, the unit of measure shall be as stated in the documentation for the element. NIEM reference is cbrn:unitsText |
Methods
Equals(CbrnGeographicPointType)
Returns true if CbrnGeographicPointType instances are equal
Declaration
public bool Equals(CbrnGeographicPointType other)
Parameters
Type | Name | Description |
---|---|---|
CbrnGeographicPointType | other | Instance of CbrnGeographicPointType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(CbrnGeographicPointType, CbrnGeographicPointType)
Declaration
public static bool operator ==(CbrnGeographicPointType left, CbrnGeographicPointType right)
Parameters
Type | Name | Description |
---|---|---|
CbrnGeographicPointType | left | |
CbrnGeographicPointType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(CbrnGeographicPointType, CbrnGeographicPointType)
Declaration
public static bool operator !=(CbrnGeographicPointType left, CbrnGeographicPointType right)
Parameters
Type | Name | Description |
---|---|---|
CbrnGeographicPointType | left | |
CbrnGeographicPointType | right |
Returns
Type | Description |
---|---|
System.Boolean |