Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bSI 551 Georeferencing changes #1

Open
aothms opened this issue Jun 21, 2023 · 1 comment
Open

bSI 551 Georeferencing changes #1

aothms opened this issue Jun 21, 2023 · 1 comment

Comments

@aothms
Copy link
Member

aothms commented Jun 21, 2023

bSI-551 Georeferencing changes

@aothms
Copy link
Member Author

aothms commented Jun 21, 2023

--- tmp/a/IFC.exp	2023-06-19 20:18:24.153075100 +0200
+++ tmp/b/IFC.exp	2023-06-21 13:28:07.707789200 +0200
@@ -5414,20 +5414,21 @@
 	SourceCRS : IfcCoordinateReferenceSystemSelect;
 	TargetCRS : IfcCoordinateReferenceSystem;
 END_ENTITY;
 
 ENTITY IfcCoordinateReferenceSystem
  ABSTRACT SUPERTYPE OF (ONEOF
 	(IfcGeographicCRS
 	,IfcProjectedCRS));
 	Name : OPTIONAL IfcLabel;
 	Description : OPTIONAL IfcText;
+	GeodeticDatum : OPTIONAL IfcIdentifier;
  INVERSE
 	HasCoordinateOperation : SET [0:1] OF IfcCoordinateOperation FOR SourceCRS;
 	WellKnownText : SET [0:1] OF IfcWellKnownText FOR CoordinateReferenceSystem;
  WHERE
 	NameOrWKT : (HIINDEX(WellKnownText) = 1) OR EXISTS(Name);
 END_ENTITY;
 
 ENTITY IfcCosineSpiral
  SUBTYPE OF (IfcSpiral);
 	CosineTerm : IfcLengthMeasure;
@@ -7081,25 +7082,26 @@
 	AssemblyPlace : IfcAssemblyPlaceEnum;
 	PredefinedType : OPTIONAL IfcFurnitureTypeEnum;
  WHERE
 	CorrectPredefinedType : NOT(EXISTS(PredefinedType)) OR
  (PredefinedType <> IfcFurnitureTypeEnum.USERDEFINED) OR
  ((PredefinedType = IfcFurnitureTypeEnum.USERDEFINED) AND EXISTS (SELF\IfcElementType.ElementType));
 END_ENTITY;
 
 ENTITY IfcGeographicCRS
  SUBTYPE OF (IfcCoordinateReferenceSystem);
-	GeodeticDatum : OPTIONAL IfcIdentifier;
 	PrimeMeridian : OPTIONAL IfcIdentifier;
-	Unit : OPTIONAL IfcNamedUnit;
+	AngleUnit : OPTIONAL IfcNamedUnit;
+	HeightUnit : OPTIONAL IfcNamedUnit;
  WHERE
-	IsPlaneAngleUnit : NOT(EXISTS(Unit)) OR (Unit.UnitType=IfcUnitEnum.PLANEANGLEUNIT);
+	AngleUnitIsPlaneAngle : NOT(EXISTS(SELF.AngleUnit)) OR (SELF.AngleUnit.UnitType=IfcUnitEnum.PLANEANGLEUNIT);
+	HeightUnitIsLength : NOT(EXISTS(SELF.HeightUnit)) OR (SELF.HeightUnit.UnitType=IfcUnitEnum.PLANEANGLEUNIT);
 END_ENTITY;
 
 ENTITY IfcGeographicElement
  SUBTYPE OF (IfcElement);
 	PredefinedType : OPTIONAL IfcGeographicElementTypeEnum;
  WHERE
 	CorrectPredefinedType : NOT(EXISTS(PredefinedType)) OR
  (PredefinedType <> IfcGeographicElementTypeEnum.USERDEFINED) OR
  ((PredefinedType = IfcGeographicElementTypeEnum.USERDEFINED) AND EXISTS (SELF\IfcObject.ObjectType));
 	CorrectTypeAssigned : (SIZEOF(IsTypedBy) = 0) OR
@@ -7732,20 +7734,22 @@
 ENTITY IfcMapConversion
  SUPERTYPE OF (ONEOF
 	(IfcMapConversionScaled))
  SUBTYPE OF (IfcCoordinateOperation);
 	Eastings : IfcLengthMeasure;
 	Northings : IfcLengthMeasure;
 	OrthogonalHeight : IfcLengthMeasure;
 	XAxisAbscissa : OPTIONAL IfcReal;
 	XAxisOrdinate : OPTIONAL IfcReal;
 	Scale : OPTIONAL IfcReal;
+ WHERE
+	TargetCRSOnlyProjected : 'IFC4X3_DEV.IfcProjectedCRS' IN TYPEOF(SELF\IfcCoordinateOperation.TargetCRS);
 END_ENTITY;
 
 ENTITY IfcMapConversionScaled
  SUBTYPE OF (IfcMapConversion);
 	ScaleX : IfcReal;
 	ScaleY : IfcReal;
 	ScaleZ : IfcReal;
 END_ENTITY;
 
 ENTITY IfcMappedItem
@@ -8904,27 +8908,26 @@
 
 ENTITY IfcProjectOrder
  SUBTYPE OF (IfcControl);
 	PredefinedType : OPTIONAL IfcProjectOrderTypeEnum;
 	Status : OPTIONAL IfcLabel;
 	LongDescription : OPTIONAL IfcText;
 END_ENTITY;
 
 ENTITY IfcProjectedCRS
  SUBTYPE OF (IfcCoordinateReferenceSystem);
-	GeodeticDatum : OPTIONAL IfcIdentifier;
 	VerticalDatum : OPTIONAL IfcIdentifier;
 	MapProjection : OPTIONAL IfcIdentifier;
 	MapZone : OPTIONAL IfcIdentifier;
 	MapUnit : OPTIONAL IfcNamedUnit;
  WHERE
-	IsLengthUnit : NOT(EXISTS(MapUnit)) OR (MapUnit.UnitType = IfcUnitEnum.LENGTHUNIT);
+	MapUnitIsLength : NOT(EXISTS(SELF.MapUnit)) OR (SELF.MapUnit.UnitType = IfcUnitEnum.LENGTHUNIT);
 END_ENTITY;
 
 ENTITY IfcProjectionElement
  SUBTYPE OF (IfcFeatureElementAddition);
 	PredefinedType : OPTIONAL IfcProjectionElementTypeEnum;
  WHERE
 	CorrectPredefinedType : NOT(EXISTS(PredefinedType)) OR
  (PredefinedType <> IfcProjectionElementTypeEnum.USERDEFINED) OR
  ((PredefinedType = IfcProjectionElementTypeEnum.USERDEFINED) AND EXISTS (SELF\IfcObject.ObjectType));
 END_ENTITY;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant