Index: trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
===================================================================
--- trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp	(revision 6490)
+++ trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp	(revision 6491)
@@ -368,5 +368,20 @@
   // -----------------
   if (_vTEC.NumLayers > 0) {
-
+    vTec._time  = _lastTime;
+    vTec._staID = _staID.toAscii().data();
+    for (unsigned ii = 0; ii < _vTEC.NumLayers; ii++) {
+      const VTEC::IonoLayers& ionoLayer = _vTEC.Layers[ii];
+      t_vTecLayer layer;
+      layer._height = ionoLayer.Height;
+      layer._C.ReSize(ionoLayer.Degree, ionoLayer.Order);
+      layer._S.ReSize(ionoLayer.Degree, ionoLayer.Order);
+      for (unsigned iDeg = 0; iDeg < ionoLayer.Degree; iDeg++) {
+        for (unsigned iOrd = 0; iOrd < ionoLayer.Order; iOrd++) {
+          layer._C[iDeg][iOrd] = ionoLayer.Cosinus[iDeg][iOrd];
+          layer._S[iDeg][iOrd] = ionoLayer.Sinus[iDeg][iOrd];
+        }
+      }
+      vTec._layers.push_back(layer);
+    }
   }
 
