Changeset 8720 in ntrip
- Timestamp:
- May 3, 2019, 10:00:08 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8689 r8720 106 106 // ----------------------------- 107 107 // Transformation Parameters from ITRF2014 to ETRF2000 108 // EUREF Technical Note 1 Relationship and Transformation between the ITRF and ETRF 109 // Zuheir Altamimi, June 28, 2018 108 110 if (_crdTrafo == "ETRF2000") { 109 _dx = 0.0537; 110 _dy = 0.0512; 111 _dz = -0.0551; 111 _dx = 0.0547; 112 _dy = 0.0522; 113 _dz = -0.0741; 114 112 115 _dxr = 0.0001; 113 116 _dyr = 0.0001; 114 117 _dzr = -0.0019; 115 _ox = -0.000891; 116 _oy = -0.005390; 117 _oz = 0.008712; 118 _oxr = -0.000081; 119 _oyr = -0.000490; 120 _ozr = +0.000792; 121 _sc = 1.02; 118 119 _ox = 0.001701; 120 _oy = 0.010290; 121 _oz = -0.016632; 122 123 _oxr = 0.000081; 124 _oyr = 0.000490; 125 _ozr = -0.000729; 126 127 _sc = 2.12; 122 128 _scr = 0.11; 123 _t0 = 2000.0; 129 130 _t0 = 2010.0; 124 131 } 125 132 // Transformation Parameters from ITRF2014 to GDA2020 (Ryan Ruddick, GA) … … 128 135 _dy = 0.0; 129 136 _dz = 0.0; 137 130 138 _dxr = 0.0; 131 139 _dyr = 0.0; 132 140 _dzr = 0.0; 141 133 142 _ox = 0.0; 134 143 _oy = 0.0; 135 144 _oz = 0.0; 145 136 146 _oxr = 0.00150379; 137 147 _oyr = 0.00118346; 138 148 _ozr = 0.00120716; 149 139 150 _sc = 0.0; 140 151 _scr = 0.0; 152 141 153 _t0 = 2020.0; 142 154 } … … 146 158 _dy = 0.0018; 147 159 _dz = -0.0061; 160 148 161 _dxr = 0.0000; 149 162 _dyr = 0.0000; 150 163 _dzr = 0.0000; 151 _ox = 0.000170; 152 _oy = -0.000030; 153 _oz = 0.000070; 164 165 _ox = 0.000000; 166 _oy = 0.000000; 167 _oz = 0.000000; 168 154 169 _oxr = 0.000000; 155 170 _oyr = 0.000000; 156 171 _ozr = 0.000000; 157 _sc = -1.000; 158 _scr = 0.000; 159 _t0 = 2000.4; 172 173 _sc = -1.00000; 174 _scr = 0.00000; 175 _t0 = 2000.0; 160 176 } 161 177 // Transformation Parameters from ITRF2014 to DREF91 162 178 else if (_crdTrafo == "DREF91") { 163 _dx = 0.0537; 164 _dy = 0.0512; 165 _dz = -0.0551; 179 _dx = 0.0547; 180 _dy = 0.0522; 181 _dz = -0.0741; 182 166 183 _dxr = 0.0001; 167 184 _dyr = 0.0001; 168 185 _dzr = -0.0019; 169 _ox = -0.000233; 170 _oy = -0.005598; 171 _oz = 0.009467; 172 _oxr = -0.000081; 173 _oyr = -0.000490; 174 _ozr = 0.000792; 175 _sc = 1.02; 186 // ERTF200 + rotation parameters (ETRF200 => DREF91) 187 _ox = 0.001701 + 0.000658; 188 _oy = 0.010290 - 0.000208; 189 _oz = -0.016632 + 0.000755; 190 191 _oxr = 0.000081; 192 _oyr = 0.000490; 193 _ozr = -0.000729; 194 195 _sc = 2.12; 176 196 _scr = 0.11; 177 _t0 = 2000.0; 197 198 _t0 = 2010.0; 178 199 } 179 200 else if (_crdTrafo == "Custom") { … … 226 247 return; 227 248 } 228 int iEpoBegEarlier = _rtnetStreamBuffer.indexOf('*');229 if (iEpoBegEarlier != -1 && iEpoBegEarlier < iEpoBeg) { // are there more epoch lines in buffer?230 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBegEarlier);231 }232 249 else { 233 250 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBeg); 234 251 } 235 252 236 int iEpoEnd = _rtnetStreamBuffer.indexOf("EOE"); // end of first epoch253 int iEpoEnd = _rtnetStreamBuffer.indexOf("EOE"); // end of last epoch 237 254 if (iEpoEnd == -1) { 238 255 return;
Note:
See TracChangeset
for help on using the changeset viewer.