Comments (7)
I agree. I brought up the same point originally.
from ids.
This indeed keeps on coming back.
How would we put that in the specification?
Bringing in @CBenghi as a potential feature for the IDS diagnostics tool.
from ids.
We probably have to have a conversation as to what we mean when specifying the measure.
I see two aspects:
- a constraint on the type of value, but also
- information for converting the unit for the quantitative measures to the agreed SI unit
IfcLabel and IfcText probably don't need the conversion part and constraint on type can be approximated by the basetype
on the value as xs:string
.
That said I'm not necessarily opposed to adding them to the measures, it's just food for thoughts.
from ids.
My understanding was that it should be a constraint (option 1).
Conversion does not make sense to me.
from ids.
Options:
- keep it as is (just require 'ifcText' for example)
- turn measure into an 'ids:Value' so you can use enumerations and patterns
2b) turn measure into a 'xs:list' to allow multiple values for measure - add STRING, NUMBER, REAL (and maybe some others to the list of allowed values for measure
from ids.
And maybe equally important, the documentation is somewhat inconsistent:
Attribute name:
- Schema:
measure
- Doc table:
Data Type
Possible measure values:
- For your convenience, a list of common data types are listed here: ... IfcLabel, ...
- A valid data type name, taken from the IDS units table (does not include label)
Required:
- Table says: Data Type, required YES
- Description says "If not specified ..."
My take on these things was that we would use the full list of IFC defined types (which includes some types you would not or cannot actually use) instead of just the measures because it's the simplest way to define the superset of measures + sensible non-numeric and unitless value types. Hence, I think it would make sense to rename the attribute measure
-> dataType
. I'm a bit uncertain on whether the attribute should be required?
The documentation should also be extended to show how to specify e.g boolean and binary values (is that following xsd grammar or express grammar).
from ids.
- renamed to 'data type' instead of 'measure'.
- made required (but can be empty)
- clarified it can be any ifcDefinedType; with additional 'base' types like STRING, UNDEFINED, COUNT, etc. --> needs documentation
This is a significant impact on the implementations.....
from ids.
Related Issues (20)
- Default branch settings HOT 1
- Data type of IfcLengthMeasure "Real" or "Double"? HOT 1
- List of datatypes with Enum types used by attributes HOT 6
- List of datatypes without IfcCompoundPlaneAngleMeasure HOT 2
- IfcLogical representation in XML base HOT 1
- IMPROVEMENT: functionality to point towards bSDD (data dictionaries) HOT 4
- IDS BIM
- Restriction of values: Enumeration limited to string-based datatype or do we allow for real, integer and measurements HOT 3
- Predefined type evaluation
- userdefuned HOT 6
- Test case naming consistency HOT 2
- 2 testcases have .html file instead of .ifc HOT 2
- Tolerance documentation 1.0.0 HOT 6
- Wrong file name in the entity directory of test cases HOT 1
- Tolerance test issues in 1.0 HOT 3
- Are complex restrictions applicable to all facet parameters? HOT 2
- Test case for indirect containment is incorrect
- Relation between enumerations in Applicability and Requirements HOT 1
- Broken links on dev Readme HOT 1
- Add textual definitions to each IDS element HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ids.