Skip to content

Commit

Permalink
Nuget-Pakete für Ifc4x3 installiert
Browse files Browse the repository at this point in the history
Anpassung an Ifc4x3 für LoGeoRef50
  • Loading branch information
BexanderAlong committed Aug 2, 2024
1 parent 0d8ff3f commit 0d32af1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
5 changes: 3 additions & 2 deletions IFCGeoRefCheckerCommand/IFCGeoRefCheckerCommand.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Xbim.Common" Version="5.1.341" />
<PackageReference Include="Xbim.Ifc" Version="5.1.341" />
<PackageReference Include="Xbim.Common" Version="6.0.445" />
<PackageReference Include="Xbim.Essentials" Version="6.0.445" />
<PackageReference Include="Xbim.Ifc" Version="6.0.445" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions IFCGeoRefCheckerGUI/IFCGeoRefCheckerGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<PackageReference Include="GDAL" Version="3.6.3" />
<PackageReference Include="GDAL.Native" Version="3.6.3" />
<PackageReference Include="Serilog.Sinks.RichTextBox.Wpf" Version="1.1.0" />
<PackageReference Include="Xbim.Common" Version="5.1.341" />
<PackageReference Include="Xbim.Essentials" Version="5.1.341" />
<PackageReference Include="Xbim.Ifc" Version="5.1.341" />
<PackageReference Include="Xbim.Common" Version="6.0.445" />
<PackageReference Include="Xbim.Essentials" Version="6.0.445" />
<PackageReference Include="Xbim.Ifc" Version="6.0.445" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 5 additions & 1 deletion IFCGeorefShared/GeoRefChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,11 @@ private string WriteResultLvl50()
sb.AppendLine($"{_translationService.Translate("TargetCRS", CultureInfo.CurrentCulture)} {lvl50.MapConversion.TargetCRS.Name}");
sb.AppendLine($"{_translationService.Translate("Description", CultureInfo.CurrentCulture)} {(lvl50.MapConversion.TargetCRS.Description.HasValue ? lvl50.MapConversion.TargetCRS.Description : "not specified")}");
sb.AppendLine($"{_translationService.Translate("GeoDatum", CultureInfo.CurrentCulture)} {(lvl50.MapConversion.TargetCRS.GeodeticDatum.HasValue ? lvl50.MapConversion.TargetCRS.GeodeticDatum : "not specified")}");
sb.AppendLine($"{_translationService.Translate("VertDatum", CultureInfo.CurrentCulture)} {(lvl50.MapConversion.TargetCRS.VerticalDatum.HasValue ? lvl50.MapConversion.TargetCRS.VerticalDatum : "not specified")}");

if (lvl50.ProjectedCRS4x3 != null)
{
sb.AppendLine($"{_translationService.Translate("VertDatum", CultureInfo.CurrentCulture)} {(lvl50.ProjectedCRS4x3.VerticalDatum.HasValue ? lvl50.ProjectedCRS4x3.VerticalDatum : "not specified")}");
}

sb.AppendLine();
sb.AppendLine($"LoGeoRef50 {_translationService.Translate("Fulfilled", CultureInfo.CurrentCulture)}");
Expand Down
2 changes: 2 additions & 0 deletions IFCGeorefShared/Levels/Level50.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
using System.Collections.Generic;
using System.Text;
using Xbim.Ifc4.Interfaces;
using Xbim.Ifc4x3.RepresentationResource;

namespace IFCGeorefShared.Levels
{
public class Level50 : Level40
{
public IIfcMapConversion? MapConversion;
public IfcProjectedCRS? ProjectedCRS4x3;
}
}

0 comments on commit 0d32af1

Please sign in to comment.