@enervance/insight-cim-model 0.0.228 → 0.0.230

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,6 +142,7 @@ const INTEGRALPowerTransformer2WInfo_1 = require("../../model/extensions/integra
142
142
  const impedance_utils_1 = require("./impedance.utils.js");
143
143
  const util_cim_model_1 = require("./util-cim.model.js");
144
144
  const EVAssetOriginKind_1 = require("../../model/extensions/enervance/assets/EVAssetOriginKind.js");
145
+ const geodata_util_1 = require("../../util/geodata.util.js");
145
146
  class ConverterIntegral7 {
146
147
  constructor() {
147
148
  /** Exportnetze gemäß Konfiguration */
@@ -6631,6 +6632,12 @@ function getGeoCoordinates(i7Data) {
6631
6632
  if (i7Data.geokoor_pl_breite_h && i7Data.geokoor_pl_laenge_h) {
6632
6633
  return [String(i7Data.geokoor_pl_laenge_h), String(i7Data.geokoor_pl_breite_h)];
6633
6634
  }
6635
+ /** Fall 3
6636
+ * 3-degree Gauss-Kruger zone 3 */
6637
+ if (i7Data.geokoor_gk_rechts && i7Data.geokoor_gk_hoch) {
6638
+ const points = geodata_util_1.GeodataUtil.convertPoint(+i7Data.geokoor_gk_rechts, +i7Data.geokoor_gk_hoch, 'EPSG:31467');
6639
+ return [String(points[0]), String(points[1])];
6640
+ }
6634
6641
  return undefined;
6635
6642
  }
6636
6643
  exports.getGeoCoordinates = getGeoCoordinates;