NmeaLocationDataSource constructor
- SpatialReference? receiverSpatialReference,
- SpatialReference? outputSpatialReference,
- DatumTransformation? outputDatumTransformation,
Creates an NMEA data source object.
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.
Parameters:
receiverSpatialReference
— The SpatialReference of incoming NMEA receiver data.outputSpatialReference
— The SpatialReference to project the NmeaLocation to.outputDatumTransformation
— The DatumTransformation to use to project the NmeaLocation.