Constructor NmeaLocationDataSource
NmeaLocationDataSource()
Initializes a new instance of the NmeaLocationDataSource class.
Declaration
public NmeaLocationDataSource()
Remarks
Locations created from an NMEA data source object instantiated with this constructor will have a SpatialReference of WGS84.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.10 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.10 - 100.12 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 100.15 |
NmeaLocationDataSource(SpatialReference, SpatialReference, DatumTransformation)
Initializes a new instance of the NmeaLocationDataSource class.
Declaration
public NmeaLocationDataSource(SpatialReference receiverSpatialReference, SpatialReference outputSpatialReference, DatumTransformation outputDatumTransformation)
Parameters
Type | Name | Description |
---|---|---|
SpatialReference | receiverSpatialReference | The SpatialReference of incoming NMEA receiver data. |
SpatialReference | outputSpatialReference | The SpatialReference to project the NmeaLocation to. |
DatumTransformation | outputDatumTransformation | The DatumTransformation to use to project the NmeaLocation. |
Remarks
Locations created from an NMEA data source object instantiated with this constructor
will be projected from the SpatialReference defined by the
receiverSpatialReference
parameter to the SpatialReference
defined by the outputSpatialReference
parameter using the
outputDatumTransformation
. If the outputSpatialReference
parameter is null
the locations will not be projected and the locations will be
in the receiverSpatialReference
, if the
outputDatumTransformation
parameter is set it will be ignored. This
constructor can be used when a receiver is outputting locations in a
SpatialReference other than WGS84, such as when using a reference base
station, and/or the application requires the output locations to be projected to a
different SpatialReference using a DatumTransformation.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.10 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.10 - 100.12 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 100.15 |
NmeaLocationDataSource(SpatialReference, SpatialReference)
Initializes a new instance of the NmeaLocationDataSource class.
Declaration
public NmeaLocationDataSource(SpatialReference receiverSpatialReference, SpatialReference outputSpatialReference)
Parameters
Type | Name | Description |
---|---|---|
SpatialReference | receiverSpatialReference | The SpatialReference of incoming NMEA receiver data. |
SpatialReference | outputSpatialReference | The SpatialReference to project the NmeaLocation to. |
Remarks
Locations created from an NMEA data source object instantiated with this constructor
will be projected from the SpatialReference defined by the
receiverSpatialReference
parameter to the SpatialReference
defined by outputSpatialReference
parameter. If the
outputSpatialReference
parameter is null
the locations will not
be projected and the locations will be in the receiverSpatialReference
.
This constructor can be used when a receiver is outputting locations in a
SpatialReference other than WGS84, such as when using a reference base
station, and/or the application requires the output locations to be projected to a
different SpatialReference.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.10 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.10 - 100.12 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 100.15 |
NmeaLocationDataSource(SpatialReference)
Initializes a new instance of the NmeaLocationDataSource class.
Declaration
public NmeaLocationDataSource(SpatialReference receiverSpatialReference)
Parameters
Type | Name | Description |
---|---|---|
SpatialReference | receiverSpatialReference | The SpatialReference of incoming NMEA receiver data. |
Remarks
Locations created from an NMEA data source object instantiated with this constructor
will have a SpatialReference defined by the receiverSpatialReference
parameter. This constructor can be used when a receiver is outputting locations in a
SpatialReference other than WGS84, such as when using a reference base station.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.10 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.10 - 100.12 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 100.15 |