Closed factoryiq closed 4 years ago
To align with B2MML Design method for doing enumerations, Updated common schema
Moved SpatialFormatDataType to location in Common schema in alphabetic order of type name.
CHANGED:
Agree with this change
Copy of Original Issue Comment with Related Issue References: #57 and #81 Background In Common Schema, Issue #57 changed complexType name="SpatialDefinitionType" by changing "Format" element from IdentifierType to "SpatialDefinitionFormatType". This issue Adds SpatialDefinitionFormatType as a list of enumerations comply and align to updated ISA-950002, Clause 5.2 Spatial definitions, Table 19 - Attributes of spatial definition and Example 4 values.
Supporting Documents 950002 Clause 5.2 Spatial definitions, Table 19 - Attributes of spatial definition Example 4. List of Possible Defined Values.
Impacted Types and Solution B2MML-Common.xsd, "SpatialDefinitionType"
950002 Example 4 defines the 8 common format types that are used across 95% of market as spatial data identification standards. These include WKT, WKB, GML, KML, GPX, GeoJSON, SVG, and other. The documentation of these types are listed below in the XSD schema complex type.
The Spatial Format Enumeration Data Types are as follows:
<xsd:complexType name="SpatialDefnitionFormat1Type">
<xsd:simpleContent>
<xsd:restriction base="CodeType">
<xsd:enumeration value="WKT"/> <!--Well-Known Text ISO/IEC 13249-3:2011 Standard -->
<xsd:enumeration value="WKB"/> <!--Well-Known Binary ISO/IEC 13249-3:2011 Standard -->
<xsd:enumeration value="GML"/> <!--Geographical Markup Language -->
<xsd:enumeration value="KML"/> <!--Keyhole Markup Language -->
<xsd:enumeration value="GPX"/> <!--GPS Exchange Format -->
<xsd:enumeration value="GeoJSON"/> <!--Geographical JSON 1.0 Format -->
<xsd:enumeration value="SVG"/> <!--Scalable Vector Graphics XML 2D or 3D format -->
<xsd:enumeration value="Other"/> <!--Other undefined Spatial Unknown format -->
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
<!-- -->
<xsd:complexType name="SpatialDefnitionFormatType">
<xsd:annotation>
<xsd:documentation>
For the SpatialDefintionType, the Spatial Defintion Format element's Enumeration types as defined in ISAS-950002 commom object models as Spatial data definitions. -->
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="SpatialDefnitionFormat1Type">
<xsd:attribute name="OtherValue" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
@vitalJP Updated Original Comment. Update MESA Issue
MESA Issue updated
@gerardmoloneyetpartners @terryrankine
TypeO fix: Common.xsd,
CHANGE: complexType name="SpatialDefnitionFormat1Type"
TO: complexType name="SpatialDefinitionFormat1Type"
TypeO fixed in original Issue comment above.
NEED to resubmit to MESA.
@CharlieG021163 @terryrankine MESA feedback to review: These are only example in ISA 95 Part 2. They should not be hard coded in B2MML. Recommend reject.
I agree with gerardmoloneyetpartners, these are only examples and should not be enumerated.
Hi @Dennis-Brandl, my comment on 3 Feb was not to agree with you, it was to pass the MESA github comments back here to etp github (prior to us giving you access).
However, in MESA github https://github.com/MESAInternational/B2MML-BatchML/issues/50 you have commented Those are still just examples, but its ok to leave this change in place, and let people use the "OtherValue" where needed. Issue closed. Does this mean the changes were accepted AND implemented? I'll try and check the code now to verify.
OK, I can see the fix was implemented as proposed. Moving this to the 'committed by MESA' milestone and closing it.
Background In Common Schema, Issue #57 changed complexType name="SpatialDefinitionType" by changing "Format" element from IdentifierType to "SpatialDefinitionFormatType". This issue Adds SpatialDefinitionFormatType as a list of enumerations comply and align to updated ISA-950002, Clause 5.2 Spatial definitions, Table 19 - Attributes of spatial definition and Example 4 values.
Supporting Documents ISA-950002 JWG5 CDV01 version (2019 12) Clause 5.2 Spatial definitions, Table 19 - Attributes of spatial definition Example 4. List of Possible Defined Values.
Impacted Types and Solution B2MML-Common.xsd, "SpatialDefinitionType"
950002 Example 4 defines the 8 common format types that are used across 95% of market as spatial data identification standards. These include WKT, WKB, GML, KML, GPX, GeoJSON, SVG, and other. The documentation of these types are listed below in the XSD schema complex type.
The Spatial Format Enumeration Data Types are as follows: