16 , _latitudeFact(new
Fact(0, _latitudeFactName,
FactMetaData::valueTypeDouble, this))
17 , _longitudeFact(new
Fact(0, _longitudeFactName,
FactMetaData::valueTypeDouble, this))
19 , _hemisphereFact(new
Fact(0, _hemisphereFactName,
FactMetaData::valueTypeUint8, this))
20 , _eastingFact(new
Fact(0, _eastingFactName,
FactMetaData::valueTypeDouble, this))
21 , _northingFact(new
Fact(0, _northingFactName,
FactMetaData::valueTypeDouble, this))
23 , _offsetEastFact(new
Fact(0, _offsetEastFactName,
FactMetaData::valueTypeDouble, this))
24 , _offsetNorthFact(new
Fact(0, _offsetNorthFactName,
FactMetaData::valueTypeDouble, this))
25 , _offsetUpFact(new
Fact(0, _offsetUpFactName,
FactMetaData::valueTypeDouble, this))
26 , _rotateDegreesCWFact(new
Fact(0, _rotateDegreesCWFactName,
FactMetaData::valueTypeDouble, this))
30 if (_metaDataMap.isEmpty()) {
34 _latitudeFact->setMetaData(_metaDataMap[_latitudeFactName]);
35 _longitudeFact->setMetaData(_metaDataMap[_longitudeFactName]);
36 _zoneFact->setMetaData(_metaDataMap[_zoneFactName]);
37 _hemisphereFact->setMetaData(_metaDataMap[_hemisphereFactName]);
38 _eastingFact->setMetaData(_metaDataMap[_eastingFactName]);
39 _northingFact->setMetaData(_metaDataMap[_northingFactName]);
40 _mgrsFact->setMetaData(_metaDataMap[_mgrsFactName]);
41 _offsetEastFact->setMetaData(_metaDataMap[_offsetEastFactName]);
42 _offsetNorthFact->setMetaData(_metaDataMap[_offsetNorthFactName]);
43 _offsetUpFact->setMetaData(_metaDataMap[_offsetUpFactName]);
44 _rotateDegreesCWFact->setMetaData(_metaDataMap[_rotateDegreesCWFactName]);
107 qCDebug(TransformPositionControllerLog) << _eastingFact->
rawValue().toDouble() << _northingFact->
rawValue().toDouble() << _zoneFact->
rawValue().toInt() << (_hemisphereFact->
rawValue().toInt() == 1);
108 QGeoCoordinate newCoordinate;
110 qCDebug(TransformPositionControllerLog) << _eastingFact->
rawValue().toDouble() << _northingFact->
rawValue().toDouble() << _zoneFact->
rawValue().toInt() << (_hemisphereFact->
rawValue().toInt() == 1) << newCoordinate;