POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
This applies final cleanup changes to the beta version. Fix SI rule for a class entity. Drop or fix some rules. Fix ndt_de9im. Change BAG[0:1] to SET[0:1]. Change the population status of some reference entities.
CHANGE ERP3_cleanup_final ----- Fix SI rule to be consistent with all other "class" entities. ALTER ENTITY geologic_process_class; UNIQUE ALTER si ADD naming_system FIRST; END_ENTITY; ----- fix rules ALTER ENTITY concatenated_transformation; WHERE DROP val2 (*<CHANGE>The attribute no longer exists in this entity.*); END_ENTITY; ALTER ENTITY fluid_phase_interface; WHERE ALTER sri : SIZEOF(QUERY ( f <* fluid_phase | (f.specific_fluid_phase.fluid_system :=: fluid_system) )) > 0 (*<CHANGE>The many-to-many was replaced by an intersection entity.*); END_ENTITY; ALTER ENTITY ref_quantity_type; WHERE ALTER sri: SIZEOF(QUERY ( alt <* alternative_unit_of_measure | (alt.unit_of_measure :=: range_unit_of_measure) )) > 0 (*<CHANGE>The many-to-many was replaced by an intersection entity.*); END_ENTITY; ----- Fix data type. ALTER TYPE ndt_de9im (*<CHANGE>Use a character string to simulate a list of values. Add "3" as a legal value since we also function in a 3D environment.*) (*<DESC> A variation of the OpenGis specification for the Dimensionally Extended Nine-Intersection Model (DE-9IM). Each character in the string represents the maximum dimension (D, 0, 1, 2 or 3) of the intersection of the primary and secondary objects where "D" indicates disjoint, "0" indicates a point, "1" indicates a line, "2" indicates a surface and "3" indicates a volume. The characters are in the order of: PI-SI, PI-SB, PI-SE, PB-SI, PB-SB, PB-SE, PE-SI, PE-SB, PE-SE. Where P=Primary_object, S=Secondary_object, I=Interior, B=Boundary, E=exterior.*) ALTER TYPE AS string(9) FIXED; END_TYPE; ALTER ENTITY topological_relationship; ALTER de9im (*<change>Change documentation to reflect changes in the data type.*) (*<desc>A variation of the OpenGis specification for the Dimensionally Extended Nine-Intersection Model (DE-9IM). Each character in the string represents the maximum dimension (D, 0, 1, 2 or 3) of the intersection of the primary and secondary objects where "D" indicates disjoint, "0" indicates a point, "1" indicates a line, "2" indicates a surface and "3" indicates a volume. The values are in the order of: PI-SI, PI-SB, PI-SE, PB-SI, PB-SB, PB-SE, PE-SI, PE-SB, PE-SE. Where P=Primary_object, S=Secondary_object, I=Interior, B=Boundary, E=exterior. *); END_ENTITY; ----- Change BAG[0:1] to SET[0:1]. ALTER ENTITY activity; ALTER result_of ALTER AGGREGATE AS set; END_ENTITY; ALTER ENTITY geodetic_datum; ALTER geocentric_coordinate_system ALTER AGGREGATE AS set; END_ENTITY; ALTER ENTITY ref_currency_unit; ALTER larger_unit ALTER AGGREGATE AS set; END_ENTITY; ALTER ENTITY ref_customary_unit_of_measure; ALTER first_si_conversion ALTER AGGREGATE AS set; END_ENTITY; ALTER ENTITY reserves; ALTER derived_from ALTER AGGREGATE AS set; END_ENTITY; ALTER ENTITY topological_object; ALTER source_space_time_operation ALTER AGGREGATE AS set; END_ENTITY; ALTER ENTITY wellbore_geologic_target; ALTER previous_target ALTER AGGREGATE AS set; END_ENTITY; ----- Change the population designation for some of the reference entities. ALTER ENTITY activity_class_classification; (*<POPULATION>OPEN*) END_ENTITY; ALTER ENTITY geodetic_zone; (*<POPULATION>OPEN*) END_ENTITY; ALTER ENTITY reserves_class; (*<POPULATION>OPEN*) END_ENTITY; ALTER ENTITY transformation_earth_usage; (*<POPULATION>OPEN*) END_ENTITY; ALTER ENTITY common_activity_composition; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY common_activity_involvement; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY common_activity_property; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY common_facility_composition; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY common_facility_property; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY common_material_composition; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY common_material_property; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY compound_coordinate_system; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY document_schema_entity; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY document_spec_class_clsn; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY general_coordinate_system; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY geographic_3d_coord_system; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY geologic_process_class; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY license_right_class; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY property_class; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY property_class_classification; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY property_classification; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_bathymetry_zone; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_business_value; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_composition_type; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_document_spec_bus_assoc; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_document_spec_reference; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_geologic_feature_assoc; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_location_quality; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_object_remark; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY ref_water_depth_datum; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY representation_type; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY temporal_event; (*<POPULATION>LOCAL*) END_ENTITY; ALTER ENTITY temporal_period_event_boundary; (*<POPULATION>LOCAL*) END_ENTITY; END_CHANGE;