@enervance/insight-cim-model 0.0.230 → 0.0.231

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.
@@ -6635,7 +6635,11 @@ function getGeoCoordinates(i7Data) {
6635
6635
  /** Fall 3
6636
6636
  * 3-degree Gauss-Kruger zone 3 */
6637
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');
6638
+ let epsg = 'EPSG:31467';
6639
+ if (String(i7Data.geokoor_gk_rechts).charAt(0) === '2') {
6640
+ epsg = 'EPSG:31466';
6641
+ }
6642
+ const points = geodata_util_1.GeodataUtil.convertPoint(+i7Data.geokoor_gk_rechts, +i7Data.geokoor_gk_hoch, epsg);
6639
6643
  return [String(points[0]), String(points[1])];
6640
6644
  }
6641
6645
  return undefined;