source: mauRepo/MolesManager/trunk/src/sqlTables.py @ 8042

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/src/sqlTables.py@8042
Revision 8042, 209.1 KB checked in by mnagni, 8 years ago (diff)

The tables are correctly generated but still some problem with class initialization.
Migration is partially working.
Starting the deployment structure implementation.

Line 
1from sqlalchemy import Table, Column, Integer, String, ForeignKey, Sequence, event, MetaData
2from sqlalchemy.orm import relationship, backref, mapper, clear_mappers
3from sqlalchemy.ext.declarative import declarative_base
4from sqlalchemy.dialects.postgresql import ARRAY, TEXT, NUMERIC, BOOLEAN, DATE
5from sqlalchemy.types import DateTime
6from sqlalchemy.orm.util import class_mapper
7from sqlalchemy.schema import ForeignKeyConstraint
8
9from ascore.astext import ASText
10
11
12       
13from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_crs import  SC_CRS   
14from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_primitive import  GM_Primitive     
15from ea_model.iso_19115_2006_metadata_corrigendum.metadata_entity_set_information.md_metadata import  MD_Metadata       
16from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_charactersetcode import  MD_CharacterSetCode   
17from ea_model.moles3_4.acquisition.mo_operation import  MO_Operation   
18from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_position import  TM_Position 
19from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_inheritancerelation import  GF_InheritanceRelation     
20from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_progresscode import  MD_ProgressCode   
21from ea_model.iso_19111_referencing_by_coordinates.reference_systems.rs_referencesystem import  RS_ReferenceSystem     
22from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_address import  CI_Address     
23from ea_model.iso_19115_2006_metadata_corrigendum.portrayal_catalogue_information.md_portrayalcataloguereference import  MD_PortrayalCatalogueReference
24from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_datatypecode import  MD_DatatypeCode       
25from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_primitive import  TP_Primitive   
26from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_telephone import  CI_Telephone 
27from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_verticalcs import  CS_VerticalCS       
28from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_indeterminatevalue import  TM_IndeterminateValue     
29from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.unitofmeasure import  UnitOfMeasure   
30from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_onlineresource import  CI_OnlineResource       
31from ea_model.iso_19115_2006_metadata_corrigendum.extent_information.ex_extent import  EX_Extent       
32from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_duration import  TM_Duration   
33from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.genericname import  GenericName   
34from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_identification import  MD_Identification       
35from ea_model.moles3_4.utilities.mo_rolevalue import  MO_RoleValue     
36from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_operationmethod import  CC_OperationMethod 
37from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_complex import  TM_Complex     
38from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.recordtype import  RecordType       
39from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_edge import  TM_Edge   
40from ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.le_algorithm import  LE_Algorithm 
41from ea_model.iso_19115_2006_metadata_corrigendum.reference_system_information.rs_identifier import  RS_Identifier     
42from ea_model.iso_19123_2005_coverages.coverages.segmented_curve.cv_commonpointrule import  CV_CommonPointRule 
43from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.namespace import  NameSpace       
44from ea_model.iso_19115_2006_metadata_corrigendum.extent_information.ex_geographicextent import  EX_GeographicExtent   
45from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridenvelope import  CV_GridEnvelope     
46from ea_model.iso_19115_2006_metadata_corrigendum.metadata_application_information.ds_dataset import  DS_DataSet       
47from ea_model.moles3_4.acquisition.mo_platformtypevalue import  MO_PlatformTypeValue   
48from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_verticalcrs import  SC_VerticalCRS   
49from ea_model.iso_fdis_19156_2011_observations_and_measurements.observation_schema.observation.namedvalue import  NamedValue   
50from ea_model.ceda_metadatamodel.ceda_observation.ceda_observation import  CEDA_Observation     
51from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.time import  Time     
52from ea_model.iso_19103_2005_schema_language.basic_types.primitive.date_and_time.clocktime import  ClockTime   
53from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_distributor import  MD_Distributor       
54from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_platform import  CEDA_Platform   
55from ea_model.iso_19103_2005_schema_language.basic_types.primitive.numerics.unlimitedinteger import  UnlimitedInteger   
56from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_conversion import  CC_Conversion   
57from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_axisdirection import  CS_AxisDirection
58from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.length import  Length
59from ea_model.ceda_metadatamodel.ceda_utilities.ceda_reviewfrequencyvalue import  CEDA_ReviewFrequencyValue     
60from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_keywords import  MD_Keywords   
61from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.localname import  LocalName       
62from ea_model.iso_19123_2005_coverages.coverages.coverage_core.cv_domainobject import  CV_DomainObject 
63from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_associationtype import  GF_AssociationType     
64from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_geometricprimitive import  TM_GeometricPrimitive       
65from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_primitive import  TM_Primitive
66from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.measuretype import  MeasureType       
67from ea_model.moles3_4.observationprocess.mo_process import  MO_Process
68from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_propertytype import  GF_PropertyType   
69from ea_model.moles3_4.observation.mo_observation import  MO_Observation       
70from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.ds_associationtypecode import  DS_AssociationTypeCode     
71from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_series import  CI_Series       
72from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_standardorderprocess import  MD_StandardOrderProcess     
73from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_composite import  GM_Composite       
74from ea_model.ceda_metadatamodel.ceda_result.ceda_curationvalue import  CEDA_CurationValue     
75from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_rangemeaning import  CS_RangeMeaning   
76from ea_model.upcomingiso.ci_party import  CI_Party     
77from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_footprint import  CV_FootPrint   
78from ea_model.iso_19115_2006_metadata_corrigendum.metadata_application_information.ds_aggregate import  DS_Aggregate   
79from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_dataquality import  DQ_DataQuality       
80from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_expressionterm import  TP_ExpressionTerm 
81from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_browsegraphic import  MD_BrowseGraphic 
82from ea_model.moles3_4.result.mo_result import  MO_Result       
83from ea_model.iso_19115_2006_metadata_corrigendum.extent_information.ex_temporalextent import  EX_TemporalExtent       
84from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.measure import  Measure       
85from ea_model.ceda_metadatamodel.ceda_utilities.ceda_notes import  CEDA_Notes   
86from ea_model.iso_19111_referencing_by_coordinates.identified_objects.io_identifiedobject import  IO_IdentifiedObject   
87from ea_model.moles3_4.project.mo_project import  MO_Project   
88from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_topologicalcomplex import  TM_TopologicalComplex       
89from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_element import  DQ_Element       
90from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_compoundcrs import  SC_CompoundCRS   
91from ea_model.iso_19115_2006_metadata_corrigendum.reference_system_information.md_identifier import  MD_Identifier     
92from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_acquisition import  CEDA_Acquisition     
93from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_node import  TM_Node   
94from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration import  TM_PeriodDuration       
95from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_onlinefunctioncode import  CI_OnLineFunctionCode       
96from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_mediumformatcode import  MD_MediumFormatCode     
97from ea_model.ceda_metadatamodel.ceda_result.ceda_result import  CEDA_Result   
98from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.record import  Record       
99from ea_model.iso_19103_2005_schema_language.basic_types.primitive.multiplicities.multiplicityrange import  MultiplicityRange   
100from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.schema import  Schema       
101from ea_model.iso_19115_2006_metadata_corrigendum.maintenance_information.md_scopedescription import  MD_ScopeDescription       
102from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_directedtopo import  TP_DirectedTopo     
103from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_contact import  CI_Contact     
104from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.uomlength import  UomLength   
105from ea_model.moles3_4.acquisition.mo_instrument import  MO_Instrument 
106from ea_model.iso_19123_2005_coverages.coverages.coverage_core.cv_attributevalues import  CV_AttributeValues   
107from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridpoint import  CV_GridPoint   
108from ea_model.moles3_4.acquisition.mo_location import  MO_Location     
109from ea_model.ceda_metadatamodel.ceda_project.ceda_project import  CEDA_Project
110from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_evaluationmethodtypecode import  DQ_EvaluationMethodTypeCode     
111from ea_model.iso_fdis_19156_2011_observations_and_measurements.general_feature_instance.gfi_feature import  GFI_Feature       
112from ea_model.moles3_4.observationprocess.mo_compositeprocess import  MO_CompositeProcess       
113from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.li_source import  LI_Source 
114from ea_model.moles3_4.acquisition.mo_instrumentplatformpair import  MO_InstrumentPlatformPair 
115from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_constraint import  GF_Constraint       
116from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.scopedname import  ScopedName     
117from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_object import  TM_Object       
118from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.type import  Type   
119from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_generaloperationparameter import  CC_GeneralOperationParameter     
120from ea_model.moles3_4.acquisition.mo_acquisition import  MO_Acquisition       
121from ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.le_source import  LE_Source       
122from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_instrument import  CEDA_Instrument       
123from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_obligationcode import  MD_ObligationCode   
124from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.ds_initiativetypecode import  DS_InitiativeTypeCode       
125from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_date import  CI_Date   
126from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_grid import  CV_Grid     
127from ea_model.moles3_4.computation.mo_processing import  MO_Processing 
128from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy import  DQ_PositionalAccuracy 
129from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.scale import  Scale   
130from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.distance import  Distance     
131from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_distribution import  MD_Distribution     
132from ea_model.iso_19115_2006_metadata_corrigendum.content_information.md_contentinformation import  MD_ContentInformation       
133from ea_model.iso_19115_2006_metadata_corrigendum.reference_system_information.md_referencesystem import  MD_ReferenceSystem   
134from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_attributetype import  GF_AttributeType
135from ea_model.upcomingiso.ci_responsiblepartyinfo import  CI_ResponsiblePartyInfo       
136from ea_model.moles3_4.computation.mo_computation import  MO_Computation       
137from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridcoordinate import  CV_GridCoordinate
138from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_aggregateinformation import  MD_AggregateInformation   
139from ea_model.ceda_metadatamodel.ceda_utilities.ceda_review import  CEDA_Review
140from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_medium import  MD_Medium 
141from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_responsibleparty import  CI_ResponsibleParty   
142from ea_model.upcomingiso.ci_responsibility import  CI_Responsibility   
143from ea_model.iso_19103_2005_schema_language.basic_types.primitive.date_and_time.datetime import  DateTime     
144from ea_model.iso_19107_2003_spatial_schema.geometry.geometry_root.gm_object import  GM_Object 
145from ea_model.iso_19115_2006_metadata_corrigendum.extent_information.ex_verticalextent import  EX_VerticalExtent       
146from ea_model.moles3_4.observationcollection.mo_observationcollection import  MO_ObservationCollection 
147from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_operation import  GF_Operation
148from ea_model.ceda_metadatamodel.ceda_utilities.ceda_reviewstatusvalue import  CEDA_ReviewStatusValue   
149from ea_model.iso_19111_referencing_by_coordinates.datums.cd_datum import  CD_Datum     
150from ea_model.moles3_4.acquisition.mo_platform import  MO_Platform     
151from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_formula import  CC_Formula 
152from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_topologicalprimitive import  TM_TopologicalPrimitive   
153from ea_model.iso_19115_2006_metadata_corrigendum.maintenance_information.md_scopecode import  MD_ScopeCode     
154from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.any import  Any     
155from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_passthroughoperation import  CC_PassThroughOperation       
156from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridcell import  CV_GridCell     
157from ea_model.iso_fdis_19156_2011_observations_and_measurements.observation_schema.observation.om_process import  OM_Process   
158from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_keywordtypecode import  MD_KeywordTypeCode     
159from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_coordinatesystem import  CS_CoordinateSystem   
160from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_scope import  DQ_Scope   
161from ea_model.moles3_4.computation.mo_inputoutput import  MO_InputOutput       
162from ea_model.iso_19115_2006_metadata_corrigendum.maintenance_information.md_maintenancefrequencycode import  MD_MaintenanceFrequencyCode       
163from ea_model.moles3_4.utilities.mo_publicationstatevalue import  MO_PublicationStateValue     
164from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_orientableprimitive import  GM_OrientablePrimitive 
165from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.url import  URL   
166from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_format import  MD_Format 
167from ea_model.iso_19107_2003_spatial_schema.topology.topological_complex.tp_complex import  TP_Complex 
168from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_singlecrs import  SC_SingleCRS       
169from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_datetypecode import  CI_DateTypeCode   
170from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.uomscale import  UomScale     
171from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_coordinatesystemaxis import  CS_CoordinateSystemAxis   
172from ea_model.moles3_4.result.mo_onlineresource import  MO_OnlineResource       
173from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.li_lineage import  LI_Lineage       
174from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_temporalposition import  TM_TemporalPosition 
175from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_digitaltransferoptions import  MD_DigitalTransferOptions 
176from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_compositepoint import  GM_CompositePoint     
177from ea_model.ceda_metadatamodel.ceda_computation.ceda_processing import  CEDA_Processing       
178from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_period import  TM_Period       
179from ea_model.iso_19103_2005_schema_language.basic_types.primitive.multiplicities.multiplicity import  Multiplicity     
180from ea_model.ceda_metadatamodel.ceda_observationprocess.ceda_compositeprocess import  CEDA_CompositeProcess   
181from ea_model.iso_19115_2006_metadata_corrigendum.spatial_representation_information.md_spatialrepresentation import  MD_SpatialRepresentation 
182from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_mediumnamecode import  MD_MediumNameCode 
183from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_parametervaluegroup import  CC_ParameterValueGroup 
184from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_referencesystem import  TM_ReferenceSystem   
185from ea_model.iso_19103_2005_schema_language.basic_types.primitive.date_and_time.date import  Date     
186from ea_model.iso_19144_1_classification_systems.cl_dataset import  CL_DataSet 
187from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_complex import  GM_Complex   
188from ea_model.iso_fdis_19156_2011_observations_and_measurements.observation_schema.observation.om_observation import  OM_Observation   
189from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.li_processstep import  LI_ProcessStep       
190from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_concatenatedoperation import  CC_ConcatenatedOperation     
191from ea_model.iso_19115_2006_metadata_corrigendum.application_schema_information.md_applicationschemainformation import  MD_ApplicationSchemaInformation       
192from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_operation import  CEDA_Operation
193from ea_model.iso_19103_2005_schema_language.basic_types.primitive.enumerations.sign import  Sign       
194from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_generalderivedcrs import  SC_GeneralDerivedCRS       
195from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_result import  DQ_Result 
196from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_presentationformcode import  CI_PresentationFormCode   
197from ea_model.iso_19115_2006_metadata_corrigendum.constraint_information.md_constraints import  MD_Constraints 
198from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_featuretype import  GF_FeatureType     
199from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_derivedcrs import  SC_DerivedCRS     
200from ea_model.ceda_metadatamodel.ceda_observation.ceda_citation import  CEDA_Citation   
201from ea_model.iso_19111_referencing_by_coordinates.identified_objects.io_identifiedobjectbase import  IO_IdentifiedObjectBase   
202from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_generalparametervalue import  CC_GeneralParameterValue     
203from ea_model.iso_19123_2005_coverages.coverages.coverage_core.cv_coverage import  CV_Coverage 
204from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.directposition import  DirectPosition 
205from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_usage import  MD_Usage 
206from ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.le_nominalresolution import  LE_NominalResolution 
207from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_expression import  TP_Expression 
208from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_extendedelementinformation import  MD_ExtendedElementInformation   
209from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_metadataextensioninformation import  MD_MetadataExtensionInformation       
210from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_representativefraction import  MD_RepresentativeFraction       
211from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_singleoperation import  CC_SingleOperation 
212from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_coordinateoperation import  CC_CoordinateOperation 
213from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_rolecode import  CI_RoleCode   
214from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_instant import  TM_Instant     
215from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_citation import  CI_Citation   
216from ea_model.iso_19111_referencing_by_coordinates.datums.cd_verticaldatum import  CD_VerticalDatum     
217from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.typename import  TypeName
218from ea_model.ceda_metadatamodel.ceda_observationcollection.ceda_observationcollection import  CEDA_ObservationCollection       
219from ea_model.moles3_4.utilities.mo_responsiblepartyinfo import  MO_ResponsiblePartyInfo       
220from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_point import  GM_Point     
221from ea_model.iso_19115_2006_metadata_corrigendum.extent_information.ex_geographicdescription import  EX_GeographicDescription 
222from ea_model.iso_19115_2006_metadata_corrigendum.maintenance_information.md_maintenanceinformation import  MD_MaintenanceInformation   
223from ea_model.ceda_metadatamodel.ceda_observationprocess.ceda_process import  CEDA_Process     
224from ea_model.iso_19103_2005_schema_language.basic_types.primitive.date_and_time.dateprecision import  DatePrecision   
225from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_derivedcrstype import  SC_DerivedCRSType     
226from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_referenceablegrid import  CV_ReferenceableGrid   
227from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_operationparametergroup import  CC_OperationParameterGroup 
228from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_associationrole import  GF_AssociationRole
229
230clear_mappers()
231metadata = MetaData()
232def next_id(connection, seq_name):
233    seq = Sequence(seq_name)
234    seq.create(bind=connection)
235    return connection.execute(seq)
236
237
238
239
240
241
242
243
244
245
246
247
248ceda_citation_table = Table('ceda_citation', metadata,
249        Column('id', Integer, Sequence('ceda_citation_id_seq'), primary_key=True),
250                                                Column('ceda_observation_citation', Integer, ForeignKey('ceda_observation.id')),
251        Column('title', TEXT , nullable=False),
252        Column('author', ARRAY(TEXT) , nullable=False),
253        extend_existing=False,)
254 
255 
256
257
258
259
260
261
262
263
264
265
266tm_duration_table = Table('tm_duration', metadata,
267        Column('id', Integer, Sequence('tm_duration_id_seq'), primary_key=True),
268                                                Column('tm_periodduration__tm_duration_id', Integer, ForeignKey('tm_periodduration.id')),
269        extend_existing=False,)
270 
271 
272
273
274
275
276
277
278
279
280
281
282md_browsegraphic_table = Table('md_browsegraphic', metadata,
283        Column('id', Integer, Sequence('md_browsegraphic_id_seq'), primary_key=True),
284                                                Column('md_identification_graphicoverview', Integer, ForeignKey('md_identification.id')),
285        Column('fileName', TEXT , nullable=False),
286        Column('fileDescription', TEXT , nullable=True),
287        Column('fileType', TEXT , nullable=True),
288        extend_existing=False,)
289 
290 
291
292
293
294
295
296
297
298
299
300
301md_spatialrepresentation_table = Table('md_spatialrepresentation', metadata,
302        Column('id', Integer, Sequence('md_spatialrepresentation_id_seq'), primary_key=True),
303                                                Column('md_metadata_spatialrepresentationinfo', Integer, ForeignKey('md_metadata.id')),
304        extend_existing=False,)
305 
306 
307
308
309
310
311
312
313
314
315
316
317dq_result_table = Table('dq_result', metadata,
318        Column('id', Integer, Sequence('dq_result_id_seq'), primary_key=True),
319                                                Column('dq_element_result', Integer, ForeignKey('dq_element.id')),
320        extend_existing=False,)
321 
322 
323
324
325
326
327
328
329
330
331
332
333md_contentinformation_table = Table('md_contentinformation', metadata,
334        Column('id', Integer, Sequence('md_contentinformation_id_seq'), primary_key=True),
335                                                Column('md_metadata_contentinfo', Integer, ForeignKey('md_metadata.id')),
336        extend_existing=False,)
337 
338 
339
340
341
342
343
344
345
346
347
348
349cv_gridcoordinate_table = Table('cv_gridcoordinate', metadata,
350        Column('id', Integer, Sequence('cv_gridcoordinate_id_seq'), primary_key=True),
351                                                Column('cv_gridenvelope_high_id', Integer, ForeignKey('cv_gridenvelope.id')),
352        Column('cv_gridenvelope_low_id', Integer, ForeignKey('cv_gridenvelope.id')),
353        Column('cv_gridpoint_gridcoord_id', Integer, ForeignKey('cv_gridpoint.id')),
354        Column('coordValues', ARRAY(Integer) , nullable=False),
355        extend_existing=False,)
356 
357 
358
359
360
361
362
363
364
365
366
367
368clocktime_table = Table('clocktime', metadata,
369        Column('id', Integer, Sequence('clocktime_id_seq'), primary_key=True),
370                                                Column('datetime__clocktime_id', Integer, ForeignKey('datetime.id')),
371        Column('hour', TEXT , nullable=False),
372        Column('timeZone', TEXT , nullable=True),
373        Column('minute', TEXT , nullable=True),
374        Column('second', TEXT , nullable=True),
375        extend_existing=False,)
376 
377 
378
379
380
381
382
383
384
385
386
387
388dateprecision_table = Table('dateprecision', metadata,
389        Column('id', Integer, Sequence('dateprecision_id_seq'), primary_key=True),
390                                                Column('date_precision_id', Integer, ForeignKey('date.id')),
391        Column('precision', TEXT , nullable=False),
392        Column('determinationMethod', TEXT , nullable=False),
393        extend_existing=False,)
394 
395 
396
397
398
399
400
401
402
403
404
405
406unlimitedinteger_table = Table('unlimitedinteger', metadata,
407        Column('id', Integer, Sequence('unlimitedinteger_id_seq'), primary_key=True),
408                                                Column('multiplicityrange_upper_id', Integer, ForeignKey('multiplicityrange.id')),
409        Column('value', Integer , nullable=True),
410        Column('isInfinite', BOOLEAN , nullable=False),
411        extend_existing=False,)
412 
413 
414
415
416
417
418
419
420
421
422
423
424tm_object_table = Table('tm_object', metadata,
425        Column('id', Integer, Sequence('tm_object_id_seq'), primary_key=True),
426                                                Column('mo_observationcollection_phenomenontime', Integer, ForeignKey('mo_observationcollection.id')),
427        Column('mo_operation_operationtime_id', Integer, ForeignKey('mo_operation.id')),
428        Column('tm_primitive__tm_object_id', Integer, ForeignKey('tm_primitive.id')),
429        Column('tm_complex__tm_object_id', Integer, ForeignKey('tm_complex.id')),
430        Column('om_observation_phenomenontime_id', Integer, ForeignKey('om_observation.id')),
431        extend_existing=False,)
432 
433 
434
435
436
437
438
439
440
441
442
443
444any_table = Table('any', metadata,
445        Column('id', Integer, Sequence('any_id_seq'), primary_key=True),
446                                                Column('om_observation_result_id', Integer, ForeignKey('om_observation.id')),
447        Column('namedvalue_value_id', Integer, ForeignKey('namedvalue.id')),
448        extend_existing=False,)
449 
450 
451
452
453
454
455
456
457
458
459
460
461earootclass_table = Table('earootclass', metadata,
462        Column('id', Integer, Sequence('earootclass_id_seq'), primary_key=True),
463                                                extend_existing=False,)
464 
465 
466
467
468
469
470
471
472
473
474
475
476gf_constraint_table = Table('gf_constraint', metadata,
477        Column('id', Integer, Sequence('gf_constraint_id_seq'), primary_key=True),
478                                                Column('gf_propertytype_constrainedby', Integer, ForeignKey('gf_propertytype.id')),
479        Column('gf_featuretype_constrainedby', Integer, ForeignKey('gf_featuretype.id')),
480        Column('description', TEXT , nullable=False),
481        extend_existing=False,)
482 
483 
484
485
486
487
488
489
490
491
492
493
494url_table = Table('url', metadata,
495        Column('id', Integer, Sequence('url_id_seq'), primary_key=True),
496                                                Column('ci_onlineresource_linkage_id', Integer, ForeignKey('ci_onlineresource.id')),
497        extend_existing=False,)
498 
499 
500
501
502
503
504
505
506
507
508
509
510ex_geographicextent_table = Table('ex_geographicextent', metadata,
511        Column('id', Integer, Sequence('ex_geographicextent_id_seq'), primary_key=True),
512                                                Column('ex_extent_geographicelement', Integer, ForeignKey('ex_extent.id')),
513        Column('mo_observationcollection_geographicextent', Integer, ForeignKey('mo_observationcollection.id')),
514        Column('ex_geographicdescription__ex_geographicextent_id', Integer, ForeignKey('ex_geographicdescription.id')),
515        Column('mo_observation_geographicextent', Integer, ForeignKey('mo_observation.id')),
516        Column('extentTypeCode', BOOLEAN , nullable=True),
517        extend_existing=False,)
518 
519 
520
521
522
523
524
525
526
527
528
529
530ci_telephone_table = Table('ci_telephone', metadata,
531        Column('id', Integer, Sequence('ci_telephone_id_seq'), primary_key=True),
532                                                Column('ci_contact_phone_id', Integer, ForeignKey('ci_contact.id')),
533        Column('voice', ARRAY(TEXT) , nullable=True),
534        Column('facsimile', ARRAY(TEXT) , nullable=True),
535        extend_existing=False,)
536 
537 
538
539
540
541
542
543
544
545
546
547
548md_constraints_table = Table('md_constraints', metadata,
549        Column('id', Integer, Sequence('md_constraints_id_seq'), primary_key=True),
550                                                Column('md_identification_resourceconstraints', Integer, ForeignKey('md_identification.id')),
551        Column('mo_observation_permission_id', Integer, ForeignKey('mo_observation.id')),
552        Column('md_metadata_metadataconstraints', Integer, ForeignKey('md_metadata.id')),
553        Column('useLimitation', ARRAY(TEXT) , nullable=True),
554        extend_existing=False,)
555 
556 
557
558
559
560
561
562
563
564
565
566
567ci_series_table = Table('ci_series', metadata,
568        Column('id', Integer, Sequence('ci_series_id_seq'), primary_key=True),
569                                                Column('ci_citation_series_id', Integer, ForeignKey('ci_citation.id')),
570        Column('name', TEXT , nullable=True),
571        Column('page', TEXT , nullable=True),
572        Column('issueIdentification', TEXT , nullable=True),
573        extend_existing=False,)
574 
575 
576
577
578
579
580
581
582
583
584
585
586ci_address_table = Table('ci_address', metadata,
587        Column('id', Integer, Sequence('ci_address_id_seq'), primary_key=True),
588                                                Column('ci_contact_address_id', Integer, ForeignKey('ci_contact.id')),
589        Column('deliveryPoint', ARRAY(TEXT) , nullable=True),
590        Column('city', TEXT , nullable=True),
591        Column('electronicMailAddress', ARRAY(TEXT) , nullable=True),
592        Column('postalCode', TEXT , nullable=True),
593        Column('administrativeArea', TEXT , nullable=True),
594        Column('country', TEXT , nullable=True),
595        extend_existing=False,)
596 
597 
598
599
600
601
602
603
604
605
606
607
608md_medium_table = Table('md_medium', metadata,
609        Column('id', Integer, Sequence('md_medium_id_seq'), primary_key=True),
610                                                Column('md_digitaltransferoptions_offline_id', Integer, ForeignKey('md_digitaltransferoptions.id')),
611        Column('mediumNote', TEXT , nullable=True),
612        Column('density', ARRAY(NUMERIC) , nullable=True),
613        Column('mediumFormat', MD_MediumFormatCode.db_type() , nullable=True),
614        Column('densityUnits', TEXT , nullable=True),
615        Column('volumes', Integer , nullable=True),
616        Column('name', MD_MediumNameCode.db_type() , nullable=True),
617        extend_existing=False,)
618 
619 
620
621
622
623
624
625
626
627
628
629
630tm_periodduration_table = Table('tm_periodduration', metadata,
631        Column('id', Integer, Sequence('tm_periodduration_id_seq'), primary_key=True),
632                                                Column('md_maintenanceinformation_userdefinedmaintenancefrequency_id', Integer, ForeignKey('md_maintenanceinformation.id')),
633        Column('seconds', TEXT , nullable=True),
634        Column('years', TEXT , nullable=True),
635        Column('days', TEXT , nullable=True),
636        Column('timeIndicator', TEXT , nullable=True),
637        Column('hours', TEXT , nullable=True),
638        Column('minutes', TEXT , nullable=True),
639        Column('designator', TEXT , nullable=False),
640        Column('months', TEXT , nullable=True),
641        extend_existing=False,)
642 
643 
644
645
646
647
648
649
650
651
652
653
654ci_onlineresource_table = Table('ci_onlineresource', metadata,
655        Column('id', Integer, Sequence('ci_onlineresource_id_seq'), primary_key=True),
656                                                Column('mo_observationcollection_additionalmetadata', Integer, ForeignKey('mo_observationcollection.id')),
657        Column('mo_onlineresource__ci_onlineresource_id', Integer, ForeignKey('mo_onlineresource.id')),
658        Column('md_digitaltransferoptions_online', Integer, ForeignKey('md_digitaltransferoptions.id')),
659        Column('md_metadataextensioninformation_extensiononlineresource_id', Integer, ForeignKey('md_metadataextensioninformation.id')),
660        Column('ci_contact_onlineresource_id', Integer, ForeignKey('ci_contact.id')),
661        Column('name', TEXT , nullable=True),
662        Column('description', TEXT , nullable=True),
663        Column('protocol', TEXT , nullable=True),
664        Column('function', CI_OnLineFunctionCode.db_type() , nullable=True),
665        Column('applicationProfile', TEXT , nullable=True),
666        extend_existing=False,)
667 
668 
669
670
671
672
673
674
675
676
677
678
679cv_gridenvelope_table = Table('cv_gridenvelope', metadata,
680        Column('id', Integer, Sequence('cv_gridenvelope_id_seq'), primary_key=True),
681                                                Column('cv_grid_extent_id', Integer, ForeignKey('cv_grid.id')),
682        extend_existing=False,)
683 
684 
685
686
687
688
689
690
691
692
693
694
695multiplicityrange_table = Table('multiplicityrange', metadata,
696        Column('id', Integer, Sequence('multiplicityrange_id_seq'), primary_key=True),
697                                                Column('multiplicity_range', Integer, ForeignKey('multiplicity.id')),
698        Column('lower', Integer , nullable=False),
699        extend_existing=False,)
700 
701 
702
703
704
705
706
707
708
709
710
711
712date_table = Table('date', metadata,
713        Column('id', Integer, Sequence('date_id_seq'), primary_key=True),
714                                                Column('datetime__date_id', Integer, ForeignKey('datetime.id')),
715        Column('ci_citation_editiondate_id', Integer, ForeignKey('ci_citation.id')),
716        Column('md_metadata_datestamp_id', Integer, ForeignKey('md_metadata.id')),
717        Column('ci_date_date_id', Integer, ForeignKey('ci_date.id')),
718        Column('cd_datum_realizationepoch_id', Integer, ForeignKey('cd_datum.id')),
719        Column('tm_position_date8601_id', Integer, ForeignKey('tm_position.id')),
720        Column('md_maintenanceinformation_dateofnextupdate_id', Integer, ForeignKey('md_maintenanceinformation.id')),
721        Column('century', TEXT , nullable=False),
722        Column('year', TEXT , nullable=True),
723        Column('month', TEXT , nullable=True),
724        Column('day', TEXT , nullable=True),
725        extend_existing=False,)
726 
727 
728
729
730
731
732
733
734
735
736
737
738datetime_table = Table('datetime', metadata,
739        Column('id', Integer, Sequence('datetime_id_seq'), primary_key=True),
740                                                Column('md_usage_usagedatetime_id', Integer, ForeignKey('md_usage.id')),
741        Column('dq_element_datetime', Integer, ForeignKey('dq_element.id')),
742        Column('li_processstep_datetime_id', Integer, ForeignKey('li_processstep.id')),
743        Column('ceda_notes_date_id', Integer, ForeignKey('ceda_notes.id')),
744        Column('md_standardorderprocess_plannedavailabledatetime_id', Integer, ForeignKey('md_standardorderprocess.id')),
745        Column('tm_position_datetime8601_id', Integer, ForeignKey('tm_position.id')),
746        extend_existing=False,)
747 
748 
749
750
751
752
753
754
755
756
757
758
759tm_primitive_table = Table('tm_primitive', metadata,
760        Column('id', Integer, Sequence('tm_primitive_id_seq'), primary_key=True),
761                                                Column('tm_topologicalprimitive__tm_primitive_id', Integer, ForeignKey('tm_topologicalprimitive.id')),
762        Column('tm_geometricprimitive__tm_primitive_id', Integer, ForeignKey('tm_geometricprimitive.id')),
763        Column('ex_temporalextent_extent_id', Integer, ForeignKey('ex_temporalextent.id')),
764        extend_existing=False,)
765 
766 
767
768
769
770
771
772
773
774
775
776
777tm_complex_table = Table('tm_complex', metadata,
778        Column('id', Integer, Sequence('tm_complex_id_seq'), primary_key=True),
779                                                Column('tm_topologicalcomplex__tm_complex_id', Integer, ForeignKey('tm_topologicalcomplex.id')),
780        extend_existing=False,)
781 
782 
783
784
785
786
787
788
789
790
791
792
793multiplicity_table = Table('multiplicity', metadata,
794        Column('id', Integer, Sequence('multiplicity_id_seq'), primary_key=True),
795                                                Column('gf_associationrole_cardinality_id', Integer, ForeignKey('gf_associationrole.id')),
796        Column('gf_attributetype_cardinality_id', Integer, ForeignKey('gf_attributetype.id')),
797        extend_existing=False,)
798 
799 
800
801
802
803
804
805
806
807
808
809
810ex_temporalextent_table = Table('ex_temporalextent', metadata,
811        Column('id', Integer, Sequence('ex_temporalextent_id_seq'), primary_key=True),
812                                                Column('ex_extent_temporalelement', Integer, ForeignKey('ex_extent.id')),
813        extend_existing=False,)
814 
815 
816
817
818
819
820
821
822
823
824
825
826tm_geometricprimitive_table = Table('tm_geometricprimitive', metadata,
827        Column('id', Integer, Sequence('tm_geometricprimitive_id_seq'), primary_key=True),
828                                                Column('tm_instant__tm_geometricprimitive_id', Integer, ForeignKey('tm_instant.id')),
829        Column('cv_domainobject_temporalelement', Integer, ForeignKey('cv_domainobject.id')),
830        Column('tm_period__tm_geometricprimitive_id', Integer, ForeignKey('tm_period.id')),
831        extend_existing=False,)
832 
833 
834
835
836
837
838
839
840
841
842
843
844md_digitaltransferoptions_table = Table('md_digitaltransferoptions', metadata,
845        Column('id', Integer, Sequence('md_digitaltransferoptions_id_seq'), primary_key=True),
846                                                Column('md_distributor_distributortransferoptions', Integer, ForeignKey('md_distributor.id')),
847        Column('md_distribution_transferoptions', Integer, ForeignKey('md_distribution.id')),
848        Column('unitsOfDistribution', TEXT , nullable=True),
849        Column('transferSize', NUMERIC , nullable=True),
850        extend_existing=False,)
851 
852 
853
854
855
856
857
858
859
860
861
862
863ci_date_table = Table('ci_date', metadata,
864        Column('id', Integer, Sequence('ci_date_id_seq'), primary_key=True),
865                                                Column('ci_citation_date', Integer, ForeignKey('ci_citation.id')),
866        Column('dateType', CI_DateTypeCode.db_type() , nullable=False),
867        extend_existing=False,)
868 
869 
870
871
872
873
874
875
876
877
878
879
880ci_contact_table = Table('ci_contact', metadata,
881        Column('id', Integer, Sequence('ci_contact_id_seq'), primary_key=True),
882                                                Column('ci_party_contactinfo', Integer, ForeignKey('ci_party.id')),
883        Column('ci_responsibleparty_contactinfo_id', Integer, ForeignKey('ci_responsibleparty.id')),
884        Column('hoursOfService', TEXT , nullable=True),
885        Column('contactInstructions', TEXT , nullable=True),
886        extend_existing=False,)
887 
888 
889
890
891
892
893
894
895
896
897
898
899ci_responsibleparty_table = Table('ci_responsibleparty', metadata,
900        Column('id', Integer, Sequence('ci_responsibleparty_id_seq'), primary_key=True),
901                                                Column('md_usage_usercontactinfo', Integer, ForeignKey('md_usage.id')),
902        Column('li_processstep_processor', Integer, ForeignKey('li_processstep.id')),
903        Column('md_maintenanceinformation_contact', Integer, ForeignKey('md_maintenanceinformation.id')),
904        Column('md_metadata_contact', Integer, ForeignKey('md_metadata.id')),
905        Column('md_extendedelementinformation_source', Integer, ForeignKey('md_extendedelementinformation.id')),
906        Column('md_identification_pointofcontact', Integer, ForeignKey('md_identification.id')),
907        Column('ci_citation_citedresponsibleparty', Integer, ForeignKey('ci_citation.id')),
908        Column('md_distributor_distributorcontact_id', Integer, ForeignKey('md_distributor.id')),
909        Column('individualName', TEXT , nullable=True),
910        Column('role', CI_RoleCode.db_type() , nullable=False),
911        Column('organisationName', TEXT , nullable=True),
912        Column('positionName', TEXT , nullable=True),
913        extend_existing=False,)
914 
915 
916
917
918
919
920
921
922
923
924
925
926md_standardorderprocess_table = Table('md_standardorderprocess', metadata,
927        Column('id', Integer, Sequence('md_standardorderprocess_id_seq'), primary_key=True),
928                                                Column('md_distributor_distributionorderprocess', Integer, ForeignKey('md_distributor.id')),
929        Column('fees', TEXT , nullable=True),
930        Column('turnaround', TEXT , nullable=True),
931        Column('orderingInstructions', TEXT , nullable=True),
932        extend_existing=False,)
933 
934 
935
936
937
938
939
940
941
942
943
944
945ci_party_table = Table('ci_party', metadata,
946        Column('id', Integer, Sequence('ci_party_id_seq'), primary_key=True),
947                                                Column('ci_responsibility_party', Integer, ForeignKey('ci_responsibility.id')),
948        Column('name', TEXT , nullable=True),
949        extend_existing=False,)
950 
951 
952
953
954
955
956
957
958
959
960
961
962md_extendedelementinformation_table = Table('md_extendedelementinformation', metadata,
963        Column('id', Integer, Sequence('md_extendedelementinformation_id_seq'), primary_key=True),
964                                                Column('md_metadataextensioninformation_extendedelementinformation', Integer, ForeignKey('md_metadataextensioninformation.id')),
965        Column('rule', TEXT , nullable=False),
966        Column('rationale', ARRAY(TEXT) , nullable=True),
967        Column('domainValue', TEXT , nullable=True),
968        Column('domainCode', Integer , nullable=True),
969        Column('definition', TEXT , nullable=False),
970        Column('dataType', MD_DatatypeCode.db_type() , nullable=False),
971        Column('condition', TEXT , nullable=True),
972        Column('name', TEXT , nullable=False),
973        Column('maximumOccurrence', TEXT , nullable=True),
974        Column('parentEntity', ARRAY(TEXT) , nullable=False),
975        Column('shortName', TEXT , nullable=True),
976        Column('obligation', MD_ObligationCode.db_type() , nullable=True),
977        extend_existing=False,)
978 
979 
980
981
982
983
984
985
986
987
988
989
990md_usage_table = Table('md_usage', metadata,
991        Column('id', Integer, Sequence('md_usage_id_seq'), primary_key=True),
992                                                Column('md_identification_resourcespecificusage', Integer, ForeignKey('md_identification.id')),
993        Column('userDeterminedLimitations', TEXT , nullable=True),
994        Column('specificUsage', TEXT , nullable=False),
995        extend_existing=False,)
996 
997 
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008md_metadataextensioninformation_table = Table('md_metadataextensioninformation', metadata,
1009        Column('id', Integer, Sequence('md_metadataextensioninformation_id_seq'), primary_key=True),
1010                                                Column('md_metadata_metadataextensioninfo', Integer, ForeignKey('md_metadata.id')),
1011        extend_existing=False,)
1012 
1013 
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024ci_responsibility_table = Table('ci_responsibility', metadata,
1025        Column('id', Integer, Sequence('ci_responsibility_id_seq'), primary_key=True),
1026                                                Column('mo_responsiblepartyinfo__ci_responsibility_id', Integer, ForeignKey('mo_responsiblepartyinfo.id')),
1027        extend_existing=False,)
1028 
1029 
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040gfi_feature_table = Table('gfi_feature', metadata,
1041        Column('id', Integer, Sequence('gfi_feature_id_seq'), primary_key=True),
1042                                                Column('om_observation_featureofinterest_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation_featureofinterest')),
1043        extend_existing=False,)
1044 
1045 
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056gf_associationtype_table = Table('gf_associationtype', metadata,
1057        Column('id', Integer, Sequence('gf_associationtype_id_seq'), primary_key=True),
1058                                                Column('gf_featuretype_linkbetween', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype_linkbetween')),
1059        Column('gf_operation_dependson', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation_dependson')),
1060        extend_existing=False,)
1061 
1062 
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073li_processstep_table = Table('li_processstep', metadata,
1074        Column('id', Integer, Sequence('li_processstep_id_seq'), primary_key=True),
1075                                                Column('li_lineage_processstep', Integer, ForeignKey('li_lineage.id')),
1076        Column('li_source_sourcestep', Integer, ForeignKey('li_source.id', use_alter=True, name='fk_li_source_sourcestep')),
1077        Column('description', TEXT , nullable=False),
1078        Column('rationale', TEXT , nullable=True),
1079        extend_existing=False,)
1080 
1081 
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092tm_referencesystem_table = Table('tm_referencesystem', metadata,
1093        Column('id', Integer, Sequence('tm_referencesystem_id_seq'), primary_key=True),
1094                                                Column('tm_temporalposition_frame_id', Integer, ForeignKey('tm_temporalposition.id', use_alter=True, name='fk_tm_temporalposition_frame')),
1095        extend_existing=False,)
1096 
1097 
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108mo_result_table = Table('mo_result', metadata,
1109        Column('id', Integer, Sequence('mo_result_id_seq'), primary_key=True),
1110                                                Column('mo_observation_result_id', Integer, ForeignKey('mo_observation.id')),
1111        Column('ceda_result__mo_result_id', Integer, ForeignKey('ceda_result.id')),
1112        extend_existing=False,)
1113 
1114 
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125typename_table = Table('typename', metadata,
1126        Column('id', Integer, Sequence('typename_id_seq'), primary_key=True),
1127                                                Column('schema_acceptableclasslist', Integer, ForeignKey('schema.id')),
1128        Column('namespace_acceptableclasslist', Integer, ForeignKey('namespace.id', use_alter=True, name='fk_namespace_acceptableclasslist')),
1129        Column('type_typename_id', Integer, ForeignKey('type.id')),
1130        Column('gf_attributetype_valuetype_id', Integer, ForeignKey('gf_attributetype.id')),
1131        Column('gf_associationrole_valuetype_id', Integer, ForeignKey('gf_associationrole.id')),
1132        Column('aName', TEXT , nullable=False),
1133        extend_existing=False,)
1134 
1135 
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146gf_inheritancerelation_table = Table('gf_inheritancerelation', metadata,
1147        Column('id', Integer, Sequence('gf_inheritancerelation_id_seq'), primary_key=True),
1148                                                Column('gf_featuretype_thegf_inheritancerelation', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype_thegf_inheritancerelation')),
1149        Column('description', TEXT , nullable=False),
1150        Column('uniqueInstance', BOOLEAN , nullable=False),
1151        Column('name', TEXT , nullable=False),
1152        extend_existing=False,)
1153 
1154 
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165length_table = Table('length', metadata,
1166        Column('id', Integer, Sequence('length_id_seq'), primary_key=True),
1167                                                Column('distance__length_id', Integer, ForeignKey('distance.id')),
1168        extend_existing=False,)
1169 
1170 
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181mo_onlineresource_table = Table('mo_onlineresource', metadata,
1182        Column('id', Integer, Sequence('mo_onlineresource_id_seq'), primary_key=True),
1183                                                Column('mo_result_source', Integer, ForeignKey('mo_result.id')),
1184        Column('mo_result_sample', Integer, ForeignKey('mo_result.id')),
1185        Column('ceda_project_projectresource', Integer, ForeignKey('ceda_project.id')),
1186        extend_existing=False,)
1187 
1188 
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199measure_table = Table('measure', metadata,
1200        Column('id', Integer, Sequence('measure_id_seq'), primary_key=True),
1201                                                Column('length__measure_id', Integer, ForeignKey('length.id')),
1202        Column('unitofmeasure_measure', Integer, ForeignKey('unitofmeasure.id', use_alter=True, name='fk_unitofmeasure_measure')),
1203        Column('time__measure_id', Integer, ForeignKey('time.id')),
1204        Column('scale__measure_id', Integer, ForeignKey('scale.id')),
1205        Column('value', NUMERIC , nullable=False),
1206        extend_existing=False,)
1207 
1208 
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219cs_coordinatesystem_table = Table('cs_coordinatesystem', metadata,
1220        Column('id', Integer, Sequence('cs_coordinatesystem_id_seq'), primary_key=True),
1221                                                Column('cs_coordinatesystemaxis_coordinatesystem', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis_coordinatesystem')),
1222        Column('cs_verticalcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_verticalcs.id')),
1223        Column('sc_singlecrs_coordinatesystem_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_coordinatesystem')),
1224        extend_existing=False,)
1225 
1226 
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237mo_compositeprocess_table = Table('mo_compositeprocess', metadata,
1238        Column('id', Integer, Sequence('mo_compositeprocess_id_seq'), primary_key=True),
1239                                                Column('ceda_compositeprocess__mo_compositeprocess_id', Integer, ForeignKey('ceda_compositeprocess.id')),
1240        Column('description', TEXT , nullable=True),
1241        extend_existing=False,)
1242 
1243 
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254le_nominalresolution_table = Table('le_nominalresolution', metadata,
1255        Column('id', Integer, Sequence('le_nominalresolution_id_seq'), primary_key=True),
1256                                                Column('le_source_resolution_id', Integer, ForeignKey('le_source.id')),
1257        extend_existing=False,)
1258 
1259 
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270cc_operationmethod_table = Table('cc_operationmethod', metadata,
1271        Column('id', Integer, Sequence('cc_operationmethod_id_seq'), primary_key=True),
1272                                                Column('cc_singleoperation_method_id', Integer, ForeignKey('cc_singleoperation.id', use_alter=True, name='fk_cc_singleoperation_method')),
1273        Column('targetDimensions', Integer , nullable=True),
1274        Column('sourceDimensions', Integer , nullable=True),
1275        extend_existing=False,)
1276 
1277 
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288md_applicationschemainformation_table = Table('md_applicationschemainformation', metadata,
1289        Column('id', Integer, Sequence('md_applicationschemainformation_id_seq'), primary_key=True),
1290                                                Column('md_metadata_applicationschemainfo', Integer, ForeignKey('md_metadata.id')),
1291        Column('constraintLanguage', TEXT , nullable=False),
1292        Column('schemaAscii', TEXT , nullable=True),
1293        Column('softwareDevelopmentFileFormat', TEXT , nullable=True),
1294        Column('schemaLanguage', TEXT , nullable=False),
1295        extend_existing=False,)
1296 
1297 
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308md_distribution_table = Table('md_distribution', metadata,
1309        Column('id', Integer, Sequence('md_distribution_id_seq'), primary_key=True),
1310                                                Column('md_metadata_distributioninfo_id', Integer, ForeignKey('md_metadata.id')),
1311        extend_existing=False,)
1312 
1313 
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324cc_conversion_table = Table('cc_conversion', metadata,
1325        Column('id', Integer, Sequence('cc_conversion_id_seq'), primary_key=True),
1326                                                Column('sc_generalderivedcrs_conversion_id', Integer, ForeignKey('sc_generalderivedcrs.id', use_alter=True, name='fk_sc_generalderivedcrs_conversion')),
1327        Column('operationVersion', TEXT , nullable=True),
1328        extend_existing=False,)
1329 
1330 
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341cv_domainobject_table = Table('cv_domainobject', metadata,
1342        Column('id', Integer, Sequence('cv_domainobject_id_seq'), primary_key=True),
1343                                                Column('cv_coverage_domainelement', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage_domainelement')),
1344        Column('cv_gridpoint__cv_domainobject_id', Integer, ForeignKey('cv_gridpoint.id')),
1345        extend_existing=False,)
1346 
1347 
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358cv_attributevalues_table = Table('cv_attributevalues', metadata,
1359        Column('id', Integer, Sequence('cv_attributevalues_id_seq'), primary_key=True),
1360                                                Column('cv_coverage_rangeelement', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage_rangeelement')),
1361        extend_existing=False,)
1362 
1363 
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374ceda_result_table = Table('ceda_result', metadata,
1375        Column('id', Integer, Sequence('ceda_result_id_seq'), primary_key=True),
1376                                                Column('volume', Integer , nullable=True),
1377        Column('numberOfFiles', Integer , nullable=True),
1378        Column('internalPath', TEXT , nullable=False),
1379        Column('curationCategory', CEDA_CurationValue.db_type() , nullable=False),
1380        extend_existing=False,)
1381 
1382 
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393ceda_compositeprocess_table = Table('ceda_compositeprocess', metadata,
1394        Column('id', Integer, Sequence('ceda_compositeprocess_id_seq'), primary_key=True),
1395                                                extend_existing=False,)
1396 
1397 
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408scale_table = Table('scale', metadata,
1409        Column('id', Integer, Sequence('scale_id_seq'), primary_key=True),
1410                                                Column('md_representativefraction_equivalentscale', Integer, ForeignKey('md_representativefraction.id')),
1411        extend_existing=False,)
1412 
1413 
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424unitofmeasure_table = Table('unitofmeasure', metadata,
1425        Column('id', Integer, Sequence('unitofmeasure_id_seq'), primary_key=True),
1426                                                Column('uomscale__unitofmeasure_id', Integer, ForeignKey('uomscale.id')),
1427        Column('measure_uom_id', Integer, ForeignKey('measure.id', use_alter=True, name='fk_measure_uom')),
1428        Column('uomlength__unitofmeasure_id', Integer, ForeignKey('uomlength.id')),
1429        Column('cs_coordinatesystemaxis_axisunitid_id', Integer, ForeignKey('cs_coordinatesystemaxis.id')),
1430        Column('formula', TEXT , nullable=True),
1431        Column('uomSymbol', TEXT , nullable=False),
1432        Column('offsetToStandardUnit', NUMERIC , nullable=True),
1433        Column('uomName', TEXT , nullable=False),
1434        Column('nameStandardUnit', TEXT , nullable=True),
1435        Column('measureType', MeasureType.db_type() , nullable=False),
1436        Column('scaleToStandardUnit', NUMERIC , nullable=True),
1437        extend_existing=False,)
1438 
1439 
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450sc_compoundcrs_table = Table('sc_compoundcrs', metadata,
1451        Column('id', Integer, Sequence('sc_compoundcrs_id_seq'), primary_key=True),
1452                                                Column('sc_singlecrs_compoundcrs', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_compoundcrs')),
1453        extend_existing=False,)
1454 
1455 
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466ceda_operation_table = Table('ceda_operation', metadata,
1467        Column('id', Integer, Sequence('ceda_operation_id_seq'), primary_key=True),
1468                                                extend_existing=False,)
1469 
1470 
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481gm_complex_table = Table('gm_complex', metadata,
1482        Column('id', Integer, Sequence('gm_complex_id_seq'), primary_key=True),
1483                                                Column('gm_primitive_complex', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_complex')),
1484        Column('gm_composite__gm_complex_id', Integer, ForeignKey('gm_composite.id')),
1485        Column('tp_complex_geometry_id', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex_geometry')),
1486        extend_existing=False,)
1487 
1488 
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499li_lineage_table = Table('li_lineage', metadata,
1500        Column('id', Integer, Sequence('li_lineage_id_seq'), primary_key=True),
1501                                                Column('dq_dataquality_lineage_id', Integer, ForeignKey('dq_dataquality.id')),
1502        Column('statement', TEXT , nullable=True),
1503        extend_existing=False,)
1504 
1505 
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516cc_generaloperationparameter_table = Table('cc_generaloperationparameter', metadata,
1517        Column('id', Integer, Sequence('cc_generaloperationparameter_id_seq'), primary_key=True),
1518                                                Column('cc_operationparametergroup__cc_generaloperationparameter_id', Integer, ForeignKey('cc_operationparametergroup.id')),
1519        Column('cc_operationparametergroup_parameter', Integer, ForeignKey('cc_operationparametergroup.id', use_alter=True, name='fk_cc_operationparametergroup_parameter')),
1520        Column('cc_generalparametervalue_parameter_id', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue_parameter')),
1521        Column('minimumOccurs', Integer , nullable=True),
1522        extend_existing=False,)
1523 
1524 
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535tp_expressionterm_table = Table('tp_expressionterm', metadata,
1536        Column('id', Integer, Sequence('tp_expressionterm_id_seq'), primary_key=True),
1537                                                Column('tp_directedtopo_term', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo_term')),
1538        Column('tp_expression_term', Integer, ForeignKey('tp_expression.id', use_alter=True, name='fk_tp_expression_term')),
1539        Column('coefficient', Integer , nullable=False),
1540        extend_existing=False,)
1541 
1542 
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553io_identifiedobjectbase_table = Table('io_identifiedobjectbase', metadata,
1554        Column('id', Integer, Sequence('io_identifiedobjectbase_id_seq'), primary_key=True),
1555                                                Column('io_identifiedobject__io_identifiedobjectbase_id', Integer, ForeignKey('io_identifiedobject.id')),
1556        Column('sc_crs__io_identifiedobjectbase_id', Integer, ForeignKey('sc_crs.id')),
1557        Column('remarks', TEXT , nullable=True),
1558        extend_existing=False,)
1559 
1560 
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571ds_aggregate_table = Table('ds_aggregate', metadata,
1572        Column('id', Integer, Sequence('ds_aggregate_id_seq'), primary_key=True),
1573                                                Column('md_metadata_series', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_series')),
1574        Column('ds_dataset_partof', Integer, ForeignKey('ds_dataset.id', use_alter=True, name='fk_ds_dataset_partof')),
1575        extend_existing=False,)
1576 
1577 
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588gf_operation_table = Table('gf_operation', metadata,
1589        Column('id', Integer, Sequence('gf_operation_id_seq'), primary_key=True),
1590                                                Column('gf_associationtype_thegf_operation', Integer, ForeignKey('gf_associationtype.id', use_alter=True, name='fk_gf_associationtype_thegf_operation')),
1591        Column('signature', TEXT , nullable=False),
1592        extend_existing=False,)
1593 
1594 
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605mo_observation_table = Table('mo_observation', metadata,
1606        Column('id', Integer, Sequence('mo_observation_id_seq'), primary_key=True),
1607                                                Column('ceda_observation__mo_observation_id', Integer, ForeignKey('ceda_observation.id')),
1608        Column('mo_observationcollection_member', Integer, ForeignKey('mo_observationcollection.id')),
1609        Column('description', TEXT , nullable=True),
1610        Column('status', MD_ProgressCode.db_type() , nullable=True),
1611        Column('publicationState', MO_PublicationStateValue.db_type() , nullable=True),
1612        Column('resolution', TEXT , nullable=True),
1613        Column('resultAccumulation', MD_MaintenanceFrequencyCode.db_type() , nullable=True),
1614        extend_existing=False,)
1615 
1616 
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627ci_responsiblepartyinfo_table = Table('ci_responsiblepartyinfo', metadata,
1628        Column('id', Integer, Sequence('ci_responsiblepartyinfo_id_seq'), primary_key=True),
1629                                                Column('ci_responsibility__ci_responsiblepartyinfo_id', Integer, ForeignKey('ci_responsibility.id')),
1630        Column('role', CI_RoleCode.db_type() , nullable=False),
1631        extend_existing=False,)
1632 
1633 
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644md_keywords_table = Table('md_keywords', metadata,
1645        Column('id', Integer, Sequence('md_keywords_id_seq'), primary_key=True),
1646                                                Column('ceda_observation_keywords', Integer, ForeignKey('ceda_observation.id')),
1647        Column('mo_project_keywords', Integer, ForeignKey('mo_project.id')),
1648        Column('md_identification_descriptivekeywords', Integer, ForeignKey('md_identification.id')),
1649        Column('type', MD_KeywordTypeCode.db_type() , nullable=True),
1650        Column('keyword', ARRAY(TEXT) , nullable=False),
1651        extend_existing=False,)
1652 
1653 
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664cc_concatenatedoperation_table = Table('cc_concatenatedoperation', metadata,
1665        Column('id', Integer, Sequence('cc_concatenatedoperation_id_seq'), primary_key=True),
1666                                                Column('cc_coordinateoperation_concatoperation', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_concatoperation')),
1667        extend_existing=False,)
1668 
1669 
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680cv_grid_table = Table('cv_grid', metadata,
1681        Column('id', Integer, Sequence('cv_grid_id_seq'), primary_key=True),
1682                                                Column('cv_gridcell_framework_id', Integer, ForeignKey('cv_gridcell.id', use_alter=True, name='fk_cv_gridcell_framework')),
1683        Column('cv_gridpoint_framework_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_framework')),
1684        Column('cv_referenceablegrid__cv_grid_id', Integer, ForeignKey('cv_referenceablegrid.id')),
1685        Column('axisNames', ARRAY(TEXT) , nullable=False),
1686        Column('dimension', Integer , nullable=False),
1687        extend_existing=False,)
1688 
1689 
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700md_scopedescription_table = Table('md_scopedescription', metadata,
1701        Column('id', Integer, Sequence('md_scopedescription_id_seq'), primary_key=True),
1702                                                Column('dq_scope_leveldescription', Integer, ForeignKey('dq_scope.id', use_alter=True, name='fk_dq_scope_leveldescription')),
1703        Column('md_maintenanceinformation_updatescopedescription', Integer, ForeignKey('md_maintenanceinformation.id', use_alter=True, name='fk_md_maintenanceinformation_updatescopedescription')),
1704        Column('other', TEXT , nullable=False),
1705        Column('dataset', TEXT , nullable=False),
1706        extend_existing=False,)
1707 
1708 
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719mo_responsiblepartyinfo_table = Table('mo_responsiblepartyinfo', metadata,
1720        Column('id', Integer, Sequence('mo_responsiblepartyinfo_id_seq'), primary_key=True),
1721                                                Column('mo_project_relatedparty', Integer, ForeignKey('mo_project.id')),
1722        Column('mo_observation_relatedparty', Integer, ForeignKey('mo_observation.id')),
1723        Column('mo_compositeprocess_relatedparty', Integer, ForeignKey('mo_compositeprocess.id')),
1724        Column('ceda_review_reviewer_id', Integer, ForeignKey('ceda_review.id')),
1725        Column('ceda_observationcollection_cedaofficer_id', Integer, ForeignKey('ceda_observationcollection.id')),
1726        Column('mo_operation_relatedpartyinfo', Integer, ForeignKey('mo_operation.id')),
1727        Column('ceda_notes_commentator_id', Integer, ForeignKey('ceda_notes.id')),
1728        Column('mo_instrument_realatedparty', Integer, ForeignKey('mo_instrument.id')),
1729        Column('mo_acquisition_realatedparty', Integer, ForeignKey('mo_acquisition.id')),
1730        Column('mo_processing_relatedparty', Integer, ForeignKey('mo_processing.id')),
1731        Column('mo_platform_relatedparty', Integer, ForeignKey('mo_platform.id')),
1732        Column('role', MO_RoleValue.db_type() , nullable=False),
1733        extend_existing=False,)
1734 
1735 
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746cc_formula_table = Table('cc_formula', metadata,
1747        Column('id', Integer, Sequence('cc_formula_id_seq'), primary_key=True),
1748                                                Column('cc_operationmethod_formulareference_id', Integer, ForeignKey('cc_operationmethod.id')),
1749        Column('formula', TEXT , nullable=False),
1750        extend_existing=False,)
1751 
1752 
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763mo_acquisition_table = Table('mo_acquisition', metadata,
1764        Column('id', Integer, Sequence('mo_acquisition_id_seq'), primary_key=True),
1765                                                Column('mo_compositeprocess_acquisitioncomponent', Integer, ForeignKey('mo_compositeprocess.id')),
1766        Column('ceda_acquisition__mo_acquisition_id', Integer, ForeignKey('ceda_acquisition.id')),
1767        Column('description', TEXT , nullable=True),
1768        extend_existing=False,)
1769 
1770 
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781md_portrayalcataloguereference_table = Table('md_portrayalcataloguereference', metadata,
1782        Column('id', Integer, Sequence('md_portrayalcataloguereference_id_seq'), primary_key=True),
1783                                                Column('md_metadata_portrayalcatalogueinfo', Integer, ForeignKey('md_metadata.id')),
1784        extend_existing=False,)
1785 
1786 
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797namedvalue_table = Table('namedvalue', metadata,
1798        Column('id', Integer, Sequence('namedvalue_id_seq'), primary_key=True),
1799                                                Column('om_observation_parameter', Integer, ForeignKey('om_observation.id')),
1800        extend_existing=False,)
1801 
1802 
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813sc_generalderivedcrs_table = Table('sc_generalderivedcrs', metadata,
1814        Column('id', Integer, Sequence('sc_generalderivedcrs_id_seq'), primary_key=True),
1815                                                Column('cc_conversion_referencesystem', Integer, ForeignKey('cc_conversion.id', use_alter=True, name='fk_cc_conversion_referencesystem')),
1816        Column('sc_derivedcrs__sc_generalderivedcrs_id', Integer, ForeignKey('sc_derivedcrs.id')),
1817        extend_existing=False,)
1818 
1819 
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830md_representativefraction_table = Table('md_representativefraction', metadata,
1831        Column('id', Integer, Sequence('md_representativefraction_id_seq'), primary_key=True),
1832                                                Column('li_source_scaledenominator_id', Integer, ForeignKey('li_source.id')),
1833        Column('denominator', Integer , nullable=False),
1834        extend_existing=False,)
1835 
1836 
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847mo_computation_table = Table('mo_computation', metadata,
1848        Column('id', Integer, Sequence('mo_computation_id_seq'), primary_key=True),
1849                                                Column('mo_processing__mo_computation_id', Integer, ForeignKey('mo_processing.id')),
1850        Column('mo_compositeprocess_computationcomponent', Integer, ForeignKey('mo_compositeprocess.id')),
1851        extend_existing=False,)
1852 
1853 
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864scopedname_table = Table('scopedname', metadata,
1865        Column('id', Integer, Sequence('scopedname_id_seq'), primary_key=True),
1866                                                Column('mo_onlineresource_servicefunction_id', Integer, ForeignKey('mo_onlineresource.id')),
1867        Column('mo_instrument_type_id', Integer, ForeignKey('mo_instrument.id')),
1868        extend_existing=False,)
1869 
1870 
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881mo_instrumentplatformpair_table = Table('mo_instrumentplatformpair', metadata,
1882        Column('id', Integer, Sequence('mo_instrumentplatformpair_id_seq'), primary_key=True),
1883                                                Column('mo_acquisition_instrumentplatformpair', Integer, ForeignKey('mo_acquisition.id')),
1884        extend_existing=False,)
1885 
1886 
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897cd_verticaldatum_table = Table('cd_verticaldatum', metadata,
1898        Column('id', Integer, Sequence('cd_verticaldatum_id_seq'), primary_key=True),
1899                                                Column('sc_verticalcrs_datum_id', Integer, ForeignKey('sc_verticalcrs.id', use_alter=True, name='fk_sc_verticalcrs_datum')),
1900        extend_existing=False,)
1901 
1902 
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913tm_period_table = Table('tm_period', metadata,
1914        Column('id', Integer, Sequence('tm_period_id_seq'), primary_key=True),
1915                                                Column('tm_instant_endedby', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_endedby')),
1916        Column('tm_edge_geometry_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_geometry')),
1917        Column('om_observation_validtime_id', Integer, ForeignKey('om_observation.id')),
1918        Column('tm_instant_begunby', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_begunby')),
1919        extend_existing=False,)
1920 
1921 
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932cc_coordinateoperation_table = Table('cc_coordinateoperation', metadata,
1933        Column('id', Integer, Sequence('cc_coordinateoperation_id_seq'), primary_key=True),
1934                                                Column('cc_passthroughoperation__cc_coordinateoperation_id', Integer, ForeignKey('cc_passthroughoperation.id')),
1935        Column('cc_passthroughoperation_coordoperation_id', Integer, ForeignKey('cc_passthroughoperation.id', use_alter=True, name='fk_cc_passthroughoperation_coordoperation')),
1936        Column('cc_concatenatedoperation__cc_coordinateoperation_id', Integer, ForeignKey('cc_concatenatedoperation.id')),
1937        Column('cc_concatenatedoperation_coordoperation', Integer, ForeignKey('cc_concatenatedoperation.id', use_alter=True, name='fk_cc_concatenatedoperation_coordoperation')),
1938        Column('sc_crs_coordoperationto', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_coordoperationto')),
1939        Column('cc_singleoperation__cc_coordinateoperation_id', Integer, ForeignKey('cc_singleoperation.id')),
1940        Column('sc_crs_coordoperationfrom', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_coordoperationfrom')),
1941        Column('operationVersion', TEXT , nullable=True),
1942        Column('scope', ARRAY(TEXT) , nullable=False),
1943        extend_existing=False,)
1944 
1945 
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956ceda_instrument_table = Table('ceda_instrument', metadata,
1957        Column('id', Integer, Sequence('ceda_instrument_id_seq'), primary_key=True),
1958                                                extend_existing=False,)
1959 
1960 
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971sc_verticalcrs_table = Table('sc_verticalcrs', metadata,
1972        Column('id', Integer, Sequence('sc_verticalcrs_id_seq'), primary_key=True),
1973                                                Column('cs_verticalcs_referencesystem', Integer, ForeignKey('cs_verticalcs.id', use_alter=True, name='fk_cs_verticalcs_referencesystem')),
1974        Column('cd_verticaldatum_referencesystem', Integer, ForeignKey('cd_verticaldatum.id', use_alter=True, name='fk_cd_verticaldatum_referencesystem')),
1975        Column('ex_verticalextent_verticalcrs_id', Integer, ForeignKey('ex_verticalextent.id', use_alter=True, name='fk_ex_verticalextent_verticalcrs')),
1976        extend_existing=False,)
1977 
1978 
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989mo_observationcollection_table = Table('mo_observationcollection', metadata,
1990        Column('id', Integer, Sequence('mo_observationcollection_id_seq'), primary_key=True),
1991                                                Column('ceda_observationcollection__mo_observationcollection_id', Integer, ForeignKey('ceda_observationcollection.id')),
1992        Column('mo_project_observationcollection', Integer, ForeignKey('mo_project.id')),
1993        Column('description', TEXT , nullable=True),
1994        Column('publicationState', MO_PublicationStateValue.db_type() , nullable=True),
1995        extend_existing=False,)
1996 
1997 
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008uomlength_table = Table('uomlength', metadata,
2009        Column('id', Integer, Sequence('uomlength_id_seq'), primary_key=True),
2010                                                Column('scale_targetunits_id', Integer, ForeignKey('scale.id')),
2011        Column('length_uom_id', Integer, ForeignKey('length.id')),
2012        Column('scale_sourceunits_id', Integer, ForeignKey('scale.id')),
2013        extend_existing=False,)
2014 
2015 
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026ceda_platform_table = Table('ceda_platform', metadata,
2027        Column('id', Integer, Sequence('ceda_platform_id_seq'), primary_key=True),
2028                                                extend_existing=False,)
2029 
2030 
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041cl_dataset_table = Table('cl_dataset', metadata,
2042        Column('id', Integer, Sequence('cl_dataset_id_seq'), primary_key=True),
2043                                                Column('md_metadata_describes', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_describes')),
2044        extend_existing=False,)
2045 
2046 
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057dq_dataquality_table = Table('dq_dataquality', metadata,
2058        Column('id', Integer, Sequence('dq_dataquality_id_seq'), primary_key=True),
2059                                                Column('md_metadata_dataqualityinfo', Integer, ForeignKey('md_metadata.id')),
2060        extend_existing=False,)
2061 
2062 
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073io_identifiedobject_table = Table('io_identifiedobject', metadata,
2074        Column('id', Integer, Sequence('io_identifiedobject_id_seq'), primary_key=True),
2075                                                Column('cc_coordinateoperation__io_identifiedobject_id', Integer, ForeignKey('cc_coordinateoperation.id')),
2076        Column('cd_datum__io_identifiedobject_id', Integer, ForeignKey('cd_datum.id')),
2077        Column('cs_coordinatesystem__io_identifiedobject_id', Integer, ForeignKey('cs_coordinatesystem.id')),
2078        Column('cc_operationmethod__io_identifiedobject_id', Integer, ForeignKey('cc_operationmethod.id')),
2079        Column('cc_generaloperationparameter__io_identifiedobject_id', Integer, ForeignKey('cc_generaloperationparameter.id')),
2080        Column('cs_coordinatesystemaxis__io_identifiedobject_id', Integer, ForeignKey('cs_coordinatesystemaxis.id')),
2081        extend_existing=False,)
2082 
2083 
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094sc_derivedcrs_table = Table('sc_derivedcrs', metadata,
2095        Column('id', Integer, Sequence('sc_derivedcrs_id_seq'), primary_key=True),
2096                                                Column('sc_singlecrs_derivedcrs', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_derivedcrs')),
2097        Column('derivedCRSType', SC_DerivedCRSType.db_type() , nullable=False),
2098        extend_existing=False,)
2099 
2100 
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111gm_compositepoint_table = Table('gm_compositepoint', metadata,
2112        Column('id', Integer, Sequence('gm_compositepoint_id_seq'), primary_key=True),
2113                                                Column('gm_point_composite', Integer, ForeignKey('gm_point.id', use_alter=True, name='fk_gm_point_composite')),
2114        extend_existing=False,)
2115 
2116 
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127cs_coordinatesystemaxis_table = Table('cs_coordinatesystemaxis', metadata,
2128        Column('id', Integer, Sequence('cs_coordinatesystemaxis_id_seq'), primary_key=True),
2129                                                Column('cs_coordinatesystem_axis', Integer, ForeignKey('cs_coordinatesystem.id', use_alter=True, name='fk_cs_coordinatesystem_axis')),
2130        Column('maximumValue', NUMERIC , nullable=True),
2131        Column('rangeMeaning', CS_RangeMeaning.db_type() , nullable=True),
2132        Column('axisAbbrev', TEXT , nullable=False),
2133        Column('minimumValue', NUMERIC , nullable=True),
2134        Column('axisDirection', CS_AxisDirection.db_type() , nullable=False),
2135        extend_existing=False,)
2136 
2137 
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148gf_propertytype_table = Table('gf_propertytype', metadata,
2149        Column('id', Integer, Sequence('gf_propertytype_id_seq'), primary_key=True),
2150                                                Column('om_observation_observedproperty_id', Integer, ForeignKey('om_observation.id')),
2151        Column('gf_operation__gf_propertytype_id', Integer, ForeignKey('gf_operation.id')),
2152        Column('gf_featuretype_carrierofcharacteristics', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype_carrierofcharacteristics')),
2153        Column('gf_attributetype__gf_propertytype_id', Integer, ForeignKey('gf_attributetype.id')),
2154        Column('gf_associationrole__gf_propertytype_id', Integer, ForeignKey('gf_associationrole.id')),
2155        Column('md_metadata_propertytype', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_propertytype')),
2156        Column('definition', TEXT , nullable=False),
2157        extend_existing=False,)
2158 
2159 
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170namespace_table = Table('namespace', metadata,
2171        Column('id', Integer, Sequence('namespace_id_seq'), primary_key=True),
2172                                                Column('schema__namespace_id', Integer, ForeignKey('schema.id')),
2173        Column('genericname_scope_id', Integer, ForeignKey('genericname.id', use_alter=True, name='fk_genericname_scope')),
2174        Column('isGlobal', BOOLEAN , nullable=False),
2175        extend_existing=False,)
2176 
2177 
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188uomscale_table = Table('uomscale', metadata,
2189        Column('id', Integer, Sequence('uomscale_id_seq'), primary_key=True),
2190                                                Column('scale_uom_id', Integer, ForeignKey('scale.id')),
2191        extend_existing=False,)
2192 
2193 
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204om_process_table = Table('om_process', metadata,
2205        Column('id', Integer, Sequence('om_process_id_seq'), primary_key=True),
2206                                                Column('om_observation_procedure_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation_procedure')),
2207        Column('mo_process__om_process_id', Integer, ForeignKey('mo_process.id')),
2208        extend_existing=False,)
2209 
2210 
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221gm_object_table = Table('gm_object', metadata,
2222        Column('id', Integer, Sequence('gm_object_id_seq'), primary_key=True),
2223                                                Column('gm_complex__gm_object_id', Integer, ForeignKey('gm_complex.id')),
2224        Column('mo_location_geometrylocation_id', Integer, ForeignKey('mo_location.id')),
2225        Column('cv_domainobject_spatialelement', Integer, ForeignKey('cv_domainobject.id', use_alter=True, name='fk_cv_domainobject_spatialelement')),
2226        Column('cv_footprint_geometry_id', Integer, ForeignKey('cv_footprint.id', use_alter=True, name='fk_cv_footprint_geometry')),
2227        Column('gm_primitive__gm_object_id', Integer, ForeignKey('gm_primitive.id')),
2228        Column('sc_crs_object', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_object')),
2229        extend_existing=False,)
2230 
2231 
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242sc_singlecrs_table = Table('sc_singlecrs', metadata,
2243        Column('id', Integer, Sequence('sc_singlecrs_id_seq'), primary_key=True),
2244                                                Column('sc_generalderivedcrs__sc_singlecrs_id', Integer, ForeignKey('sc_generalderivedcrs.id')),
2245        Column('sc_compoundcrs_componentreferencesystem', Integer, ForeignKey('sc_compoundcrs.id', use_alter=True, name='fk_sc_compoundcrs_componentreferencesystem')),
2246        Column('sc_verticalcrs__sc_singlecrs_id', Integer, ForeignKey('sc_verticalcrs.id')),
2247        Column('sc_derivedcrs_basecrs_id', Integer, ForeignKey('sc_derivedcrs.id', use_alter=True, name='fk_sc_derivedcrs_basecrs')),
2248        Column('cd_datum_referencesystem', Integer, ForeignKey('cd_datum.id', use_alter=True, name='fk_cd_datum_referencesystem')),
2249        Column('cs_coordinatesystem_referencesystem', Integer, ForeignKey('cs_coordinatesystem.id', use_alter=True, name='fk_cs_coordinatesystem_referencesystem')),
2250        extend_existing=False,)
2251 
2252 
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263gm_orientableprimitive_table = Table('gm_orientableprimitive', metadata,
2264        Column('id', Integer, Sequence('gm_orientableprimitive_id_seq'), primary_key=True),
2265                                                Column('gm_primitive_proxy_id', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_proxy')),
2266        Column('orientation', Sign.db_type() , nullable=False),
2267        extend_existing=False,)
2268 
2269 
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280le_algorithm_table = Table('le_algorithm', metadata,
2281        Column('id', Integer, Sequence('le_algorithm_id_seq'), primary_key=True),
2282                                                Column('mo_processing_algorithm', Integer, ForeignKey('mo_processing.id')),
2283        Column('description', TEXT , nullable=False),
2284        extend_existing=False,)
2285 
2286 
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297ci_citation_table = Table('ci_citation', metadata,
2298        Column('id', Integer, Sequence('ci_citation_id_seq'), primary_key=True),
2299                                                Column('mo_compositeprocess_documentation', Integer, ForeignKey('mo_compositeprocess.id')),
2300        Column('mo_operation_documentation', Integer, ForeignKey('mo_operation.id')),
2301        Column('md_identifier_authority_id', Integer, ForeignKey('md_identifier.id', use_alter=True, name='fk_md_identifier_authority')),
2302        Column('mo_processing_softwarereference_id', Integer, ForeignKey('mo_processing.id')),
2303        Column('mo_instrument_documentation', Integer, ForeignKey('mo_instrument.id')),
2304        Column('mo_processing_documentation', Integer, ForeignKey('mo_processing.id')),
2305        Column('md_portrayalcataloguereference_portrayalcataloguecitation', Integer, ForeignKey('md_portrayalcataloguereference.id')),
2306        Column('dq_element_evaluationprocedure_id', Integer, ForeignKey('dq_element.id')),
2307        Column('md_identification_citation_id', Integer, ForeignKey('md_identification.id')),
2308        Column('mo_platform_documentation', Integer, ForeignKey('mo_platform.id')),
2309        Column('md_keywords_thesaurusname_id', Integer, ForeignKey('md_keywords.id')),
2310        Column('li_source_sourcecitation_id', Integer, ForeignKey('li_source.id')),
2311        Column('mo_project_dmp_id', Integer, ForeignKey('mo_project.id')),
2312        Column('le_algorithm_citation_id', Integer, ForeignKey('le_algorithm.id')),
2313        Column('mo_observation_documentation', Integer, ForeignKey('mo_observation.id')),
2314        Column('cc_formula_formulacitation_id', Integer, ForeignKey('cc_formula.id')),
2315        Column('md_aggregateinformation_aggregatedatasetname_id', Integer, ForeignKey('md_aggregateinformation.id')),
2316        Column('mo_project_documentation', Integer, ForeignKey('mo_project.id')),
2317        Column('mo_acquisition_documentation', Integer, ForeignKey('mo_acquisition.id')),
2318        Column('md_applicationschemainformation_name_id', Integer, ForeignKey('md_applicationschemainformation.id')),
2319        Column('alternateTitle', ARRAY(TEXT) , nullable=True),
2320        Column('otherCitationDetails', TEXT , nullable=True),
2321        Column('presentationForm', CI_PresentationFormCode.db_type() , nullable=True),
2322        Column('edition', TEXT , nullable=True),
2323        Column('collectiveTitle', TEXT , nullable=True),
2324        Column('title', TEXT , nullable=False),
2325        Column('ISBN', TEXT , nullable=True),
2326        Column('ISSN', TEXT , nullable=True),
2327        extend_existing=False,)
2328 
2329 
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340md_aggregateinformation_table = Table('md_aggregateinformation', metadata,
2341        Column('id', Integer, Sequence('md_aggregateinformation_id_seq'), primary_key=True),
2342                                                Column('md_identification_aggregationinfo', Integer, ForeignKey('md_identification.id')),
2343        Column('associationType', DS_AssociationTypeCode.db_type() , nullable=False),
2344        Column('initiativeType', DS_InitiativeTypeCode.db_type() , nullable=True),
2345        extend_existing=False,)
2346 
2347 
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358om_observation_table = Table('om_observation', metadata,
2359        Column('id', Integer, Sequence('om_observation_id_seq'), primary_key=True),
2360                                                Column('mo_observation__om_observation_id', Integer, ForeignKey('mo_observation.id')),
2361        Column('gfi_feature_propertyvalueprovider', Integer, ForeignKey('gfi_feature.id', use_alter=True, name='fk_gfi_feature_propertyvalueprovider')),
2362        Column('om_process_generatedobservation', Integer, ForeignKey('om_process.id', use_alter=True, name='fk_om_process_generatedobservation')),
2363        extend_existing=False,)
2364 
2365 
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376tp_primitive_table = Table('tp_primitive', metadata,
2377        Column('id', Integer, Sequence('tp_primitive_id_seq'), primary_key=True),
2378                                                Column('tp_directedtopo__tp_primitive_id', Integer, ForeignKey('tp_directedtopo.id')),
2379        Column('tp_directedtopo_topo_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo_topo')),
2380        Column('tp_complex_element', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex_element')),
2381        Column('gm_primitive_topology', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_topology')),
2382        extend_existing=False,)
2383 
2384 
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395cd_datum_table = Table('cd_datum', metadata,
2396        Column('id', Integer, Sequence('cd_datum_id_seq'), primary_key=True),
2397                                                Column('sc_singlecrs_datum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_datum')),
2398        Column('cd_verticaldatum__cd_datum_id', Integer, ForeignKey('cd_verticaldatum.id')),
2399        Column('anchorDefinition', TEXT , nullable=True),
2400        Column('scope', ARRAY(TEXT) , nullable=False),
2401        extend_existing=False,)
2402 
2403 
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414tp_expression_table = Table('tp_expression', metadata,
2415        Column('id', Integer, Sequence('tp_expression_id_seq'), primary_key=True),
2416                                                Column('tp_expressionterm_expression_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm_expression')),
2417        extend_existing=False,)
2418 
2419 
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430localname_table = Table('localname', metadata,
2431        Column('id', Integer, Sequence('localname_id_seq'), primary_key=True),
2432                                                Column('schema_schemaname_id', Integer, ForeignKey('schema.id')),
2433        Column('typename__localname_id', Integer, ForeignKey('typename.id')),
2434        Column('gf_propertytype_membername_id', Integer, ForeignKey('gf_propertytype.id')),
2435        Column('gf_featuretype_typename_id', Integer, ForeignKey('gf_featuretype.id')),
2436        extend_existing=False,)
2437 
2438 
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449tp_directedtopo_table = Table('tp_directedtopo', metadata,
2450        Column('id', Integer, Sequence('tp_directedtopo_id_seq'), primary_key=True),
2451                                                Column('tp_primitive_proxy_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive_proxy')),
2452        Column('tp_expressionterm_variable_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm_variable')),
2453        Column('orientation', Sign.db_type() , nullable=False),
2454        extend_existing=False,)
2455 
2456 
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467mo_processing_table = Table('mo_processing', metadata,
2468        Column('id', Integer, Sequence('mo_processing_id_seq'), primary_key=True),
2469                                                Column('ceda_processing__mo_processing_id', Integer, ForeignKey('ceda_processing.id')),
2470        Column('description', TEXT , nullable=True),
2471        extend_existing=False,)
2472 
2473 
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484le_source_table = Table('le_source', metadata,
2485        Column('id', Integer, Sequence('le_source_id_seq'), primary_key=True),
2486                                                Column('mo_inputoutput_description_id', Integer, ForeignKey('mo_inputoutput.id')),
2487        extend_existing=False,)
2488 
2489 
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500md_identifier_table = Table('md_identifier', metadata,
2501        Column('id', Integer, Sequence('md_identifier_id_seq'), primary_key=True),
2502                                                Column('dq_element_measureidentification_id', Integer, ForeignKey('dq_element.id')),
2503        Column('rs_identifier__md_identifier_id', Integer, ForeignKey('rs_identifier.id')),
2504        Column('mo_platform_identifier', Integer, ForeignKey('mo_platform.id')),
2505        Column('mo_project_identifier', Integer, ForeignKey('mo_project.id')),
2506        Column('le_source_processedlevel_id', Integer, ForeignKey('le_source.id')),
2507        Column('mo_acquisition_identifier', Integer, ForeignKey('mo_acquisition.id')),
2508        Column('mo_operation_identifier', Integer, ForeignKey('mo_operation.id')),
2509        Column('ci_citation_identifier', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_identifier')),
2510        Column('mo_processing_identifier', Integer, ForeignKey('mo_processing.id')),
2511        Column('ex_geographicdescription_geographicidentifier_id', Integer, ForeignKey('ex_geographicdescription.id')),
2512        Column('md_aggregateinformation_aggregatedatasetidentifier_id', Integer, ForeignKey('md_aggregateinformation.id')),
2513        Column('mo_compositeprocess_identifier', Integer, ForeignKey('mo_compositeprocess.id')),
2514        Column('mo_instrument_identifier', Integer, ForeignKey('mo_instrument.id')),
2515        Column('mo_observationcollection_identifier', Integer, ForeignKey('mo_observationcollection.id')),
2516        Column('mo_observation_identifier', Integer, ForeignKey('mo_observation.id')),
2517        Column('code', TEXT , nullable=False),
2518        extend_existing=False,)
2519 
2520 
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531dq_positionalaccuracy_table = Table('dq_positionalaccuracy', metadata,
2532        Column('id', Integer, Sequence('dq_positionalaccuracy_id_seq'), primary_key=True),
2533                                                Column('cc_coordinateoperation_coordinateoperationaccuracy', Integer, ForeignKey('cc_coordinateoperation.id')),
2534        extend_existing=False,)
2535 
2536 
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547ceda_observationcollection_table = Table('ceda_observationcollection', metadata,
2548        Column('id', Integer, Sequence('ceda_observationcollection_id_seq'), primary_key=True),
2549                                                extend_existing=False,)
2550 
2551 
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562gm_composite_table = Table('gm_composite', metadata,
2563        Column('id', Integer, Sequence('gm_composite_id_seq'), primary_key=True),
2564                                                Column('gm_compositepoint__gm_composite_id', Integer, ForeignKey('gm_compositepoint.id')),
2565        Column('gm_primitive_composite', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_composite')),
2566        extend_existing=False,)
2567 
2568 
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579ceda_process_table = Table('ceda_process', metadata,
2580        Column('id', Integer, Sequence('ceda_process_id_seq'), primary_key=True),
2581                                                Column('ceda_processing__ceda_process_id', Integer, ForeignKey('ceda_processing.id')),
2582        Column('ceda_compositeprocess__ceda_process_id', Integer, ForeignKey('ceda_compositeprocess.id')),
2583        Column('ceda_acquisition__ceda_process_id', Integer, ForeignKey('ceda_acquisition.id')),
2584        extend_existing=False,)
2585 
2586 
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597tm_topologicalprimitive_table = Table('tm_topologicalprimitive', metadata,
2598        Column('id', Integer, Sequence('tm_topologicalprimitive_id_seq'), primary_key=True),
2599                                                Column('tm_node__tm_topologicalprimitive_id', Integer, ForeignKey('tm_node.id')),
2600        Column('tm_topologicalcomplex_primitive', Integer, ForeignKey('tm_topologicalcomplex.id', use_alter=True, name='fk_tm_topologicalcomplex_primitive')),
2601        Column('tm_edge__tm_topologicalprimitive_id', Integer, ForeignKey('tm_edge.id')),
2602        extend_existing=False,)
2603 
2604 
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615tm_position_table = Table('tm_position', metadata,
2616        Column('id', Integer, Sequence('tm_position_id_seq'), primary_key=True),
2617                                                Column('tm_instant_position_id', Integer, ForeignKey('tm_instant.id')),
2618        extend_existing=False,)
2619 
2620 
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631tm_instant_table = Table('tm_instant', metadata,
2632        Column('id', Integer, Sequence('tm_instant_id_seq'), primary_key=True),
2633                                                Column('tm_period_end_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period_end')),
2634        Column('om_observation_resulttime_id', Integer, ForeignKey('om_observation.id')),
2635        Column('tm_node_geometry_id', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_geometry')),
2636        Column('tm_period_begin_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period_begin')),
2637        extend_existing=False,)
2638 
2639 
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650sc_crs_table = Table('sc_crs', metadata,
2651        Column('id', Integer, Sequence('sc_crs_id_seq'), primary_key=True),
2652                                                Column('cv_referenceablegrid_crs', Integer, ForeignKey('cv_referenceablegrid.id', use_alter=True, name='fk_cv_referenceablegrid_crs')),
2653        Column('cc_coordinateoperation_targetcrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_targetcrs')),
2654        Column('cv_coverage_crs_id', Integer, ForeignKey('cv_coverage.id')),
2655        Column('cc_coordinateoperation_sourcecrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_sourcecrs')),
2656        Column('directposition_crs_id', Integer, ForeignKey('directposition.id', use_alter=True, name='fk_directposition_crs')),
2657        Column('sc_singlecrs__sc_crs_id', Integer, ForeignKey('sc_singlecrs.id')),
2658        Column('sc_compoundcrs__sc_crs_id', Integer, ForeignKey('sc_compoundcrs.id')),
2659        Column('gm_object_crs_id', Integer, ForeignKey('gm_object.id', use_alter=True, name='fk_gm_object_crs')),
2660        Column('ex_verticalextent_verticalcrs_id', Integer, ForeignKey('ex_verticalextent.id', use_alter=True, name='fk_ex_verticalextent_verticalcrs')),
2661        Column('scope', ARRAY(TEXT) , nullable=False),
2662        extend_existing=False,)
2663 
2664 
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675md_distributor_table = Table('md_distributor', metadata,
2676        Column('id', Integer, Sequence('md_distributor_id_seq'), primary_key=True),
2677                                                Column('md_format_formatdistributor', Integer, ForeignKey('md_format.id', use_alter=True, name='fk_md_format_formatdistributor')),
2678        Column('md_distribution_distributor', Integer, ForeignKey('md_distribution.id')),
2679        extend_existing=False,)
2680 
2681 
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692cv_gridpoint_table = Table('cv_gridpoint', metadata,
2693        Column('id', Integer, Sequence('cv_gridpoint_id_seq'), primary_key=True),
2694                                                Column('cv_grid_intersection', Integer, ForeignKey('cv_grid.id', use_alter=True, name='fk_cv_grid_intersection')),
2695        Column('cv_gridcell_corner', Integer, ForeignKey('cv_gridcell.id', use_alter=True, name='fk_cv_gridcell_corner')),
2696        Column('gm_point_gridpoint', Integer, ForeignKey('gm_point.id', use_alter=True, name='fk_gm_point_gridpoint')),
2697        Column('cv_footprint_center', Integer, ForeignKey('cv_footprint.id', use_alter=True, name='fk_cv_footprint_center')),
2698        extend_existing=False,)
2699 
2700 
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711cc_generalparametervalue_table = Table('cc_generalparametervalue', metadata,
2712        Column('id', Integer, Sequence('cc_generalparametervalue_id_seq'), primary_key=True),
2713                                                Column('cc_singleoperation_parametervalue', Integer, ForeignKey('cc_singleoperation.id', use_alter=True, name='fk_cc_singleoperation_parametervalue')),
2714        Column('cc_generaloperationparameter_value', Integer, ForeignKey('cc_generaloperationparameter.id', use_alter=True, name='fk_cc_generaloperationparameter_value')),
2715        Column('cc_parametervaluegroup__cc_generalparametervalue_id', Integer, ForeignKey('cc_parametervaluegroup.id')),
2716        Column('cc_parametervaluegroup_parametervalue', Integer, ForeignKey('cc_parametervaluegroup.id', use_alter=True, name='fk_cc_parametervaluegroup_parametervalue')),
2717        extend_existing=False,)
2718 
2719 
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730cc_operationparametergroup_table = Table('cc_operationparametergroup', metadata,
2731        Column('id', Integer, Sequence('cc_operationparametergroup_id_seq'), primary_key=True),
2732                                                Column('cc_generaloperationparameter_group', Integer, ForeignKey('cc_generaloperationparameter.id', use_alter=True, name='fk_cc_generaloperationparameter_group')),
2733        Column('cc_parametervaluegroup_group_id', Integer, ForeignKey('cc_parametervaluegroup.id', use_alter=True, name='fk_cc_parametervaluegroup_group')),
2734        Column('maximumOccurs', Integer , nullable=True),
2735        extend_existing=False,)
2736 
2737 
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748directposition_table = Table('directposition', metadata,
2749        Column('id', Integer, Sequence('directposition_id_seq'), primary_key=True),
2750                                                Column('sc_crs_directposition', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_directposition')),
2751        Column('gm_point_position_id', Integer, ForeignKey('gm_point.id', use_alter=True, name='fk_gm_point_position')),
2752        Column('coordinate', ARRAY(NUMERIC) , nullable=False),
2753        Column('dimension', Integer , nullable=False),
2754        extend_existing=False,)
2755 
2756 
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767ceda_acquisition_table = Table('ceda_acquisition', metadata,
2768        Column('id', Integer, Sequence('ceda_acquisition_id_seq'), primary_key=True),
2769                                                extend_existing=False,)
2770 
2771 
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782schema_table = Table('schema', metadata,
2783        Column('id', Integer, Sequence('schema_id_seq'), primary_key=True),
2784                                                Column('type_schema', Integer, ForeignKey('type.id', use_alter=True, name='fk_type_schema')),
2785        Column('isGlobal', BOOLEAN , nullable=False),
2786        extend_existing=False,)
2787 
2788 
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799tp_complex_table = Table('tp_complex', metadata,
2800        Column('id', Integer, Sequence('tp_complex_id_seq'), primary_key=True),
2801                                                Column('tp_primitive_maximalcomplex_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive_maximalcomplex')),
2802        Column('tp_primitive_complex', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive_complex')),
2803        Column('gm_complex_topology_id', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex_topology')),
2804        extend_existing=False,)
2805 
2806 
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817mo_inputoutput_table = Table('mo_inputoutput', metadata,
2818        Column('id', Integer, Sequence('mo_inputoutput_id_seq'), primary_key=True),
2819                                                Column('mo_acquisition_outputdescription_id', Integer, ForeignKey('mo_acquisition.id')),
2820        Column('mo_processing_processingoutput_id', Integer, ForeignKey('mo_processing.id')),
2821        Column('mo_processing_processinginput', Integer, ForeignKey('mo_processing.id')),
2822        extend_existing=False,)
2823 
2824 
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835time_table = Table('time', metadata,
2836        Column('id', Integer, Sequence('time_id_seq'), primary_key=True),
2837                                                Column('tm_position_time8601_id', Integer, ForeignKey('tm_position.id')),
2838        extend_existing=False,)
2839 
2840 
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851genericname_table = Table('genericname', metadata,
2852        Column('id', Integer, Sequence('genericname_id_seq'), primary_key=True),
2853                                                Column('io_identifiedobjectbase_alias', Integer, ForeignKey('io_identifiedobjectbase.id')),
2854        Column('mo_inputoutput_name_id', Integer, ForeignKey('mo_inputoutput.id')),
2855        Column('localname__genericname_id', Integer, ForeignKey('localname.id')),
2856        Column('namedvalue_name_id', Integer, ForeignKey('namedvalue.id')),
2857        Column('scopedname__genericname_id', Integer, ForeignKey('scopedname.id')),
2858        Column('namespace_name', Integer, ForeignKey('namespace.id', use_alter=True, name='fk_namespace_name')),
2859        extend_existing=False,)
2860 
2861 
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872mo_operation_table = Table('mo_operation', metadata,
2873        Column('id', Integer, Sequence('mo_operation_id_seq'), primary_key=True),
2874                                                Column('ceda_operation__mo_operation_id', Integer, ForeignKey('ceda_operation.id')),
2875        Column('mo_acquisition_operation', Integer, ForeignKey('mo_acquisition.id')),
2876        Column('description', TEXT , nullable=True),
2877        Column('status', MD_ProgressCode.db_type() , nullable=True),
2878        extend_existing=False,)
2879 
2880 
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891cv_referenceablegrid_table = Table('cv_referenceablegrid', metadata,
2892        Column('id', Integer, Sequence('cv_referenceablegrid_id_seq'), primary_key=True),
2893                                                Column('sc_crs_grid', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_grid')),
2894        extend_existing=False,)
2895 
2896 
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907dq_scope_table = Table('dq_scope', metadata,
2908        Column('id', Integer, Sequence('dq_scope_id_seq'), primary_key=True),
2909                                                Column('dq_dataquality_scope_id', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality_scope')),
2910        Column('level', MD_ScopeCode.db_type() , nullable=False),
2911        extend_existing=False,)
2912 
2913 
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924md_maintenanceinformation_table = Table('md_maintenanceinformation', metadata,
2925        Column('id', Integer, Sequence('md_maintenanceinformation_id_seq'), primary_key=True),
2926                                                Column('md_metadata_metadatamaintenance_id', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_metadatamaintenance')),
2927        Column('md_identification_resourcemaintenance', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_resourcemaintenance')),
2928        Column('maintenanceNote', ARRAY(TEXT) , nullable=True),
2929        Column('updateScope', MD_ScopeCode.db_type() , nullable=True),
2930        Column('maintenanceAndUpdateFrequency', MD_MaintenanceFrequencyCode.db_type() , nullable=False),
2931        extend_existing=False,)
2932 
2933 
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944ex_geographicdescription_table = Table('ex_geographicdescription', metadata,
2945        Column('id', Integer, Sequence('ex_geographicdescription_id_seq'), primary_key=True),
2946                                                Column('mo_location_namelocation_id', Integer, ForeignKey('mo_location.id')),
2947        extend_existing=False,)
2948 
2949 
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960gf_attributetype_table = Table('gf_attributetype', metadata,
2961        Column('id', Integer, Sequence('gf_attributetype_id_seq'), primary_key=True),
2962                                                Column('md_scopedescription_attributeinstances', Integer, ForeignKey('md_scopedescription.id', use_alter=True, name='fk_md_scopedescription_attributeinstances')),
2963        Column('md_metadata_featureattribute', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_featureattribute')),
2964        Column('gf_operation_triggeredbyvaluesof', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation_triggeredbyvaluesof')),
2965        Column('md_scopedescription_attributes', Integer, ForeignKey('md_scopedescription.id', use_alter=True, name='fk_md_scopedescription_attributes')),
2966        Column('gf_operation_observesvaluesof', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation_observesvaluesof')),
2967        Column('gf_operation_affectsvaluesof', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation_affectsvaluesof')),
2968        Column('valueDomain', TEXT , nullable=False),
2969        extend_existing=False,)
2970 
2971 
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982ceda_review_table = Table('ceda_review', metadata,
2983        Column('id', Integer, Sequence('ceda_review_id_seq'), primary_key=True),
2984                                                Column('ceda_observation_internalreview', Integer, ForeignKey('ceda_observation.id')),
2985        Column('ceda_compositeprocess_review', Integer, ForeignKey('ceda_compositeprocess.id')),
2986        Column('ceda_acquisition_review', Integer, ForeignKey('ceda_acquisition.id')),
2987        Column('ceda_project_review', Integer, ForeignKey('ceda_project.id')),
2988        Column('ceda_operation_review', Integer, ForeignKey('ceda_operation.id')),
2989        Column('ceda_observationcollection_review', Integer, ForeignKey('ceda_observationcollection.id')),
2990        Column('ceda_platform_review', Integer, ForeignKey('ceda_platform.id')),
2991        Column('ceda_processing_review', Integer, ForeignKey('ceda_processing.id')),
2992        Column('ceda_instrument_review', Integer, ForeignKey('ceda_instrument.id')),
2993        Column('reviewStatus', CEDA_ReviewStatusValue.db_type() , nullable=False),
2994        Column('reviewFrequency', CEDA_ReviewFrequencyValue.db_type() , nullable=False),
2995        extend_existing=False,)
2996 
2997 
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008ceda_processing_table = Table('ceda_processing', metadata,
3009        Column('id', Integer, Sequence('ceda_processing_id_seq'), primary_key=True),
3010                                                extend_existing=False,)
3011 
3012 
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023cv_footprint_table = Table('cv_footprint', metadata,
3024        Column('id', Integer, Sequence('cv_footprint_id_seq'), primary_key=True),
3025                                                Column('cv_gridpoint_footprint', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_footprint')),
3026        extend_existing=False,)
3027 
3028 
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039ds_dataset_table = Table('ds_dataset', metadata,
3040        Column('id', Integer, Sequence('ds_dataset_id_seq'), primary_key=True),
3041                                                Column('md_metadata_describes', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_describes')),
3042        Column('cl_dataset__ds_dataset_id', Integer, ForeignKey('cl_dataset.id')),
3043        Column('ds_aggregate_composedof', Integer, ForeignKey('ds_aggregate.id', use_alter=True, name='fk_ds_aggregate_composedof')),
3044        extend_existing=False,)
3045 
3046 
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057distance_table = Table('distance', metadata,
3058        Column('id', Integer, Sequence('distance_id_seq'), primary_key=True),
3059                                                Column('le_nominalresolution_groundresolution_id', Integer, ForeignKey('le_nominalresolution.id')),
3060        Column('le_nominalresolution_scanningresolution_id', Integer, ForeignKey('le_nominalresolution.id')),
3061        extend_existing=False,)
3062 
3063 
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074li_source_table = Table('li_source', metadata,
3075        Column('id', Integer, Sequence('li_source_id_seq'), primary_key=True),
3076                                                Column('li_lineage_source', Integer, ForeignKey('li_lineage.id')),
3077        Column('le_source__li_source_id', Integer, ForeignKey('le_source.id')),
3078        Column('li_processstep_source', Integer, ForeignKey('li_processstep.id', use_alter=True, name='fk_li_processstep_source')),
3079        Column('description', TEXT , nullable=True),
3080        extend_existing=False,)
3081 
3082 
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093rs_referencesystem_table = Table('rs_referencesystem', metadata,
3094        Column('id', Integer, Sequence('rs_referencesystem_id_seq'), primary_key=True),
3095                                                Column('tm_referencesystem__rs_referencesystem_id', Integer, ForeignKey('tm_referencesystem.id')),
3096        Column('sc_crs__rs_referencesystem_id', Integer, ForeignKey('sc_crs.id')),
3097        extend_existing=False,)
3098 
3099 
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110tm_node_table = Table('tm_node', metadata,
3111        Column('id', Integer, Sequence('tm_node_id_seq'), primary_key=True),
3112                                                Column('tm_edge_start_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_start')),
3113        Column('tm_instant_topology_id', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_topology')),
3114        Column('tm_edge_end_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_end')),
3115        extend_existing=False,)
3116 
3117 
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128tm_topologicalcomplex_table = Table('tm_topologicalcomplex', metadata,
3129        Column('id', Integer, Sequence('tm_topologicalcomplex_id_seq'), primary_key=True),
3130                                                Column('tm_topologicalprimitive_complex_id', Integer, ForeignKey('tm_topologicalprimitive.id', use_alter=True, name='fk_tm_topologicalprimitive_complex')),
3131        extend_existing=False,)
3132 
3133 
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144cv_gridcell_table = Table('cv_gridcell', metadata,
3145        Column('id', Integer, Sequence('cv_gridcell_id_seq'), primary_key=True),
3146                                                Column('cv_gridpoint_cell', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_cell')),
3147        Column('cv_grid_cell', Integer, ForeignKey('cv_grid.id', use_alter=True, name='fk_cv_grid_cell')),
3148        extend_existing=False,)
3149 
3150 
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161cc_passthroughoperation_table = Table('cc_passthroughoperation', metadata,
3162        Column('id', Integer, Sequence('cc_passthroughoperation_id_seq'), primary_key=True),
3163                                                Column('cc_coordinateoperation_passthruoperation', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_passthruoperation')),
3164        Column('modifiedCoordinate', ARRAY(Integer) , nullable=False),
3165        extend_existing=False,)
3166 
3167 
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178md_format_table = Table('md_format', metadata,
3179        Column('id', Integer, Sequence('md_format_id_seq'), primary_key=True),
3180                                                Column('md_distributor_distributorformat', Integer, ForeignKey('md_distributor.id', use_alter=True, name='fk_md_distributor_distributorformat')),
3181        Column('md_distribution_distributionformat', Integer, ForeignKey('md_distribution.id')),
3182        Column('md_identification_resourceformat', Integer, ForeignKey('md_identification.id')),
3183        Column('version', TEXT , nullable=False),
3184        Column('specification', TEXT , nullable=True),
3185        Column('fileDecompressionTechnique', TEXT , nullable=True),
3186        Column('name', TEXT , nullable=False),
3187        Column('amendmentNumber', TEXT , nullable=True),
3188        extend_existing=False,)
3189 
3190 
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201md_referencesystem_table = Table('md_referencesystem', metadata,
3202        Column('id', Integer, Sequence('md_referencesystem_id_seq'), primary_key=True),
3203                                                Column('md_metadata_referencesysteminfo', Integer, ForeignKey('md_metadata.id')),
3204        Column('li_source_sourcereferencesystem_id', Integer, ForeignKey('li_source.id')),
3205        extend_existing=False,)
3206 
3207 
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218cc_parametervaluegroup_table = Table('cc_parametervaluegroup', metadata,
3219        Column('id', Integer, Sequence('cc_parametervaluegroup_id_seq'), primary_key=True),
3220                                                Column('cc_generalparametervalue_group_id', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue_group')),
3221        Column('cc_operationparametergroup_value', Integer, ForeignKey('cc_operationparametergroup.id', use_alter=True, name='fk_cc_operationparametergroup_value')),
3222        extend_existing=False,)
3223 
3224 
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235type_table = Table('type', metadata,
3236        Column('id', Integer, Sequence('type_id_seq'), primary_key=True),
3237                                                Column('recordtype__type_id', Integer, ForeignKey('recordtype.id')),
3238        Column('schema_description_id', Integer, ForeignKey('schema.id', use_alter=True, name='fk_schema_description')),
3239        Column('recordtype_membertype_id', Integer, ForeignKey('recordtype.id')),
3240        extend_existing=False,)
3241 
3242 
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253ex_verticalextent_table = Table('ex_verticalextent', metadata,
3254        Column('id', Integer, Sequence('ex_verticalextent_id_seq'), primary_key=True),
3255                                                Column('mo_observationcollection_verticalextent', Integer, ForeignKey('mo_observationcollection.id')),
3256        Column('mo_observation_verticalextent', Integer, ForeignKey('mo_observation.id')),
3257        Column('ex_extent_verticalelement', Integer, ForeignKey('ex_extent.id', use_alter=True, name='fk_ex_extent_verticalelement')),
3258        Column('minimumValue', NUMERIC , nullable=False),
3259        Column('maximumValue', NUMERIC , nullable=False),
3260        extend_existing=False,)
3261 
3262 
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273gm_primitive_table = Table('gm_primitive', metadata,
3274        Column('id', Integer, Sequence('gm_primitive_id_seq'), primary_key=True),
3275                                                Column('gm_point__gm_primitive_id', Integer, ForeignKey('gm_point.id')),
3276        Column('gm_complex_element', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex_element')),
3277        Column('gm_orientableprimitive__gm_primitive_id', Integer, ForeignKey('gm_orientableprimitive.id')),
3278        Column('gm_composite_generator', Integer, ForeignKey('gm_composite.id', use_alter=True, name='fk_gm_composite_generator')),
3279        Column('tp_primitive_geometry_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive_geometry')),
3280        Column('gm_orientableprimitive_primitive_id', Integer, ForeignKey('gm_orientableprimitive.id', use_alter=True, name='fk_gm_orientableprimitive_primitive')),
3281        extend_existing=False,)
3282 
3283 
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294tm_edge_table = Table('tm_edge', metadata,
3295        Column('id', Integer, Sequence('tm_edge_id_seq'), primary_key=True),
3296                                                Column('tm_period_topology_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period_topology')),
3297        Column('tm_node_previousedge', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_previousedge')),
3298        Column('tm_node_nextedge', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_nextedge')),
3299        extend_existing=False,)
3300 
3301 
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312cv_coverage_table = Table('cv_coverage', metadata,
3313        Column('id', Integer, Sequence('cv_coverage_id_seq'), primary_key=True),
3314                                                Column('cv_domainobject_collection_id', Integer, ForeignKey('cv_domainobject.id', use_alter=True, name='fk_cv_domainobject_collection')),
3315        Column('cv_attributevalues_collection_id', Integer, ForeignKey('cv_attributevalues.id', use_alter=True, name='fk_cv_attributevalues_collection')),
3316        Column('commonPointRule', CV_CommonPointRule.db_type() , nullable=False),
3317        extend_existing=False,)
3318 
3319 
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330mo_process_table = Table('mo_process', metadata,
3331        Column('id', Integer, Sequence('mo_process_id_seq'), primary_key=True),
3332                                                Column('mo_compositeprocess__mo_process_id', Integer, ForeignKey('mo_compositeprocess.id')),
3333        Column('mo_computation__mo_process_id', Integer, ForeignKey('mo_computation.id')),
3334        Column('ceda_process__mo_process_id', Integer, ForeignKey('ceda_process.id')),
3335        Column('mo_acquisition__mo_process_id', Integer, ForeignKey('mo_acquisition.id')),
3336        extend_existing=False,)
3337 
3338 
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349record_table = Table('record', metadata,
3350        Column('id', Integer, Sequence('record_id_seq'), primary_key=True),
3351                                                Column('cv_attributevalues_values_id', Integer, ForeignKey('cv_attributevalues.id')),
3352        Column('recordtype_record', Integer, ForeignKey('recordtype.id', use_alter=True, name='fk_recordtype_record')),
3353        extend_existing=False,)
3354 
3355 
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366gm_point_table = Table('gm_point', metadata,
3367        Column('id', Integer, Sequence('gm_point_id_seq'), primary_key=True),
3368                                                Column('gm_compositepoint_generator_id', Integer, ForeignKey('gm_compositepoint.id', use_alter=True, name='fk_gm_compositepoint_generator')),
3369        Column('gm_compositepoint__gm_point_id', Integer, ForeignKey('gm_compositepoint.id')),
3370        Column('cv_gridpoint_groundpoint', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_groundpoint')),
3371        extend_existing=False,)
3372 
3373 
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384mo_platform_table = Table('mo_platform', metadata,
3385        Column('id', Integer, Sequence('mo_platform_id_seq'), primary_key=True),
3386                                                Column('mo_instrumentplatformpair_platform_id', Integer, ForeignKey('mo_instrumentplatformpair.id')),
3387        Column('ceda_platform__mo_platform_id', Integer, ForeignKey('ceda_platform.id')),
3388        Column('mo_operation_platform', Integer, ForeignKey('mo_operation.id')),
3389        Column('mo_acquisition_platform', Integer, ForeignKey('mo_acquisition.id')),
3390        Column('description', TEXT , nullable=True),
3391        Column('type', MO_PlatformTypeValue.db_type() , nullable=True),
3392        extend_existing=False,)
3393 
3394 
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405cc_singleoperation_table = Table('cc_singleoperation', metadata,
3406        Column('id', Integer, Sequence('cc_singleoperation_id_seq'), primary_key=True),
3407                                                Column('cc_generalparametervalue_coordoperation', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue_coordoperation')),
3408        Column('cc_conversion__cc_singleoperation_id', Integer, ForeignKey('cc_conversion.id')),
3409        Column('cc_operationmethod_coordoperation', Integer, ForeignKey('cc_operationmethod.id', use_alter=True, name='fk_cc_operationmethod_coordoperation')),
3410        extend_existing=False,)
3411 
3412 
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423mo_location_table = Table('mo_location', metadata,
3424        Column('id', Integer, Sequence('mo_location_id_seq'), primary_key=True),
3425                                                Column('mo_platform_location_id', Integer, ForeignKey('mo_platform.id')),
3426        Column('mo_operation_location_id', Integer, ForeignKey('mo_operation.id')),
3427        extend_existing=False,)
3428 
3429 
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440mo_project_table = Table('mo_project', metadata,
3441        Column('id', Integer, Sequence('mo_project_id_seq'), primary_key=True),
3442                                                Column('mo_observation_insupportof_id', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation_insupportof')),
3443        Column('ceda_project__mo_project_id', Integer, ForeignKey('ceda_project.id')),
3444        Column('description', TEXT , nullable=True),
3445        Column('abstract', TEXT , nullable=True),
3446        Column('status', MD_ProgressCode.db_type() , nullable=True),
3447        Column('publicationState', MO_PublicationStateValue.db_type() , nullable=True),
3448        extend_existing=False,)
3449 
3450 
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461rs_identifier_table = Table('rs_identifier', metadata,
3462        Column('id', Integer, Sequence('rs_identifier_id_seq'), primary_key=True),
3463                                                Column('md_referencesystem_referencesystemidentifier_id', Integer, ForeignKey('md_referencesystem.id')),
3464        Column('tm_referencesystem_name_id', Integer, ForeignKey('tm_referencesystem.id')),
3465        Column('io_identifiedobjectbase_identifier', Integer, ForeignKey('io_identifiedobjectbase.id')),
3466        Column('io_identifiedobject_name_id', Integer, ForeignKey('io_identifiedobject.id')),
3467        Column('rs_referencesystem_name_id', Integer, ForeignKey('rs_referencesystem.id')),
3468        Column('version', TEXT , nullable=True),
3469        Column('codeSpace', TEXT , nullable=True),
3470        extend_existing=False,)
3471 
3472 
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483tm_temporalposition_table = Table('tm_temporalposition', metadata,
3484        Column('id', Integer, Sequence('tm_temporalposition_id_seq'), primary_key=True),
3485                                                Column('tm_referencesystem_position', Integer, ForeignKey('tm_referencesystem.id', use_alter=True, name='fk_tm_referencesystem_position')),
3486        Column('tm_position_anyother_id', Integer, ForeignKey('tm_position.id')),
3487        Column('indeterminatePosition', TM_IndeterminateValue.db_type() , nullable=True),
3488        extend_existing=False,)
3489 
3490 
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501ex_extent_table = Table('ex_extent', metadata,
3502        Column('id', Integer, Sequence('ex_extent_id_seq'), primary_key=True),
3503                                                Column('tm_referencesystem_domainofvalidity', Integer, ForeignKey('tm_referencesystem.id')),
3504        Column('li_source_sourceextent', Integer, ForeignKey('li_source.id')),
3505        Column('ci_responsiblepartyinfo_extent', Integer, ForeignKey('ci_responsiblepartyinfo.id')),
3506        Column('rs_referencesystem_domainofvalidity_id', Integer, ForeignKey('rs_referencesystem.id', use_alter=True, name='fk_rs_referencesystem_domainofvalidity')),
3507        Column('dq_scope_extent_id', Integer, ForeignKey('dq_scope.id')),
3508        Column('cv_coverage_domainextent', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage_domainextent')),
3509        Column('cd_datum_domainofvalidity_id', Integer, ForeignKey('cd_datum.id', use_alter=True, name='fk_cd_datum_domainofvalidity')),
3510        Column('cc_coordinateoperation_domainofvalidity_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_domainofvalidity')),
3511        Column('description', TEXT , nullable=True),
3512        extend_existing=False,)
3513 
3514 
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525md_metadata_table = Table('md_metadata', metadata,
3526        Column('id', Integer, Sequence('md_metadata_id_seq'), primary_key=True),
3527                                                Column('ds_dataset_has', Integer, ForeignKey('ds_dataset.id', use_alter=True, name='fk_ds_dataset_has')),
3528        Column('gf_propertytype_propertytypemetadata', Integer, ForeignKey('gf_propertytype.id', use_alter=True, name='fk_gf_propertytype_propertytypemetadata')),
3529        Column('mo_observationcollection_isometadata', Integer, ForeignKey('mo_observationcollection.id')),
3530        Column('cl_dataset_has', Integer, ForeignKey('cl_dataset.id', use_alter=True, name='fk_cl_dataset_has')),
3531        Column('om_observation_metadata_id', Integer, ForeignKey('om_observation.id')),
3532        Column('gf_featuretype_featuretypemetadata', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype_featuretypemetadata')),
3533        Column('ds_aggregate_seriesmetadata', Integer, ForeignKey('ds_aggregate.id', use_alter=True, name='fk_ds_aggregate_seriesmetadata')),
3534        Column('gf_attributetype_featureattributemetadata', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype_featureattributemetadata')),
3535        Column('language', TEXT , nullable=True),
3536        Column('characterSet', MD_CharacterSetCode.db_type() , nullable=True),
3537        Column('hierarchyLevelName', ARRAY(TEXT) , nullable=True),
3538        Column('parentIdentifier', TEXT , nullable=True),
3539        Column('metadataStandardName', TEXT , nullable=True),
3540        Column('hierarchyLevel', MD_ScopeCode.db_type() , nullable=True),
3541        Column('fileIdentifier', TEXT , nullable=True),
3542        Column('metadataStandardVersion', TEXT , nullable=True),
3543        Column('dataSet', TEXT , nullable=True),
3544        extend_existing=False,)
3545 
3546 
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557gf_associationrole_table = Table('gf_associationrole', metadata,
3558        Column('id', Integer, Sequence('gf_associationrole_id_seq'), primary_key=True),
3559                                                Column('gf_associationtype_rolename', Integer, ForeignKey('gf_associationtype.id', use_alter=True, name='fk_gf_associationtype_rolename')),
3560        extend_existing=False,)
3561 
3562 
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573ceda_project_table = Table('ceda_project', metadata,
3574        Column('id', Integer, Sequence('ceda_project_id_seq'), primary_key=True),
3575                                                extend_existing=False,)
3576 
3577 
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588md_identification_table = Table('md_identification', metadata,
3589        Column('id', Integer, Sequence('md_identification_id_seq'), primary_key=True),
3590                                                Column('md_metadata_identificationinfo', Integer, ForeignKey('md_metadata.id')),
3591        Column('credit', ARRAY(TEXT) , nullable=True),
3592        Column('status', MD_ProgressCode.db_type() , nullable=True),
3593        Column('abstract', TEXT , nullable=False),
3594        Column('purpose', TEXT , nullable=True),
3595        extend_existing=False,)
3596 
3597 
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608cs_verticalcs_table = Table('cs_verticalcs', metadata,
3609        Column('id', Integer, Sequence('cs_verticalcs_id_seq'), primary_key=True),
3610                                                Column('sc_verticalcrs_coordinatesystem_id', Integer, ForeignKey('sc_verticalcrs.id', use_alter=True, name='fk_sc_verticalcrs_coordinatesystem')),
3611        extend_existing=False,)
3612 
3613 
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624dq_element_table = Table('dq_element', metadata,
3625        Column('id', Integer, Sequence('dq_element_id_seq'), primary_key=True),
3626                                                Column('dq_dataquality_report', Integer, ForeignKey('dq_dataquality.id')),
3627        Column('om_observation_resultquality', Integer, ForeignKey('om_observation.id')),
3628        Column('dq_positionalaccuracy__dq_element_id', Integer, ForeignKey('dq_positionalaccuracy.id')),
3629        Column('evaluationMethodDescription', TEXT , nullable=True),
3630        Column('nameOfMeasure', ARRAY(TEXT) , nullable=True),
3631        Column('measureDescription', TEXT , nullable=True),
3632        Column('evaluationMethodType', DQ_EvaluationMethodTypeCode.db_type() , nullable=True),
3633        extend_existing=False,)
3634 
3635 
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646ceda_observation_table = Table('ceda_observation', metadata,
3647        Column('id', Integer, Sequence('ceda_observation_id_seq'), primary_key=True),
3648                                                Column('dataLineage', TEXT , nullable=False),
3649        extend_existing=False,)
3650 
3651 
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662ceda_notes_table = Table('ceda_notes', metadata,
3663        Column('id', Integer, Sequence('ceda_notes_id_seq'), primary_key=True),
3664                                                Column('ceda_review_notes', Integer, ForeignKey('ceda_review.id')),
3665        Column('comments', TEXT , nullable=False),
3666        extend_existing=False,)
3667 
3668 
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679gf_featuretype_table = Table('gf_featuretype', metadata,
3680        Column('id', Integer, Sequence('gf_featuretype_id_seq'), primary_key=True),
3681                                                Column('gf_associationtype__gf_featuretype_id', Integer, ForeignKey('gf_associationtype.id')),
3682        Column('gf_inheritancerelation_supertype_id', Integer, ForeignKey('gf_inheritancerelation.id', use_alter=True, name='fk_gf_inheritancerelation_supertype')),
3683        Column('md_scopedescription_featureinstances', Integer, ForeignKey('md_scopedescription.id', use_alter=True, name='fk_md_scopedescription_featureinstances')),
3684        Column('md_scopedescription_features', Integer, ForeignKey('md_scopedescription.id', use_alter=True, name='fk_md_scopedescription_features')),
3685        Column('gf_propertytype_thegf_featuretype_id', Integer, ForeignKey('gf_propertytype.id', use_alter=True, name='fk_gf_propertytype_thegf_featuretype')),
3686        Column('md_metadata_featuretype', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_featuretype')),
3687        Column('gf_associationtype_includes', Integer, ForeignKey('gf_associationtype.id', use_alter=True, name='fk_gf_associationtype_includes')),
3688        Column('gf_inheritancerelation_subtype_id', Integer, ForeignKey('gf_inheritancerelation.id', use_alter=True, name='fk_gf_inheritancerelation_subtype')),
3689        Column('definition', TEXT , nullable=False),
3690        Column('isAbstract', BOOLEAN , nullable=False),
3691        extend_existing=False,)
3692 
3693 
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704mo_instrument_table = Table('mo_instrument', metadata,
3705        Column('id', Integer, Sequence('mo_instrument_id_seq'), primary_key=True),
3706                                                Column('mo_acquisition_instrument', Integer, ForeignKey('mo_acquisition.id')),
3707        Column('mo_instrumentplatformpair_instrument_id', Integer, ForeignKey('mo_instrumentplatformpair.id')),
3708        Column('ceda_instrument__mo_instrument_id', Integer, ForeignKey('ceda_instrument.id')),
3709        Column('description', TEXT , nullable=True),
3710        extend_existing=False,)
3711 
3712 
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723recordtype_table = Table('recordtype', metadata,
3724        Column('id', Integer, Sequence('recordtype_id_seq'), primary_key=True),
3725                                                Column('record_recordtype_id', Integer, ForeignKey('record.id', use_alter=True, name='fk_record_recordtype')),
3726        Column('cv_coverage_rangetype_id', Integer, ForeignKey('cv_coverage.id')),
3727        extend_existing=False,)
3728 
3729 
3730ds_aggregate_ds_aggregate_table = Table('ds_aggregate_ds_aggregate', metadata,
3731        Column('left_node_id', Integer, ForeignKey(ds_aggregate_table.c.id)),
3732        Column('right_node_id', Integer, ForeignKey(ds_aggregate_table.c.id))
3733)
3734mo_observationcollection_mo_observationcollection_table = Table('mo_observationcollection_mo_observationcollection', metadata,
3735        Column('left_node_id', Integer, ForeignKey(mo_observationcollection_table.c.id)),
3736        Column('right_node_id', Integer, ForeignKey(mo_observationcollection_table.c.id))
3737)
3738mo_operation_mo_operation_table = Table('mo_operation_mo_operation', metadata,
3739        Column('left_node_id', Integer, ForeignKey(mo_operation_table.c.id)),
3740        Column('right_node_id', Integer, ForeignKey(mo_operation_table.c.id))
3741)
3742mo_platform_mo_platform_table = Table('mo_platform_mo_platform', metadata,
3743        Column('left_node_id', Integer, ForeignKey(mo_platform_table.c.id)),
3744        Column('right_node_id', Integer, ForeignKey(mo_platform_table.c.id))
3745)
3746tp_complex_tp_complex_table = Table('tp_complex_tp_complex', metadata,
3747        Column('left_node_id', Integer, ForeignKey(tp_complex_table.c.id)),
3748        Column('right_node_id', Integer, ForeignKey(tp_complex_table.c.id))
3749)
3750mo_project_mo_project_table = Table('mo_project_mo_project', metadata,
3751        Column('left_node_id', Integer, ForeignKey(mo_project_table.c.id)),
3752        Column('right_node_id', Integer, ForeignKey(mo_project_table.c.id))
3753)
3754gf_attributetype_gf_attributetype_table = Table('gf_attributetype_gf_attributetype', metadata,
3755        Column('left_node_id', Integer, ForeignKey(gf_attributetype_table.c.id)),
3756        Column('right_node_id', Integer, ForeignKey(gf_attributetype_table.c.id))
3757)
3758tp_primitive_tp_primitive_table = Table('tp_primitive_tp_primitive', metadata,
3759        Column('left_node_id', Integer, ForeignKey(tp_primitive_table.c.id)),
3760        Column('right_node_id', Integer, ForeignKey(tp_primitive_table.c.id))
3761)
3762mo_instrument_mo_instrument_table = Table('mo_instrument_mo_instrument', metadata,
3763        Column('left_node_id', Integer, ForeignKey(mo_instrument_table.c.id)),
3764        Column('right_node_id', Integer, ForeignKey(mo_instrument_table.c.id))
3765)
3766mo_result_mo_result_table = Table('mo_result_mo_result', metadata,
3767        Column('left_node_id', Integer, ForeignKey(mo_result_table.c.id)),
3768        Column('right_node_id', Integer, ForeignKey(mo_result_table.c.id))
3769)
3770om_observation_om_observation_table = Table('om_observation_om_observation', metadata,
3771        Column('left_node_id', Integer, ForeignKey(om_observation_table.c.id)),
3772        Column('right_node_id', Integer, ForeignKey(om_observation_table.c.id))
3773)
3774gm_primitive_gm_primitive_table = Table('gm_primitive_gm_primitive', metadata,
3775        Column('left_node_id', Integer, ForeignKey(gm_primitive_table.c.id)),
3776        Column('right_node_id', Integer, ForeignKey(gm_primitive_table.c.id))
3777)
3778gm_complex_gm_complex_table = Table('gm_complex_gm_complex', metadata,
3779        Column('left_node_id', Integer, ForeignKey(gm_complex_table.c.id)),
3780        Column('right_node_id', Integer, ForeignKey(gm_complex_table.c.id))
3781)
3782
3783
3784
3785mapper(CEDA_Citation, ceda_citation_table, properties  = {})
3786
3787
3788
3789
3790mapper(TM_Duration, tm_duration_table, properties  = {})
3791
3792
3793
3794
3795mapper(MD_BrowseGraphic, md_browsegraphic_table, properties  = {})
3796
3797
3798
3799
3800mapper(MD_SpatialRepresentation, md_spatialrepresentation_table, properties  = {})
3801
3802
3803
3804
3805mapper(DQ_Result, dq_result_table, properties  = {})
3806
3807
3808
3809
3810mapper(MD_ContentInformation, md_contentinformation_table, properties  = {})
3811
3812
3813
3814
3815mapper(CV_GridCoordinate, cv_gridcoordinate_table, properties  = {})
3816
3817
3818
3819
3820mapper(ClockTime, clocktime_table, properties  = {})
3821
3822
3823
3824
3825mapper(DatePrecision, dateprecision_table, properties  = {})
3826
3827
3828
3829
3830mapper(UnlimitedInteger, unlimitedinteger_table, properties  = {})
3831
3832
3833
3834
3835mapper(TM_Object, tm_object_table, properties  = {})
3836
3837
3838
3839
3840mapper(Any, any_table, properties  = {})
3841
3842
3843
3844
3845
3846
3847
3848
3849mapper(GF_Constraint, gf_constraint_table, properties  = {})
3850
3851
3852
3853
3854mapper(URL, url_table, properties  = {})
3855
3856
3857
3858
3859mapper(EX_GeographicExtent, ex_geographicextent_table, properties  = {})
3860
3861
3862
3863
3864mapper(CI_Telephone, ci_telephone_table, properties  = {})
3865
3866
3867
3868
3869mapper(MD_Constraints, md_constraints_table, properties  = {})
3870
3871
3872
3873
3874mapper(CI_Series, ci_series_table, properties  = {})
3875
3876
3877
3878
3879mapper(CI_Address, ci_address_table, properties  = {})
3880
3881
3882
3883
3884mapper(MD_Medium, md_medium_table, properties  = {})
3885
3886
3887
3888
3889mapper(TM_PeriodDuration, tm_periodduration_table, properties  = {      '_tm_duration': relationship(TM_Duration, uselist=False, backref='tm_periodduration__tm_duration'
3890, primaryjoin=tm_duration_table.c.tm_periodduration__tm_duration_id==tm_periodduration_table.c.id
3891)})
3892
3893
3894
3895
3896mapper(CI_OnlineResource, ci_onlineresource_table, properties  = {      'linkage': relationship(URL, uselist=False, backref='ci_onlineresource_linkage'
3897, primaryjoin=url_table.c.ci_onlineresource_linkage_id==ci_onlineresource_table.c.id
3898)})
3899
3900
3901
3902
3903mapper(CV_GridEnvelope, cv_gridenvelope_table, properties  = {  'high': relationship(CV_GridCoordinate, uselist=False, backref='cv_gridenvelope_high'
3904, primaryjoin=cv_gridcoordinate_table.c.cv_gridenvelope_high_id==cv_gridenvelope_table.c.id
3905),      'low': relationship(CV_GridCoordinate, uselist=False, backref='cv_gridenvelope_low'
3906, primaryjoin=cv_gridcoordinate_table.c.cv_gridenvelope_low_id==cv_gridenvelope_table.c.id
3907)})
3908
3909
3910
3911
3912mapper(MultiplicityRange, multiplicityrange_table, properties  = {      'upper': relationship(UnlimitedInteger, uselist=False, backref='multiplicityrange_upper'
3913, primaryjoin=unlimitedinteger_table.c.multiplicityrange_upper_id==multiplicityrange_table.c.id
3914)})
3915
3916
3917
3918
3919mapper(Date, date_table, properties  = {        'precision': relationship(DatePrecision, uselist=False, backref='date_precision'
3920, primaryjoin=dateprecision_table.c.date_precision_id==date_table.c.id
3921)})
3922
3923
3924
3925
3926mapper(DateTime, datetime_table, properties  = {        '_date': relationship(Date, uselist=False, backref='datetime__date'
3927, primaryjoin=date_table.c.datetime__date_id==datetime_table.c.id
3928),      '_clocktime': relationship(ClockTime, uselist=False, backref='datetime__clocktime'
3929, primaryjoin=clocktime_table.c.datetime__clocktime_id==datetime_table.c.id
3930)})
3931
3932
3933
3934
3935mapper(TM_Primitive, tm_primitive_table, properties  = {        '_tm_object': relationship(TM_Object, uselist=False, backref='tm_primitive__tm_object'
3936, primaryjoin=tm_object_table.c.tm_primitive__tm_object_id==tm_primitive_table.c.id
3937)})
3938
3939
3940
3941
3942mapper(TM_Complex, tm_complex_table, properties  = {    '_tm_object': relationship(TM_Object, uselist=False, backref='tm_complex__tm_object'
3943, primaryjoin=tm_object_table.c.tm_complex__tm_object_id==tm_complex_table.c.id
3944)})
3945
3946
3947
3948
3949mapper(Multiplicity, multiplicity_table, properties  = {        'range': relationship(MultiplicityRange
3950, primaryjoin=multiplicityrange_table.c.multiplicity_range==multiplicity_table.c.id
3951)})
3952
3953
3954
3955
3956mapper(EX_TemporalExtent, ex_temporalextent_table, properties  = {      'extent': relationship(TM_Primitive, uselist=False, backref='ex_temporalextent_extent'
3957, primaryjoin=tm_primitive_table.c.ex_temporalextent_extent_id==ex_temporalextent_table.c.id
3958)})
3959
3960
3961
3962
3963mapper(TM_GeometricPrimitive, tm_geometricprimitive_table, properties  = {      '_tm_primitive': relationship(TM_Primitive, uselist=False, backref='tm_geometricprimitive__tm_primitive'
3964, primaryjoin=tm_primitive_table.c.tm_geometricprimitive__tm_primitive_id==tm_geometricprimitive_table.c.id
3965)})
3966
3967
3968
3969
3970mapper(MD_DigitalTransferOptions, md_digitaltransferoptions_table, properties  = {      'offLine': relationship(MD_Medium, uselist=False, backref='md_digitaltransferoptions_offLine'
3971, primaryjoin=md_medium_table.c.md_digitaltransferoptions_offline_id==md_digitaltransferoptions_table.c.id
3972),      'onLine': relationship(CI_OnlineResource
3973, primaryjoin=ci_onlineresource_table.c.md_digitaltransferoptions_online==md_digitaltransferoptions_table.c.id
3974)})
3975
3976
3977
3978
3979mapper(CI_Date, ci_date_table, properties  = {  'date': relationship(Date, uselist=False, backref='ci_date_date'
3980, primaryjoin=date_table.c.ci_date_date_id==ci_date_table.c.id
3981)})
3982
3983
3984
3985
3986mapper(CI_Contact, ci_contact_table, properties  = {    'address': relationship(CI_Address, uselist=False, backref='ci_contact_address'
3987, primaryjoin=ci_address_table.c.ci_contact_address_id==ci_contact_table.c.id
3988),      'phone': relationship(CI_Telephone, uselist=False, backref='ci_contact_phone'
3989, primaryjoin=ci_telephone_table.c.ci_contact_phone_id==ci_contact_table.c.id
3990),      'onlineResource': relationship(CI_OnlineResource, uselist=False, backref='ci_contact_onlineResource'
3991, primaryjoin=ci_onlineresource_table.c.ci_contact_onlineresource_id==ci_contact_table.c.id
3992)})
3993
3994
3995
3996
3997mapper(CI_ResponsibleParty, ci_responsibleparty_table, properties  = {  'contactInfo': relationship(CI_Contact, uselist=False, backref='ci_responsibleparty_contactInfo'
3998, primaryjoin=ci_contact_table.c.ci_responsibleparty_contactinfo_id==ci_responsibleparty_table.c.id
3999)})
4000
4001
4002
4003
4004mapper(MD_StandardOrderProcess, md_standardorderprocess_table, properties  = {  'plannedAvailableDateTime': relationship(DateTime, uselist=False, backref='md_standardorderprocess_plannedAvailableDateTime'
4005, primaryjoin=datetime_table.c.md_standardorderprocess_plannedavailabledatetime_id==md_standardorderprocess_table.c.id
4006)})
4007
4008
4009
4010
4011mapper(CI_Party, ci_party_table, properties  = {        'contactInfo': relationship(CI_Contact
4012, primaryjoin=ci_contact_table.c.ci_party_contactinfo==ci_party_table.c.id
4013)})
4014
4015
4016
4017
4018mapper(MD_ExtendedElementInformation, md_extendedelementinformation_table, properties  = {      'source': relationship(CI_ResponsibleParty
4019, primaryjoin=ci_responsibleparty_table.c.md_extendedelementinformation_source==md_extendedelementinformation_table.c.id
4020)})
4021
4022
4023
4024
4025mapper(MD_Usage, md_usage_table, properties  = {        'userContactInfo': relationship(CI_ResponsibleParty
4026, primaryjoin=ci_responsibleparty_table.c.md_usage_usercontactinfo==md_usage_table.c.id
4027),      'usageDateTime': relationship(DateTime, uselist=False, backref='md_usage_usageDateTime'
4028, primaryjoin=datetime_table.c.md_usage_usagedatetime_id==md_usage_table.c.id
4029)})
4030
4031
4032
4033
4034mapper(MD_MetadataExtensionInformation, md_metadataextensioninformation_table, properties  = {  'extendedElementInformation': relationship(MD_ExtendedElementInformation
4035, primaryjoin=md_extendedelementinformation_table.c.md_metadataextensioninformation_extendedelementinformation==md_metadataextensioninformation_table.c.id
4036),      'extensionOnLineResource': relationship(CI_OnlineResource, uselist=False, backref='md_metadataextensioninformation_extensionOnLineResource'
4037, primaryjoin=ci_onlineresource_table.c.md_metadataextensioninformation_extensiononlineresource_id==md_metadataextensioninformation_table.c.id
4038)})
4039
4040
4041mapper(MD_Identifier, md_identifier_table)
4042
4043
4044mapper(GFI_Feature, gfi_feature_table)
4045
4046
4047mapper(LI_ProcessStep, li_processstep_table)
4048
4049
4050mapper(MO_Result, mo_result_table)
4051
4052
4053mapper(GF_InheritanceRelation, gf_inheritancerelation_table)
4054
4055
4056mapper(TM_Position, tm_position_table)
4057
4058
4059mapper(MD_Distributor, md_distributor_table)
4060
4061
4062mapper(Measure, measure_table)
4063
4064
4065mapper(CC_GeneralParameterValue, cc_generalparametervalue_table)
4066
4067
4068mapper(LE_NominalResolution, le_nominalresolution_table)
4069
4070
4071mapper(DirectPosition, directposition_table)
4072
4073
4074mapper(MD_ApplicationSchemaInformation, md_applicationschemainformation_table)
4075
4076
4077mapper(MD_Distribution, md_distribution_table)
4078
4079
4080mapper(TP_Complex, tp_complex_table)
4081
4082
4083mapper(CV_DomainObject, cv_domainobject_table)
4084
4085
4086mapper(CV_AttributeValues, cv_attributevalues_table)
4087
4088
4089mapper(MO_InputOutput, mo_inputoutput_table)
4090
4091
4092mapper(GenericName, genericname_table)
4093
4094
4095mapper(UnitOfMeasure, unitofmeasure_table)
4096
4097
4098mapper(MO_Operation, mo_operation_table)
4099
4100
4101mapper(LI_Lineage, li_lineage_table)
4102
4103
4104mapper(DQ_Scope, dq_scope_table)
4105
4106
4107mapper(DS_Aggregate, ds_aggregate_table)
4108
4109
4110mapper(IO_IdentifiedObjectBase, io_identifiedobjectbase_table)
4111
4112
4113mapper(TP_ExpressionTerm, tp_expressionterm_table)
4114
4115
4116mapper(MD_MaintenanceInformation, md_maintenanceinformation_table)
4117
4118
4119mapper(CEDA_Review, ceda_review_table)
4120
4121
4122mapper(CV_FootPrint, cv_footprint_table)
4123
4124
4125mapper(DS_DataSet, ds_dataset_table)
4126
4127
4128mapper(CI_ResponsiblePartyInfo, ci_responsiblepartyinfo_table)
4129
4130
4131mapper(LI_Source, li_source_table)
4132
4133
4134mapper(MD_Keywords, md_keywords_table)
4135
4136
4137mapper(RS_ReferenceSystem, rs_referencesystem_table)
4138
4139
4140mapper(CV_Grid, cv_grid_table)
4141
4142
4143mapper(MD_ScopeDescription, md_scopedescription_table)
4144
4145
4146mapper(CV_GridCell, cv_gridcell_table)
4147
4148
4149mapper(CC_Formula, cc_formula_table)
4150
4151
4152mapper(MD_PortrayalCatalogueReference, md_portrayalcataloguereference_table)
4153
4154
4155mapper(NamedValue, namedvalue_table)
4156
4157
4158mapper(MD_ReferenceSystem, md_referencesystem_table)
4159
4160
4161mapper(MD_Format, md_format_table)
4162
4163
4164mapper(MD_RepresentativeFraction, md_representativefraction_table)
4165
4166
4167mapper(MO_InstrumentPlatformPair, mo_instrumentplatformpair_table)
4168
4169
4170mapper(Type, type_table)
4171
4172
4173mapper(EX_VerticalExtent, ex_verticalextent_table)
4174
4175
4176mapper(CV_Coverage, cv_coverage_table)
4177
4178
4179mapper(MO_ObservationCollection, mo_observationcollection_table)
4180
4181
4182mapper(Record, record_table)
4183
4184
4185mapper(MO_Platform, mo_platform_table)
4186
4187
4188mapper(DQ_DataQuality, dq_dataquality_table)
4189
4190
4191mapper(MO_Project, mo_project_table)
4192
4193
4194mapper(MO_Location, mo_location_table)
4195
4196
4197mapper(GF_PropertyType, gf_propertytype_table)
4198
4199
4200mapper(NameSpace, namespace_table)
4201
4202
4203mapper(TM_TemporalPosition, tm_temporalposition_table)
4204
4205
4206mapper(OM_Process, om_process_table)
4207
4208
4209mapper(GM_Object, gm_object_table)
4210
4211
4212mapper(MD_Metadata, md_metadata_table)
4213
4214
4215mapper(EX_Extent, ex_extent_table)
4216
4217
4218mapper(MD_Identification, md_identification_table)
4219
4220
4221mapper(LE_Algorithm, le_algorithm_table)
4222
4223
4224mapper(CI_Citation, ci_citation_table)
4225
4226
4227mapper(DQ_Element, dq_element_table)
4228
4229
4230mapper(MD_AggregateInformation, md_aggregateinformation_table)
4231
4232
4233mapper(OM_Observation, om_observation_table)
4234
4235
4236mapper(CEDA_Notes, ceda_notes_table)
4237
4238
4239mapper(TP_Primitive, tp_primitive_table)
4240
4241
4242mapper(GF_FeatureType, gf_featuretype_table)
4243
4244
4245mapper(TP_Expression, tp_expression_table)
4246
4247
4248mapper(MO_Instrument, mo_instrument_table)
4249
4250
4251mapper(CI_Responsibility, ci_responsibility_table)
4252
4253
4254mapper(GF_AssociationType, gf_associationtype_table)
4255
4256
4257mapper(TM_ReferenceSystem, tm_referencesystem_table)
4258
4259
4260mapper(TypeName, typename_table)
4261
4262
4263mapper(Length, length_table)
4264
4265
4266mapper(MO_OnlineResource, mo_onlineresource_table)
4267
4268
4269mapper(CS_CoordinateSystem, cs_coordinatesystem_table)
4270
4271
4272mapper(MO_CompositeProcess, mo_compositeprocess_table)
4273
4274
4275mapper(CC_OperationMethod, cc_operationmethod_table)
4276
4277
4278mapper(CC_Conversion, cc_conversion_table)
4279
4280
4281mapper(CEDA_Result, ceda_result_table)
4282
4283
4284mapper(CEDA_CompositeProcess, ceda_compositeprocess_table)
4285
4286
4287mapper(Scale, scale_table)
4288
4289
4290mapper(SC_CompoundCRS, sc_compoundcrs_table)
4291
4292
4293mapper(CEDA_Operation, ceda_operation_table)
4294
4295
4296mapper(GM_Complex, gm_complex_table)
4297
4298
4299mapper(CC_GeneralOperationParameter, cc_generaloperationparameter_table)
4300
4301
4302mapper(GF_Operation, gf_operation_table)
4303
4304
4305mapper(MO_Observation, mo_observation_table)
4306
4307
4308mapper(CC_ConcatenatedOperation, cc_concatenatedoperation_table)
4309
4310
4311mapper(MO_ResponsiblePartyInfo, mo_responsiblepartyinfo_table)
4312
4313
4314mapper(MO_Acquisition, mo_acquisition_table)
4315
4316
4317mapper(SC_GeneralDerivedCRS, sc_generalderivedcrs_table)
4318
4319
4320mapper(MO_Computation, mo_computation_table)
4321
4322
4323mapper(ScopedName, scopedname_table)
4324
4325
4326mapper(CD_VerticalDatum, cd_verticaldatum_table)
4327
4328
4329mapper(TM_Period, tm_period_table)
4330
4331
4332mapper(CC_CoordinateOperation, cc_coordinateoperation_table)
4333
4334
4335mapper(CEDA_Instrument, ceda_instrument_table)
4336
4337
4338mapper(SC_VerticalCRS, sc_verticalcrs_table)
4339
4340
4341mapper(UomLength, uomlength_table)
4342
4343
4344mapper(CEDA_Platform, ceda_platform_table)
4345
4346
4347mapper(CL_DataSet, cl_dataset_table)
4348
4349
4350mapper(IO_IdentifiedObject, io_identifiedobject_table)
4351
4352
4353mapper(SC_DerivedCRS, sc_derivedcrs_table)
4354
4355
4356mapper(GM_CompositePoint, gm_compositepoint_table)
4357
4358
4359mapper(CS_CoordinateSystemAxis, cs_coordinatesystemaxis_table)
4360
4361
4362mapper(UomScale, uomscale_table)
4363
4364
4365mapper(SC_SingleCRS, sc_singlecrs_table)
4366
4367
4368mapper(GM_OrientablePrimitive, gm_orientableprimitive_table)
4369
4370
4371mapper(CD_Datum, cd_datum_table)
4372
4373
4374mapper(LocalName, localname_table)
4375
4376
4377mapper(TP_DirectedTopo, tp_directedtopo_table)
4378
4379
4380mapper(MO_Processing, mo_processing_table)
4381
4382
4383mapper(LE_Source, le_source_table)
4384
4385
4386mapper(DQ_PositionalAccuracy, dq_positionalaccuracy_table)
4387
4388
4389mapper(CEDA_ObservationCollection, ceda_observationcollection_table)
4390
4391
4392mapper(GM_Composite, gm_composite_table)
4393
4394
4395mapper(CEDA_Process, ceda_process_table)
4396
4397
4398mapper(TM_TopologicalPrimitive, tm_topologicalprimitive_table)
4399
4400
4401mapper(TM_Instant, tm_instant_table)
4402
4403
4404mapper(SC_CRS, sc_crs_table)
4405
4406
4407mapper(CV_GridPoint, cv_gridpoint_table)
4408
4409
4410mapper(CC_OperationParameterGroup, cc_operationparametergroup_table)
4411
4412
4413mapper(CEDA_Acquisition, ceda_acquisition_table)
4414
4415
4416mapper(Schema, schema_table)
4417
4418
4419mapper(Time, time_table)
4420
4421
4422mapper(CV_ReferenceableGrid, cv_referenceablegrid_table)
4423
4424
4425mapper(EX_GeographicDescription, ex_geographicdescription_table)
4426
4427
4428mapper(GF_AttributeType, gf_attributetype_table)
4429
4430
4431mapper(CEDA_Processing, ceda_processing_table)
4432
4433
4434mapper(Distance, distance_table)
4435
4436
4437mapper(TM_Node, tm_node_table)
4438
4439
4440mapper(TM_TopologicalComplex, tm_topologicalcomplex_table)
4441
4442
4443mapper(CC_PassThroughOperation, cc_passthroughoperation_table)
4444
4445
4446mapper(CC_ParameterValueGroup, cc_parametervaluegroup_table)
4447
4448
4449mapper(GM_Primitive, gm_primitive_table)
4450
4451
4452mapper(TM_Edge, tm_edge_table)
4453
4454
4455mapper(MO_Process, mo_process_table)
4456
4457
4458mapper(GM_Point, gm_point_table)
4459
4460
4461mapper(CC_SingleOperation, cc_singleoperation_table)
4462
4463
4464mapper(RS_Identifier, rs_identifier_table)
4465
4466
4467mapper(GF_AssociationRole, gf_associationrole_table)
4468
4469
4470mapper(CEDA_Project, ceda_project_table)
4471
4472
4473mapper(CS_VerticalCS, cs_verticalcs_table)
4474
4475
4476mapper(CEDA_Observation, ceda_observation_table)
4477
4478
4479mapper(RecordType, recordtype_table)
4480
4481
4482class_mapper(MD_Identifier).add_properties({    'authority': relationship(CI_Citation, uselist=False, backref='md_identifier_authority'
4483, primaryjoin=ci_citation_table.c.md_identifier_authority_id==md_identifier_table.c.id
4484)})
4485
4486
4487class_mapper(GFI_Feature).add_properties({      'propertyValueProvider': relationship(OM_Observation
4488, primaryjoin=om_observation_table.c.gfi_feature_propertyvalueprovider==gfi_feature_table.c.id
4489)})
4490
4491
4492class_mapper(LI_ProcessStep).add_properties({   'processor': relationship(CI_ResponsibleParty
4493, primaryjoin=ci_responsibleparty_table.c.li_processstep_processor==li_processstep_table.c.id
4494),      'dateTime': relationship(DateTime, uselist=False, backref='li_processstep_dateTime'
4495, primaryjoin=datetime_table.c.li_processstep_datetime_id==li_processstep_table.c.id
4496),      'source': relationship(LI_Source
4497, primaryjoin=li_source_table.c.li_processstep_source==li_processstep_table.c.id
4498)})
4499
4500
4501class_mapper(MO_Result).add_properties({        'sample': relationship(MO_OnlineResource
4502, primaryjoin=mo_onlineresource_table.c.mo_result_sample==mo_result_table.c.id
4503),      'source': relationship(MO_OnlineResource
4504, primaryjoin=mo_onlineresource_table.c.mo_result_source==mo_result_table.c.id
4505)})
4506
4507
4508class_mapper(GF_InheritanceRelation).add_properties({   'subtype': relationship(GF_FeatureType, uselist=False, backref='gf_inheritancerelation_subtype'
4509, primaryjoin=gf_featuretype_table.c.gf_inheritancerelation_subtype_id==gf_inheritancerelation_table.c.id
4510),      'supertype': relationship(GF_FeatureType, uselist=False, backref='gf_inheritancerelation_supertype'
4511, primaryjoin=gf_featuretype_table.c.gf_inheritancerelation_supertype_id==gf_inheritancerelation_table.c.id
4512)})
4513
4514
4515class_mapper(TM_Position).add_properties({      'dateTime8601': relationship(DateTime, uselist=False, backref='tm_position_dateTime8601'
4516, primaryjoin=datetime_table.c.tm_position_datetime8601_id==tm_position_table.c.id
4517),      'time8601': relationship(Time, uselist=False, backref='tm_position_time8601'
4518, primaryjoin=time_table.c.tm_position_time8601_id==tm_position_table.c.id
4519),      'date8601': relationship(Date, uselist=False, backref='tm_position_date8601'
4520, primaryjoin=date_table.c.tm_position_date8601_id==tm_position_table.c.id
4521),      'anyOther': relationship(TM_TemporalPosition, uselist=False, backref='tm_position_anyOther'
4522, primaryjoin=tm_temporalposition_table.c.tm_position_anyother_id==tm_position_table.c.id
4523)})
4524
4525
4526class_mapper(MD_Distributor).add_properties({   'distributorTransferOptions': relationship(MD_DigitalTransferOptions
4527, primaryjoin=md_digitaltransferoptions_table.c.md_distributor_distributortransferoptions==md_distributor_table.c.id
4528),      'distributorFormat': relationship(MD_Format
4529, primaryjoin=md_format_table.c.md_distributor_distributorformat==md_distributor_table.c.id
4530),      'distributorContact': relationship(CI_ResponsibleParty, uselist=False, backref='md_distributor_distributorContact'
4531, primaryjoin=ci_responsibleparty_table.c.md_distributor_distributorcontact_id==md_distributor_table.c.id
4532),      'distributionOrderProcess': relationship(MD_StandardOrderProcess
4533, primaryjoin=md_standardorderprocess_table.c.md_distributor_distributionorderprocess==md_distributor_table.c.id
4534)})
4535
4536
4537class_mapper(Measure).add_properties({  'uom': relationship(UnitOfMeasure, uselist=False, backref='measure_uom'
4538, primaryjoin=unitofmeasure_table.c.measure_uom_id==measure_table.c.id
4539)})
4540
4541
4542class_mapper(CC_GeneralParameterValue).add_properties({ 'coordOperation': relationship(CC_SingleOperation
4543, primaryjoin=cc_singleoperation_table.c.cc_generalparametervalue_coordoperation==cc_generalparametervalue_table.c.id
4544),      'parameter': relationship(CC_GeneralOperationParameter, uselist=False, backref='cc_generalparametervalue_parameter'
4545, primaryjoin=cc_generaloperationparameter_table.c.cc_generalparametervalue_parameter_id==cc_generalparametervalue_table.c.id
4546),      'group': relationship(CC_ParameterValueGroup, uselist=False, backref='cc_generalparametervalue_group'
4547, primaryjoin=cc_parametervaluegroup_table.c.cc_generalparametervalue_group_id==cc_generalparametervalue_table.c.id
4548)})
4549
4550
4551class_mapper(LE_NominalResolution).add_properties({     'scanningResolution': relationship(Distance, uselist=False, backref='le_nominalresolution_scanningResolution'
4552, primaryjoin=distance_table.c.le_nominalresolution_scanningresolution_id==le_nominalresolution_table.c.id
4553),      'groundResolution': relationship(Distance, uselist=False, backref='le_nominalresolution_groundResolution'
4554, primaryjoin=distance_table.c.le_nominalresolution_groundresolution_id==le_nominalresolution_table.c.id
4555)})
4556
4557
4558class_mapper(DirectPosition).add_properties({   'CRS': relationship(SC_CRS, uselist=False, backref='directposition_CRS'
4559, primaryjoin=sc_crs_table.c.directposition_crs_id==directposition_table.c.id
4560)})
4561
4562
4563class_mapper(MD_ApplicationSchemaInformation).add_properties({  'name': relationship(CI_Citation, uselist=False, backref='md_applicationschemainformation_name'
4564, primaryjoin=ci_citation_table.c.md_applicationschemainformation_name_id==md_applicationschemainformation_table.c.id
4565)})
4566
4567
4568class_mapper(MD_Distribution).add_properties({  'distributionFormat': relationship(MD_Format
4569, primaryjoin=md_format_table.c.md_distribution_distributionformat==md_distribution_table.c.id
4570),      'transferOptions': relationship(MD_DigitalTransferOptions
4571, primaryjoin=md_digitaltransferoptions_table.c.md_distribution_transferoptions==md_distribution_table.c.id
4572),      'distributor': relationship(MD_Distributor
4573, primaryjoin=md_distributor_table.c.md_distribution_distributor==md_distribution_table.c.id
4574)})
4575
4576
4577class_mapper(TP_Complex).add_properties({       'geometry': relationship(GM_Complex, uselist=False, backref='tp_complex_geometry'
4578, primaryjoin=gm_complex_table.c.tp_complex_geometry_id==tp_complex_table.c.id
4579),      'element': relationship(TP_Primitive
4580, primaryjoin=tp_primitive_table.c.tp_complex_element==tp_complex_table.c.id
4581)})
4582
4583
4584class_mapper(CV_DomainObject).add_properties({  'spatialElement': relationship(GM_Object
4585, primaryjoin=gm_object_table.c.cv_domainobject_spatialelement==cv_domainobject_table.c.id
4586),      'temporalElement': relationship(TM_GeometricPrimitive
4587, primaryjoin=tm_geometricprimitive_table.c.cv_domainobject_temporalelement==cv_domainobject_table.c.id
4588),      'collection': relationship(CV_Coverage, uselist=False, backref='cv_domainobject_collection'
4589, primaryjoin=cv_coverage_table.c.cv_domainobject_collection_id==cv_domainobject_table.c.id
4590)})
4591
4592
4593class_mapper(CV_AttributeValues).add_properties({       'collection': relationship(CV_Coverage, uselist=False, backref='cv_attributevalues_collection'
4594, primaryjoin=cv_coverage_table.c.cv_attributevalues_collection_id==cv_attributevalues_table.c.id
4595),      'values': relationship(Record, uselist=False, backref='cv_attributevalues_values'
4596, primaryjoin=record_table.c.cv_attributevalues_values_id==cv_attributevalues_table.c.id
4597)})
4598
4599
4600class_mapper(MO_InputOutput).add_properties({   'name': relationship(GenericName, uselist=False, backref='mo_inputoutput_name'
4601, primaryjoin=genericname_table.c.mo_inputoutput_name_id==mo_inputoutput_table.c.id
4602),      'description': relationship(LE_Source, uselist=False, backref='mo_inputoutput_description'
4603, primaryjoin=le_source_table.c.mo_inputoutput_description_id==mo_inputoutput_table.c.id
4604)})
4605
4606
4607class_mapper(GenericName).add_properties({      'scope': relationship(NameSpace, uselist=False, backref='genericname_scope'
4608, primaryjoin=namespace_table.c.genericname_scope_id==genericname_table.c.id
4609)})
4610
4611
4612class_mapper(UnitOfMeasure).add_properties({    'measure': relationship(Measure
4613, primaryjoin=measure_table.c.unitofmeasure_measure==unitofmeasure_table.c.id
4614)})
4615
4616
4617class_mapper(MO_Operation).add_properties({     'documentation': relationship(CI_Citation
4618, primaryjoin=ci_citation_table.c.mo_operation_documentation==mo_operation_table.c.id
4619),      'operationTime': relationship(TM_Object, uselist=False, backref='mo_operation_operationTime'
4620, primaryjoin=tm_object_table.c.mo_operation_operationtime_id==mo_operation_table.c.id
4621),      'identifier': relationship(MD_Identifier
4622, primaryjoin=md_identifier_table.c.mo_operation_identifier==mo_operation_table.c.id
4623),      'location': relationship(MO_Location, uselist=False, backref='mo_operation_location'
4624, primaryjoin=mo_location_table.c.mo_operation_location_id==mo_operation_table.c.id
4625),      'platform': relationship(MO_Platform
4626, primaryjoin=mo_platform_table.c.mo_operation_platform==mo_operation_table.c.id
4627),      'relatedPartyInfo': relationship(MO_ResponsiblePartyInfo
4628, primaryjoin=mo_responsiblepartyinfo_table.c.mo_operation_relatedpartyinfo==mo_operation_table.c.id
4629)})
4630
4631
4632class_mapper(LI_Lineage).add_properties({       'processStep': relationship(LI_ProcessStep
4633, primaryjoin=li_processstep_table.c.li_lineage_processstep==li_lineage_table.c.id
4634),      'source': relationship(LI_Source
4635, primaryjoin=li_source_table.c.li_lineage_source==li_lineage_table.c.id
4636)})
4637
4638
4639class_mapper(DQ_Scope).add_properties({ 'extent': relationship(EX_Extent, uselist=False, backref='dq_scope_extent'
4640, primaryjoin=ex_extent_table.c.dq_scope_extent_id==dq_scope_table.c.id
4641),      'levelDescription': relationship(MD_ScopeDescription
4642, primaryjoin=md_scopedescription_table.c.dq_scope_leveldescription==dq_scope_table.c.id
4643)})
4644
4645
4646class_mapper(DS_Aggregate).add_properties({     'composedOf': relationship(DS_DataSet
4647, primaryjoin=ds_dataset_table.c.ds_aggregate_composedof==ds_aggregate_table.c.id
4648),      'seriesMetadata': relationship(MD_Metadata
4649, primaryjoin=md_metadata_table.c.ds_aggregate_seriesmetadata==ds_aggregate_table.c.id
4650)})
4651
4652
4653class_mapper(IO_IdentifiedObjectBase).add_properties({  'identifier': relationship(RS_Identifier
4654, primaryjoin=rs_identifier_table.c.io_identifiedobjectbase_identifier==io_identifiedobjectbase_table.c.id
4655),      'alias': relationship(GenericName
4656, primaryjoin=genericname_table.c.io_identifiedobjectbase_alias==io_identifiedobjectbase_table.c.id
4657)})
4658
4659
4660class_mapper(TP_ExpressionTerm).add_properties({        'expression': relationship(TP_Expression, uselist=False, backref='tp_expressionterm_expression'
4661, primaryjoin=tp_expression_table.c.tp_expressionterm_expression_id==tp_expressionterm_table.c.id
4662),      'variable': relationship(TP_DirectedTopo, uselist=False, backref='tp_expressionterm_variable'
4663, primaryjoin=tp_directedtopo_table.c.tp_expressionterm_variable_id==tp_expressionterm_table.c.id
4664)})
4665
4666
4667class_mapper(MD_MaintenanceInformation).add_properties({        'userDefinedMaintenanceFrequency': relationship(TM_PeriodDuration, uselist=False, backref='md_maintenanceinformation_userDefinedMaintenanceFrequency'
4668, primaryjoin=tm_periodduration_table.c.md_maintenanceinformation_userdefinedmaintenancefrequency_id==md_maintenanceinformation_table.c.id
4669),      'dateOfNextUpdate': relationship(Date, uselist=False, backref='md_maintenanceinformation_dateOfNextUpdate'
4670, primaryjoin=date_table.c.md_maintenanceinformation_dateofnextupdate_id==md_maintenanceinformation_table.c.id
4671),      'updateScopeDescription': relationship(MD_ScopeDescription
4672, primaryjoin=md_scopedescription_table.c.md_maintenanceinformation_updatescopedescription==md_maintenanceinformation_table.c.id
4673),      'contact': relationship(CI_ResponsibleParty
4674, primaryjoin=ci_responsibleparty_table.c.md_maintenanceinformation_contact==md_maintenanceinformation_table.c.id
4675)})
4676
4677
4678class_mapper(CEDA_Review).add_properties({      'reviewer': relationship(MO_ResponsiblePartyInfo, uselist=False, backref='ceda_review_reviewer'
4679, primaryjoin=mo_responsiblepartyinfo_table.c.ceda_review_reviewer_id==ceda_review_table.c.id
4680),      'notes': relationship(CEDA_Notes
4681, primaryjoin=ceda_notes_table.c.ceda_review_notes==ceda_review_table.c.id
4682)})
4683
4684
4685class_mapper(CV_FootPrint).add_properties({     'center': relationship(CV_GridPoint
4686, primaryjoin=cv_gridpoint_table.c.cv_footprint_center==cv_footprint_table.c.id
4687),      'geometry': relationship(GM_Object, uselist=False, backref='cv_footprint_geometry'
4688, primaryjoin=gm_object_table.c.cv_footprint_geometry_id==cv_footprint_table.c.id
4689)})
4690
4691
4692class_mapper(DS_DataSet).add_properties({       'partOf': relationship(DS_Aggregate
4693, primaryjoin=ds_aggregate_table.c.ds_dataset_partof==ds_dataset_table.c.id
4694),      'has': relationship(MD_Metadata
4695, primaryjoin=md_metadata_table.c.ds_dataset_has==ds_dataset_table.c.id
4696)})
4697
4698
4699class_mapper(CI_ResponsiblePartyInfo).add_properties({  'extent': relationship(EX_Extent
4700, primaryjoin=ex_extent_table.c.ci_responsiblepartyinfo_extent==ci_responsiblepartyinfo_table.c.id
4701)})
4702
4703
4704class_mapper(LI_Source).add_properties({        'sourceExtent': relationship(EX_Extent
4705, primaryjoin=ex_extent_table.c.li_source_sourceextent==li_source_table.c.id
4706),      'sourceStep': relationship(LI_ProcessStep
4707, primaryjoin=li_processstep_table.c.li_source_sourcestep==li_source_table.c.id
4708),      'sourceCitation': relationship(CI_Citation, uselist=False, backref='li_source_sourceCitation'
4709, primaryjoin=ci_citation_table.c.li_source_sourcecitation_id==li_source_table.c.id
4710),      'sourceReferenceSystem': relationship(MD_ReferenceSystem, uselist=False, backref='li_source_sourceReferenceSystem'
4711, primaryjoin=md_referencesystem_table.c.li_source_sourcereferencesystem_id==li_source_table.c.id
4712),      'scaleDenominator': relationship(MD_RepresentativeFraction, uselist=False, backref='li_source_scaleDenominator'
4713, primaryjoin=md_representativefraction_table.c.li_source_scaledenominator_id==li_source_table.c.id
4714)})
4715
4716
4717class_mapper(MD_Keywords).add_properties({      'thesaurusName': relationship(CI_Citation, uselist=False, backref='md_keywords_thesaurusName'
4718, primaryjoin=ci_citation_table.c.md_keywords_thesaurusname_id==md_keywords_table.c.id
4719)})
4720
4721
4722class_mapper(RS_ReferenceSystem).add_properties({       'domainOfValidity': relationship(EX_Extent, uselist=False, backref='rs_referencesystem_domainOfValidity'
4723, primaryjoin=ex_extent_table.c.rs_referencesystem_domainofvalidity_id==rs_referencesystem_table.c.id
4724),      'name': relationship(RS_Identifier, uselist=False, backref='rs_referencesystem_name'
4725, primaryjoin=rs_identifier_table.c.rs_referencesystem_name_id==rs_referencesystem_table.c.id
4726)})
4727
4728
4729class_mapper(CV_Grid).add_properties({  'intersection': relationship(CV_GridPoint
4730, primaryjoin=cv_gridpoint_table.c.cv_grid_intersection==cv_grid_table.c.id
4731),      'cell': relationship(CV_GridCell
4732, primaryjoin=cv_gridcell_table.c.cv_grid_cell==cv_grid_table.c.id
4733),      'extent': relationship(CV_GridEnvelope, uselist=False, backref='cv_grid_extent'
4734, primaryjoin=cv_gridenvelope_table.c.cv_grid_extent_id==cv_grid_table.c.id
4735)})
4736
4737
4738class_mapper(MD_ScopeDescription).add_properties({      'attributeInstances': relationship(GF_AttributeType
4739, primaryjoin=gf_attributetype_table.c.md_scopedescription_attributeinstances==md_scopedescription_table.c.id
4740),      'featureInstances': relationship(GF_FeatureType
4741, primaryjoin=gf_featuretype_table.c.md_scopedescription_featureinstances==md_scopedescription_table.c.id
4742),      'attributes': relationship(GF_AttributeType
4743, primaryjoin=gf_attributetype_table.c.md_scopedescription_attributes==md_scopedescription_table.c.id
4744),      'features': relationship(GF_FeatureType
4745, primaryjoin=gf_featuretype_table.c.md_scopedescription_features==md_scopedescription_table.c.id
4746)})
4747
4748
4749class_mapper(CV_GridCell).add_properties({      'framework': relationship(CV_Grid, uselist=False, backref='cv_gridcell_framework'
4750, primaryjoin=cv_grid_table.c.cv_gridcell_framework_id==cv_gridcell_table.c.id
4751),      'corner': relationship(CV_GridPoint
4752, primaryjoin=cv_gridpoint_table.c.cv_gridcell_corner==cv_gridcell_table.c.id
4753)})
4754
4755
4756class_mapper(CC_Formula).add_properties({       'formulaCitation': relationship(CI_Citation, uselist=False, backref='cc_formula_formulaCitation'
4757, primaryjoin=ci_citation_table.c.cc_formula_formulacitation_id==cc_formula_table.c.id
4758)})
4759
4760
4761class_mapper(MD_PortrayalCatalogueReference).add_properties({   'portrayalCatalogueCitation': relationship(CI_Citation
4762, primaryjoin=ci_citation_table.c.md_portrayalcataloguereference_portrayalcataloguecitation==md_portrayalcataloguereference_table.c.id
4763)})
4764
4765
4766class_mapper(NamedValue).add_properties({       'name': relationship(GenericName, uselist=False, backref='namedvalue_name'
4767, primaryjoin=genericname_table.c.namedvalue_name_id==namedvalue_table.c.id
4768),      'value': relationship(Any, uselist=False, backref='namedvalue_value'
4769, primaryjoin=any_table.c.namedvalue_value_id==namedvalue_table.c.id
4770)})
4771
4772
4773class_mapper(MD_ReferenceSystem).add_properties({       'referenceSystemIdentifier': relationship(RS_Identifier, uselist=False, backref='md_referencesystem_referenceSystemIdentifier'
4774, primaryjoin=rs_identifier_table.c.md_referencesystem_referencesystemidentifier_id==md_referencesystem_table.c.id
4775)})
4776
4777
4778class_mapper(MD_Format).add_properties({        'formatDistributor': relationship(MD_Distributor
4779, primaryjoin=md_distributor_table.c.md_format_formatdistributor==md_format_table.c.id
4780)})
4781
4782
4783class_mapper(MD_RepresentativeFraction).add_properties({        'equivalentScale': relationship(Scale
4784, primaryjoin=scale_table.c.md_representativefraction_equivalentscale==md_representativefraction_table.c.id
4785)})
4786
4787
4788class_mapper(MO_InstrumentPlatformPair).add_properties({        'instrument': relationship(MO_Instrument, uselist=False, backref='mo_instrumentplatformpair_instrument'
4789, primaryjoin=mo_instrument_table.c.mo_instrumentplatformpair_instrument_id==mo_instrumentplatformpair_table.c.id
4790),      'platform': relationship(MO_Platform, uselist=False, backref='mo_instrumentplatformpair_platform'
4791, primaryjoin=mo_platform_table.c.mo_instrumentplatformpair_platform_id==mo_instrumentplatformpair_table.c.id
4792)})
4793
4794
4795class_mapper(Type).add_properties({     'typeName': relationship(TypeName, uselist=False, backref='type_typeName'
4796, primaryjoin=typename_table.c.type_typename_id==type_table.c.id
4797),      'schema': relationship(Schema
4798, primaryjoin=schema_table.c.type_schema==type_table.c.id
4799)})
4800
4801
4802class_mapper(EX_VerticalExtent).add_properties({        'verticalCRS': relationship(SC_CRS, uselist=False, backref='ex_verticalextent_verticalCRS'
4803, primaryjoin=sc_crs_table.c.ex_verticalextent_verticalcrs_id==ex_verticalextent_table.c.id
4804),      'verticalCRS': relationship(SC_VerticalCRS, uselist=False, backref='ex_verticalextent_verticalCRS'
4805, primaryjoin=sc_verticalcrs_table.c.ex_verticalextent_verticalcrs_id==ex_verticalextent_table.c.id
4806)})
4807
4808
4809class_mapper(CV_Coverage).add_properties({      'domainExtent': relationship(EX_Extent
4810, primaryjoin=ex_extent_table.c.cv_coverage_domainextent==cv_coverage_table.c.id
4811),      'CRS': relationship(SC_CRS, uselist=False, backref='cv_coverage_CRS'
4812, primaryjoin=sc_crs_table.c.cv_coverage_crs_id==cv_coverage_table.c.id
4813),      'domainElement': relationship(CV_DomainObject
4814, primaryjoin=cv_domainobject_table.c.cv_coverage_domainelement==cv_coverage_table.c.id
4815),      'rangeElement': relationship(CV_AttributeValues
4816, primaryjoin=cv_attributevalues_table.c.cv_coverage_rangeelement==cv_coverage_table.c.id
4817),      'rangeType': relationship(RecordType, uselist=False, backref='cv_coverage_rangeType'
4818, primaryjoin=recordtype_table.c.cv_coverage_rangetype_id==cv_coverage_table.c.id
4819)})
4820
4821
4822class_mapper(MO_ObservationCollection).add_properties({ 'verticalExtent': relationship(EX_VerticalExtent
4823, primaryjoin=ex_verticalextent_table.c.mo_observationcollection_verticalextent==mo_observationcollection_table.c.id
4824),      'additionalMetadata': relationship(CI_OnlineResource
4825, primaryjoin=ci_onlineresource_table.c.mo_observationcollection_additionalmetadata==mo_observationcollection_table.c.id
4826),      'phenomenonTime': relationship(TM_Object
4827, primaryjoin=tm_object_table.c.mo_observationcollection_phenomenontime==mo_observationcollection_table.c.id
4828),      'isoMetadata': relationship(MD_Metadata
4829, primaryjoin=md_metadata_table.c.mo_observationcollection_isometadata==mo_observationcollection_table.c.id
4830),      'member': relationship(MO_Observation
4831, primaryjoin=mo_observation_table.c.mo_observationcollection_member==mo_observationcollection_table.c.id
4832),      'identifier': relationship(MD_Identifier
4833, primaryjoin=md_identifier_table.c.mo_observationcollection_identifier==mo_observationcollection_table.c.id
4834),      'geographicExtent': relationship(EX_GeographicExtent
4835, primaryjoin=ex_geographicextent_table.c.mo_observationcollection_geographicextent==mo_observationcollection_table.c.id
4836)})
4837
4838
4839class_mapper(Record).add_properties({   'recordType': relationship(RecordType, uselist=False, backref='record_recordType'
4840, primaryjoin=recordtype_table.c.record_recordtype_id==record_table.c.id
4841)})
4842
4843
4844class_mapper(MO_Platform).add_properties({      'location': relationship(MO_Location, uselist=False, backref='mo_platform_location'
4845, primaryjoin=mo_location_table.c.mo_platform_location_id==mo_platform_table.c.id
4846),      'identifier': relationship(MD_Identifier
4847, primaryjoin=md_identifier_table.c.mo_platform_identifier==mo_platform_table.c.id
4848),      'documentation': relationship(CI_Citation
4849, primaryjoin=ci_citation_table.c.mo_platform_documentation==mo_platform_table.c.id
4850),      'relatedParty': relationship(MO_ResponsiblePartyInfo
4851, primaryjoin=mo_responsiblepartyinfo_table.c.mo_platform_relatedparty==mo_platform_table.c.id
4852)})
4853
4854
4855class_mapper(DQ_DataQuality).add_properties({   'lineage': relationship(LI_Lineage, uselist=False, backref='dq_dataquality_lineage'
4856, primaryjoin=li_lineage_table.c.dq_dataquality_lineage_id==dq_dataquality_table.c.id
4857),      'report': relationship(DQ_Element
4858, primaryjoin=dq_element_table.c.dq_dataquality_report==dq_dataquality_table.c.id
4859),      'scope': relationship(DQ_Scope, uselist=False, backref='dq_dataquality_scope'
4860, primaryjoin=dq_scope_table.c.dq_dataquality_scope_id==dq_dataquality_table.c.id
4861)})
4862
4863
4864class_mapper(MO_Project).add_properties({       'keywords': relationship(MD_Keywords
4865, primaryjoin=md_keywords_table.c.mo_project_keywords==mo_project_table.c.id
4866),      'dmp': relationship(CI_Citation, uselist=False, backref='mo_project_dmp'
4867, primaryjoin=ci_citation_table.c.mo_project_dmp_id==mo_project_table.c.id
4868),      'relatedParty': relationship(MO_ResponsiblePartyInfo
4869, primaryjoin=mo_responsiblepartyinfo_table.c.mo_project_relatedparty==mo_project_table.c.id
4870),      'observationCollection': relationship(MO_ObservationCollection
4871, primaryjoin=mo_observationcollection_table.c.mo_project_observationcollection==mo_project_table.c.id
4872),      'documentation': relationship(CI_Citation
4873, primaryjoin=ci_citation_table.c.mo_project_documentation==mo_project_table.c.id
4874),      'identifier': relationship(MD_Identifier
4875, primaryjoin=md_identifier_table.c.mo_project_identifier==mo_project_table.c.id
4876)})
4877
4878
4879class_mapper(MO_Location).add_properties({      'geometryLocation': relationship(GM_Object, uselist=False, backref='mo_location_geometryLocation'
4880, primaryjoin=gm_object_table.c.mo_location_geometrylocation_id==mo_location_table.c.id
4881),      'nameLocation': relationship(EX_GeographicDescription, uselist=False, backref='mo_location_nameLocation'
4882, primaryjoin=ex_geographicdescription_table.c.mo_location_namelocation_id==mo_location_table.c.id
4883)})
4884
4885
4886class_mapper(GF_PropertyType).add_properties({  'propertyTypeMetadata': relationship(MD_Metadata
4887, primaryjoin=md_metadata_table.c.gf_propertytype_propertytypemetadata==gf_propertytype_table.c.id
4888),      'constrainedBy': relationship(GF_Constraint
4889, primaryjoin=gf_constraint_table.c.gf_propertytype_constrainedby==gf_propertytype_table.c.id
4890),      'memberName': relationship(LocalName, uselist=False, backref='gf_propertytype_memberName'
4891, primaryjoin=localname_table.c.gf_propertytype_membername_id==gf_propertytype_table.c.id
4892),      'theGF_FeatureType': relationship(GF_FeatureType, uselist=False, backref='gf_propertytype_theGF_FeatureType'
4893, primaryjoin=gf_featuretype_table.c.gf_propertytype_thegf_featuretype_id==gf_propertytype_table.c.id
4894)})
4895
4896
4897class_mapper(NameSpace).add_properties({        'acceptableClassList': relationship(TypeName
4898, primaryjoin=typename_table.c.namespace_acceptableclasslist==namespace_table.c.id
4899),      'name': relationship(GenericName
4900, primaryjoin=genericname_table.c.namespace_name==namespace_table.c.id
4901)})
4902
4903
4904class_mapper(TM_TemporalPosition).add_properties({      'frame': relationship(TM_ReferenceSystem, uselist=False, backref='tm_temporalposition_frame'
4905, primaryjoin=tm_referencesystem_table.c.tm_temporalposition_frame_id==tm_temporalposition_table.c.id
4906)})
4907
4908
4909class_mapper(OM_Process).add_properties({       'generatedObservation': relationship(OM_Observation
4910, primaryjoin=om_observation_table.c.om_process_generatedobservation==om_process_table.c.id
4911)})
4912
4913
4914class_mapper(GM_Object).add_properties({        'CRS': relationship(SC_CRS, uselist=False, backref='gm_object_CRS'
4915, primaryjoin=sc_crs_table.c.gm_object_crs_id==gm_object_table.c.id
4916)})
4917
4918
4919class_mapper(MD_Metadata).add_properties({      'series': relationship(DS_Aggregate
4920, primaryjoin=ds_aggregate_table.c.md_metadata_series==md_metadata_table.c.id
4921),      'dataQualityInfo': relationship(DQ_DataQuality
4922, primaryjoin=dq_dataquality_table.c.md_metadata_dataqualityinfo==md_metadata_table.c.id
4923),      'featureType': relationship(GF_FeatureType
4924, primaryjoin=gf_featuretype_table.c.md_metadata_featuretype==md_metadata_table.c.id
4925),      'distributionInfo': relationship(MD_Distribution, uselist=False, backref='md_metadata_distributionInfo'
4926, primaryjoin=md_distribution_table.c.md_metadata_distributioninfo_id==md_metadata_table.c.id
4927),      'contentInfo': relationship(MD_ContentInformation
4928, primaryjoin=md_contentinformation_table.c.md_metadata_contentinfo==md_metadata_table.c.id
4929),      'metadataMaintenance': relationship(MD_MaintenanceInformation, uselist=False, backref='md_metadata_metadataMaintenance'
4930, primaryjoin=md_maintenanceinformation_table.c.md_metadata_metadatamaintenance_id==md_metadata_table.c.id
4931),      'identificationInfo': relationship(MD_Identification
4932, primaryjoin=md_identification_table.c.md_metadata_identificationinfo==md_metadata_table.c.id
4933),      'contact': relationship(CI_ResponsibleParty
4934, primaryjoin=ci_responsibleparty_table.c.md_metadata_contact==md_metadata_table.c.id
4935),      'describes': relationship(CL_DataSet
4936, primaryjoin=cl_dataset_table.c.md_metadata_describes==md_metadata_table.c.id
4937),      'applicationSchemaInfo': relationship(MD_ApplicationSchemaInformation
4938, primaryjoin=md_applicationschemainformation_table.c.md_metadata_applicationschemainfo==md_metadata_table.c.id
4939),      'referenceSystemInfo': relationship(MD_ReferenceSystem
4940, primaryjoin=md_referencesystem_table.c.md_metadata_referencesysteminfo==md_metadata_table.c.id
4941),      'portrayalCatalogueInfo': relationship(MD_PortrayalCatalogueReference
4942, primaryjoin=md_portrayalcataloguereference_table.c.md_metadata_portrayalcatalogueinfo==md_metadata_table.c.id
4943),      'metadataExtensionInfo': relationship(MD_MetadataExtensionInformation
4944, primaryjoin=md_metadataextensioninformation_table.c.md_metadata_metadataextensioninfo==md_metadata_table.c.id
4945),      'propertyType': relationship(GF_PropertyType
4946, primaryjoin=gf_propertytype_table.c.md_metadata_propertytype==md_metadata_table.c.id
4947),      'featureAttribute': relationship(GF_AttributeType
4948, primaryjoin=gf_attributetype_table.c.md_metadata_featureattribute==md_metadata_table.c.id
4949),      'metadataConstraints': relationship(MD_Constraints
4950, primaryjoin=md_constraints_table.c.md_metadata_metadataconstraints==md_metadata_table.c.id
4951),      'spatialRepresentationInfo': relationship(MD_SpatialRepresentation
4952, primaryjoin=md_spatialrepresentation_table.c.md_metadata_spatialrepresentationinfo==md_metadata_table.c.id
4953),      'describes': relationship(DS_DataSet
4954, primaryjoin=ds_dataset_table.c.md_metadata_describes==md_metadata_table.c.id
4955),      'dateStamp': relationship(Date, uselist=False, backref='md_metadata_dateStamp'
4956, primaryjoin=date_table.c.md_metadata_datestamp_id==md_metadata_table.c.id
4957)})
4958
4959
4960class_mapper(EX_Extent).add_properties({        'geographicElement': relationship(EX_GeographicExtent
4961, primaryjoin=ex_geographicextent_table.c.ex_extent_geographicelement==ex_extent_table.c.id
4962),      'verticalElement': relationship(EX_VerticalExtent
4963, primaryjoin=ex_verticalextent_table.c.ex_extent_verticalelement==ex_extent_table.c.id
4964),      'temporalElement': relationship(EX_TemporalExtent
4965, primaryjoin=ex_temporalextent_table.c.ex_extent_temporalelement==ex_extent_table.c.id
4966)})
4967
4968
4969class_mapper(MD_Identification).add_properties({        'pointOfContact': relationship(CI_ResponsibleParty
4970, primaryjoin=ci_responsibleparty_table.c.md_identification_pointofcontact==md_identification_table.c.id
4971),      'descriptiveKeywords': relationship(MD_Keywords
4972, primaryjoin=md_keywords_table.c.md_identification_descriptivekeywords==md_identification_table.c.id
4973),      'citation': relationship(CI_Citation, uselist=False, backref='md_identification_citation'
4974, primaryjoin=ci_citation_table.c.md_identification_citation_id==md_identification_table.c.id
4975),      'aggregationInfo': relationship(MD_AggregateInformation
4976, primaryjoin=md_aggregateinformation_table.c.md_identification_aggregationinfo==md_identification_table.c.id
4977),      'graphicOverview': relationship(MD_BrowseGraphic
4978, primaryjoin=md_browsegraphic_table.c.md_identification_graphicoverview==md_identification_table.c.id
4979),      'resourceFormat': relationship(MD_Format
4980, primaryjoin=md_format_table.c.md_identification_resourceformat==md_identification_table.c.id
4981),      'resourceConstraints': relationship(MD_Constraints
4982, primaryjoin=md_constraints_table.c.md_identification_resourceconstraints==md_identification_table.c.id
4983),      'resourceSpecificUsage': relationship(MD_Usage
4984, primaryjoin=md_usage_table.c.md_identification_resourcespecificusage==md_identification_table.c.id
4985),      'resourceMaintenance': relationship(MD_MaintenanceInformation
4986, primaryjoin=md_maintenanceinformation_table.c.md_identification_resourcemaintenance==md_identification_table.c.id
4987)})
4988
4989
4990class_mapper(LE_Algorithm).add_properties({     'citation': relationship(CI_Citation, uselist=False, backref='le_algorithm_citation'
4991, primaryjoin=ci_citation_table.c.le_algorithm_citation_id==le_algorithm_table.c.id
4992)})
4993
4994
4995class_mapper(CI_Citation).add_properties({      'series': relationship(CI_Series, uselist=False, backref='ci_citation_series'
4996, primaryjoin=ci_series_table.c.ci_citation_series_id==ci_citation_table.c.id
4997),      'date': relationship(CI_Date
4998, primaryjoin=ci_date_table.c.ci_citation_date==ci_citation_table.c.id
4999),      'citedResponsibleParty': relationship(CI_ResponsibleParty
5000, primaryjoin=ci_responsibleparty_table.c.ci_citation_citedresponsibleparty==ci_citation_table.c.id
5001),      'editionDate': relationship(Date, uselist=False, backref='ci_citation_editionDate'
5002, primaryjoin=date_table.c.ci_citation_editiondate_id==ci_citation_table.c.id
5003),      'identifier': relationship(MD_Identifier
5004, primaryjoin=md_identifier_table.c.ci_citation_identifier==ci_citation_table.c.id
5005)})
5006
5007
5008class_mapper(DQ_Element).add_properties({       'measureIdentification': relationship(MD_Identifier, uselist=False, backref='dq_element_measureIdentification'
5009, primaryjoin=md_identifier_table.c.dq_element_measureidentification_id==dq_element_table.c.id
5010),      'evaluationProcedure': relationship(CI_Citation, uselist=False, backref='dq_element_evaluationProcedure'
5011, primaryjoin=ci_citation_table.c.dq_element_evaluationprocedure_id==dq_element_table.c.id
5012),      'result': relationship(DQ_Result
5013, primaryjoin=dq_result_table.c.dq_element_result==dq_element_table.c.id
5014),      'dateTime': relationship(DateTime
5015, primaryjoin=datetime_table.c.dq_element_datetime==dq_element_table.c.id
5016)})
5017
5018
5019class_mapper(MD_AggregateInformation).add_properties({  'aggregateDataSetIdentifier': relationship(MD_Identifier, uselist=False, backref='md_aggregateinformation_aggregateDataSetIdentifier'
5020, primaryjoin=md_identifier_table.c.md_aggregateinformation_aggregatedatasetidentifier_id==md_aggregateinformation_table.c.id
5021),      'aggregateDataSetName': relationship(CI_Citation, uselist=False, backref='md_aggregateinformation_aggregateDataSetName'
5022, primaryjoin=ci_citation_table.c.md_aggregateinformation_aggregatedatasetname_id==md_aggregateinformation_table.c.id
5023)})
5024
5025
5026class_mapper(OM_Observation).add_properties({   'validTime': relationship(TM_Period, uselist=False, backref='om_observation_validTime'
5027, primaryjoin=tm_period_table.c.om_observation_validtime_id==om_observation_table.c.id
5028),      'observedProperty': relationship(GF_PropertyType, uselist=False, backref='om_observation_observedProperty'
5029, primaryjoin=gf_propertytype_table.c.om_observation_observedproperty_id==om_observation_table.c.id
5030),      'parameter': relationship(NamedValue
5031, primaryjoin=namedvalue_table.c.om_observation_parameter==om_observation_table.c.id
5032),      'resultTime': relationship(TM_Instant, uselist=False, backref='om_observation_resultTime'
5033, primaryjoin=tm_instant_table.c.om_observation_resulttime_id==om_observation_table.c.id
5034),      'metadata': relationship(MD_Metadata, uselist=False, backref='om_observation_metadata'
5035, primaryjoin=md_metadata_table.c.om_observation_metadata_id==om_observation_table.c.id
5036),      'featureOfInterest': relationship(GFI_Feature, uselist=False, backref='om_observation_featureOfInterest'
5037, primaryjoin=gfi_feature_table.c.om_observation_featureofinterest_id==om_observation_table.c.id
5038),      'procedure': relationship(OM_Process, uselist=False, backref='om_observation_procedure'
5039, primaryjoin=om_process_table.c.om_observation_procedure_id==om_observation_table.c.id
5040),      'resultQuality': relationship(DQ_Element
5041, primaryjoin=dq_element_table.c.om_observation_resultquality==om_observation_table.c.id
5042),      'result': relationship(Any, uselist=False, backref='om_observation_result'
5043, primaryjoin=any_table.c.om_observation_result_id==om_observation_table.c.id
5044),      'phenomenonTime': relationship(TM_Object, uselist=False, backref='om_observation_phenomenonTime'
5045, primaryjoin=tm_object_table.c.om_observation_phenomenontime_id==om_observation_table.c.id
5046)})
5047
5048
5049class_mapper(CEDA_Notes).add_properties({       'date': relationship(DateTime, uselist=False, backref='ceda_notes_date'
5050, primaryjoin=datetime_table.c.ceda_notes_date_id==ceda_notes_table.c.id
5051),      'commentator': relationship(MO_ResponsiblePartyInfo, uselist=False, backref='ceda_notes_commentator'
5052, primaryjoin=mo_responsiblepartyinfo_table.c.ceda_notes_commentator_id==ceda_notes_table.c.id
5053)})
5054
5055
5056class_mapper(TP_Primitive).add_properties({     'proxy': relationship(TP_DirectedTopo, uselist=False, backref='tp_primitive_proxy'
5057, primaryjoin=tp_directedtopo_table.c.tp_primitive_proxy_id==tp_primitive_table.c.id
5058),      'complex': relationship(TP_Complex
5059, primaryjoin=tp_complex_table.c.tp_primitive_complex==tp_primitive_table.c.id
5060),      'geometry': relationship(GM_Primitive, uselist=False, backref='tp_primitive_geometry'
5061, primaryjoin=gm_primitive_table.c.tp_primitive_geometry_id==tp_primitive_table.c.id
5062),      'maximalComplex': relationship(TP_Complex, uselist=False, backref='tp_primitive_maximalComplex'
5063, primaryjoin=tp_complex_table.c.tp_primitive_maximalcomplex_id==tp_primitive_table.c.id
5064)})
5065
5066
5067class_mapper(GF_FeatureType).add_properties({   'theGF_InheritanceRelation': relationship(GF_InheritanceRelation
5068, primaryjoin=gf_inheritancerelation_table.c.gf_featuretype_thegf_inheritancerelation==gf_featuretype_table.c.id
5069),      'featureTypeMetadata': relationship(MD_Metadata
5070, primaryjoin=md_metadata_table.c.gf_featuretype_featuretypemetadata==gf_featuretype_table.c.id
5071),      'carrierOfCharacteristics': relationship(GF_PropertyType
5072, primaryjoin=gf_propertytype_table.c.gf_featuretype_carrierofcharacteristics==gf_featuretype_table.c.id
5073),      'constrainedBy': relationship(GF_Constraint
5074, primaryjoin=gf_constraint_table.c.gf_featuretype_constrainedby==gf_featuretype_table.c.id
5075),      'linkBetween': relationship(GF_AssociationType
5076, primaryjoin=gf_associationtype_table.c.gf_featuretype_linkbetween==gf_featuretype_table.c.id
5077),      'typeName': relationship(LocalName, uselist=False, backref='gf_featuretype_typeName'
5078, primaryjoin=localname_table.c.gf_featuretype_typename_id==gf_featuretype_table.c.id
5079)})
5080
5081
5082class_mapper(TP_Expression).add_properties({    'term': relationship(TP_ExpressionTerm
5083, primaryjoin=tp_expressionterm_table.c.tp_expression_term==tp_expression_table.c.id
5084)})
5085
5086
5087class_mapper(MO_Instrument).add_properties({    'realatedParty': relationship(MO_ResponsiblePartyInfo
5088, primaryjoin=mo_responsiblepartyinfo_table.c.mo_instrument_realatedparty==mo_instrument_table.c.id
5089),      'identifier': relationship(MD_Identifier
5090, primaryjoin=md_identifier_table.c.mo_instrument_identifier==mo_instrument_table.c.id
5091),      'type': relationship(ScopedName, uselist=False, backref='mo_instrument_type'
5092, primaryjoin=scopedname_table.c.mo_instrument_type_id==mo_instrument_table.c.id
5093),      'documentation': relationship(CI_Citation
5094, primaryjoin=ci_citation_table.c.mo_instrument_documentation==mo_instrument_table.c.id
5095)})
5096
5097
5098class_mapper(CI_Responsibility).add_properties({        'party': relationship(CI_Party
5099, primaryjoin=ci_party_table.c.ci_responsibility_party==ci_responsibility_table.c.id
5100),      '_ci_responsiblepartyinfo': relationship(CI_ResponsiblePartyInfo, uselist=False, backref='ci_responsibility__ci_responsiblepartyinfo'
5101, primaryjoin=ci_responsiblepartyinfo_table.c.ci_responsibility__ci_responsiblepartyinfo_id==ci_responsibility_table.c.id
5102)})
5103
5104
5105class_mapper(GF_AssociationType).add_properties({       'includes': relationship(GF_FeatureType
5106, primaryjoin=gf_featuretype_table.c.gf_associationtype_includes==gf_associationtype_table.c.id
5107),      'theGF_Operation': relationship(GF_Operation
5108, primaryjoin=gf_operation_table.c.gf_associationtype_thegf_operation==gf_associationtype_table.c.id
5109),      '_gf_featuretype': relationship(GF_FeatureType, uselist=False, backref='gf_associationtype__gf_featuretype'
5110, primaryjoin=gf_featuretype_table.c.gf_associationtype__gf_featuretype_id==gf_associationtype_table.c.id
5111),      'roleName': relationship(GF_AssociationRole
5112, primaryjoin=gf_associationrole_table.c.gf_associationtype_rolename==gf_associationtype_table.c.id
5113)})
5114
5115
5116class_mapper(TM_ReferenceSystem).add_properties({       'name': relationship(RS_Identifier, uselist=False, backref='tm_referencesystem_name'
5117, primaryjoin=rs_identifier_table.c.tm_referencesystem_name_id==tm_referencesystem_table.c.id
5118),      '_rs_referencesystem': relationship(RS_ReferenceSystem, uselist=False, backref='tm_referencesystem__rs_referencesystem'
5119, primaryjoin=rs_referencesystem_table.c.tm_referencesystem__rs_referencesystem_id==tm_referencesystem_table.c.id
5120),      'domainOfValidity': relationship(EX_Extent
5121, primaryjoin=ex_extent_table.c.tm_referencesystem_domainofvalidity==tm_referencesystem_table.c.id
5122),      'position': relationship(TM_TemporalPosition
5123, primaryjoin=tm_temporalposition_table.c.tm_referencesystem_position==tm_referencesystem_table.c.id
5124)})
5125
5126
5127class_mapper(TypeName).add_properties({ '_localname': relationship(LocalName, uselist=False, backref='typename__localname'
5128, primaryjoin=localname_table.c.typename__localname_id==typename_table.c.id
5129)})
5130
5131
5132class_mapper(Length).add_properties({   'uom': relationship(UomLength, uselist=False, backref='length_uom'
5133, primaryjoin=uomlength_table.c.length_uom_id==length_table.c.id
5134),      '_measure': relationship(Measure, uselist=False, backref='length__measure'
5135, primaryjoin=measure_table.c.length__measure_id==length_table.c.id
5136)})
5137
5138
5139class_mapper(MO_OnlineResource).add_properties({        'serviceFunction': relationship(ScopedName, uselist=False, backref='mo_onlineresource_serviceFunction'
5140, primaryjoin=scopedname_table.c.mo_onlineresource_servicefunction_id==mo_onlineresource_table.c.id
5141),      '_ci_onlineresource': relationship(CI_OnlineResource, uselist=False, backref='mo_onlineresource__ci_onlineresource'
5142, primaryjoin=ci_onlineresource_table.c.mo_onlineresource__ci_onlineresource_id==mo_onlineresource_table.c.id
5143)})
5144
5145
5146class_mapper(CS_CoordinateSystem).add_properties({      '_io_identifiedobject': relationship(IO_IdentifiedObject, uselist=False, backref='cs_coordinatesystem__io_identifiedobject'
5147, primaryjoin=io_identifiedobject_table.c.cs_coordinatesystem__io_identifiedobject_id==cs_coordinatesystem_table.c.id
5148),      'axis': relationship(CS_CoordinateSystemAxis
5149, primaryjoin=cs_coordinatesystemaxis_table.c.cs_coordinatesystem_axis==cs_coordinatesystem_table.c.id
5150),      'referenceSystem': relationship(SC_SingleCRS
5151, primaryjoin=sc_singlecrs_table.c.cs_coordinatesystem_referencesystem==cs_coordinatesystem_table.c.id
5152)})
5153
5154
5155class_mapper(MO_CompositeProcess).add_properties({      'identifier': relationship(MD_Identifier
5156, primaryjoin=md_identifier_table.c.mo_compositeprocess_identifier==mo_compositeprocess_table.c.id
5157),      'relatedParty': relationship(MO_ResponsiblePartyInfo
5158, primaryjoin=mo_responsiblepartyinfo_table.c.mo_compositeprocess_relatedparty==mo_compositeprocess_table.c.id
5159),      'acquisitionComponent': relationship(MO_Acquisition
5160, primaryjoin=mo_acquisition_table.c.mo_compositeprocess_acquisitioncomponent==mo_compositeprocess_table.c.id
5161),      'documentation': relationship(CI_Citation
5162, primaryjoin=ci_citation_table.c.mo_compositeprocess_documentation==mo_compositeprocess_table.c.id
5163),      '_mo_process': relationship(MO_Process, uselist=False, backref='mo_compositeprocess__mo_process'
5164, primaryjoin=mo_process_table.c.mo_compositeprocess__mo_process_id==mo_compositeprocess_table.c.id
5165),      'computationComponent': relationship(MO_Computation
5166, primaryjoin=mo_computation_table.c.mo_compositeprocess_computationcomponent==mo_compositeprocess_table.c.id
5167)})
5168
5169
5170class_mapper(CC_OperationMethod).add_properties({       '_io_identifiedobject': relationship(IO_IdentifiedObject, uselist=False, backref='cc_operationmethod__io_identifiedobject'
5171, primaryjoin=io_identifiedobject_table.c.cc_operationmethod__io_identifiedobject_id==cc_operationmethod_table.c.id
5172),      'coordOperation': relationship(CC_SingleOperation
5173, primaryjoin=cc_singleoperation_table.c.cc_operationmethod_coordoperation==cc_operationmethod_table.c.id
5174),      'formulaReference': relationship(CC_Formula, uselist=False, backref='cc_operationmethod_formulaReference'
5175, primaryjoin=cc_formula_table.c.cc_operationmethod_formulareference_id==cc_operationmethod_table.c.id
5176)})
5177
5178
5179class_mapper(CC_Conversion).add_properties({    'referenceSystem': relationship(SC_GeneralDerivedCRS
5180, primaryjoin=sc_generalderivedcrs_table.c.cc_conversion_referencesystem==cc_conversion_table.c.id
5181),      '_cc_singleoperation': relationship(CC_SingleOperation, uselist=False, backref='cc_conversion__cc_singleoperation'
5182, primaryjoin=cc_singleoperation_table.c.cc_conversion__cc_singleoperation_id==cc_conversion_table.c.id
5183)})
5184
5185
5186class_mapper(CEDA_Result).add_properties({      '_mo_result': relationship(MO_Result, uselist=False, backref='ceda_result__mo_result'
5187, primaryjoin=mo_result_table.c.ceda_result__mo_result_id==ceda_result_table.c.id
5188)})
5189
5190
5191class_mapper(CEDA_CompositeProcess).add_properties({    'review': relationship(CEDA_Review
5192, primaryjoin=ceda_review_table.c.ceda_compositeprocess_review==ceda_compositeprocess_table.c.id
5193),      '_ceda_process': relationship(CEDA_Process, uselist=False, backref='ceda_compositeprocess__ceda_process'
5194, primaryjoin=ceda_process_table.c.ceda_compositeprocess__ceda_process_id==ceda_compositeprocess_table.c.id
5195),      '_mo_compositeprocess': relationship(MO_CompositeProcess, uselist=False, backref='ceda_compositeprocess__mo_compositeprocess'
5196, primaryjoin=mo_compositeprocess_table.c.ceda_compositeprocess__mo_compositeprocess_id==ceda_compositeprocess_table.c.id
5197)})
5198
5199
5200class_mapper(Scale).add_properties({    '_measure': relationship(Measure, uselist=False, backref='scale__measure'
5201, primaryjoin=measure_table.c.scale__measure_id==scale_table.c.id
5202),      'targetUnits': relationship(UomLength, uselist=False, backref='scale_targetUnits'
5203, primaryjoin=uomlength_table.c.scale_targetunits_id==scale_table.c.id
5204),      'uom': relationship(UomScale, uselist=False, backref='scale_uom'
5205, primaryjoin=uomscale_table.c.scale_uom_id==scale_table.c.id
5206),      'sourceUnits': relationship(UomLength, uselist=False, backref='scale_sourceUnits'
5207, primaryjoin=uomlength_table.c.scale_sourceunits_id==scale_table.c.id
5208)})
5209
5210
5211class_mapper(SC_CompoundCRS).add_properties({   'componentReferenceSystem': relationship(SC_SingleCRS
5212, primaryjoin=sc_singlecrs_table.c.sc_compoundcrs_componentreferencesystem==sc_compoundcrs_table.c.id
5213),      '_sc_crs': relationship(SC_CRS, uselist=False, backref='sc_compoundcrs__sc_crs'
5214, primaryjoin=sc_crs_table.c.sc_compoundcrs__sc_crs_id==sc_compoundcrs_table.c.id
5215)})
5216
5217
5218class_mapper(CEDA_Operation).add_properties({   '_mo_operation': relationship(MO_Operation, uselist=False, backref='ceda_operation__mo_operation'
5219, primaryjoin=mo_operation_table.c.ceda_operation__mo_operation_id==ceda_operation_table.c.id
5220),      'review': relationship(CEDA_Review
5221, primaryjoin=ceda_review_table.c.ceda_operation_review==ceda_operation_table.c.id
5222)})
5223
5224
5225class_mapper(GM_Complex).add_properties({       'element': relationship(GM_Primitive
5226, primaryjoin=gm_primitive_table.c.gm_complex_element==gm_complex_table.c.id
5227),      '_gm_object': relationship(GM_Object, uselist=False, backref='gm_complex__gm_object'
5228, primaryjoin=gm_object_table.c.gm_complex__gm_object_id==gm_complex_table.c.id
5229),      'topology': relationship(TP_Complex, uselist=False, backref='gm_complex_topology'
5230, primaryjoin=tp_complex_table.c.gm_complex_topology_id==gm_complex_table.c.id
5231)})
5232
5233
5234class_mapper(CC_GeneralOperationParameter).add_properties({     '_io_identifiedobject': relationship(IO_IdentifiedObject, uselist=False, backref='cc_generaloperationparameter__io_identifiedobject'
5235, primaryjoin=io_identifiedobject_table.c.cc_generaloperationparameter__io_identifiedobject_id==cc_generaloperationparameter_table.c.id
5236),      'group': relationship(CC_OperationParameterGroup
5237, primaryjoin=cc_operationparametergroup_table.c.cc_generaloperationparameter_group==cc_generaloperationparameter_table.c.id
5238),      'value': relationship(CC_GeneralParameterValue
5239, primaryjoin=cc_generalparametervalue_table.c.cc_generaloperationparameter_value==cc_generaloperationparameter_table.c.id
5240)})
5241
5242
5243class_mapper(GF_Operation).add_properties({     'dependsOn': relationship(GF_AssociationType
5244, primaryjoin=gf_associationtype_table.c.gf_operation_dependson==gf_operation_table.c.id
5245),      'observesValuesOf': relationship(GF_AttributeType
5246, primaryjoin=gf_attributetype_table.c.gf_operation_observesvaluesof==gf_operation_table.c.id
5247),      '_gf_propertytype': relationship(GF_PropertyType, uselist=False, backref='gf_operation__gf_propertytype'
5248, primaryjoin=gf_propertytype_table.c.gf_operation__gf_propertytype_id==gf_operation_table.c.id
5249),      'triggeredByValuesOf': relationship(GF_AttributeType
5250, primaryjoin=gf_attributetype_table.c.gf_operation_triggeredbyvaluesof==gf_operation_table.c.id
5251),      'affectsValuesOf': relationship(GF_AttributeType
5252, primaryjoin=gf_attributetype_table.c.gf_operation_affectsvaluesof==gf_operation_table.c.id
5253)})
5254
5255
5256class_mapper(MO_Observation).add_properties({   '_om_observation': relationship(OM_Observation, uselist=False, backref='mo_observation__om_observation'
5257, primaryjoin=om_observation_table.c.mo_observation__om_observation_id==mo_observation_table.c.id
5258),      'verticalExtent': relationship(EX_VerticalExtent
5259, primaryjoin=ex_verticalextent_table.c.mo_observation_verticalextent==mo_observation_table.c.id
5260),      'documentation': relationship(CI_Citation
5261, primaryjoin=ci_citation_table.c.mo_observation_documentation==mo_observation_table.c.id
5262),      'relatedParty': relationship(MO_ResponsiblePartyInfo
5263, primaryjoin=mo_responsiblepartyinfo_table.c.mo_observation_relatedparty==mo_observation_table.c.id
5264),      'geographicExtent': relationship(EX_GeographicExtent
5265, primaryjoin=ex_geographicextent_table.c.mo_observation_geographicextent==mo_observation_table.c.id
5266),      'identifier': relationship(MD_Identifier
5267, primaryjoin=md_identifier_table.c.mo_observation_identifier==mo_observation_table.c.id
5268),      'result': relationship(MO_Result, uselist=False, backref='mo_observation_result'
5269, primaryjoin=mo_result_table.c.mo_observation_result_id==mo_observation_table.c.id
5270),      'inSupportOf': relationship(MO_Project, uselist=False, backref='mo_observation_inSupportOf'
5271, primaryjoin=mo_project_table.c.mo_observation_insupportof_id==mo_observation_table.c.id
5272),      'permission': relationship(MD_Constraints, uselist=False, backref='mo_observation_permission'
5273, primaryjoin=md_constraints_table.c.mo_observation_permission_id==mo_observation_table.c.id
5274)})
5275
5276
5277class_mapper(CC_ConcatenatedOperation).add_properties({ '_cc_coordinateoperation': relationship(CC_CoordinateOperation, uselist=False, backref='cc_concatenatedoperation__cc_coordinateoperation'
5278, primaryjoin=cc_coordinateoperation_table.c.cc_concatenatedoperation__cc_coordinateoperation_id==cc_concatenatedoperation_table.c.id
5279),      'coordOperation': relationship(CC_CoordinateOperation
5280, primaryjoin=cc_coordinateoperation_table.c.cc_concatenatedoperation_coordoperation==cc_concatenatedoperation_table.c.id
5281)})
5282
5283
5284class_mapper(MO_ResponsiblePartyInfo).add_properties({  '_ci_responsibility': relationship(CI_Responsibility, uselist=False, backref='mo_responsiblepartyinfo__ci_responsibility'
5285, primaryjoin=ci_responsibility_table.c.mo_responsiblepartyinfo__ci_responsibility_id==mo_responsiblepartyinfo_table.c.id
5286)})
5287
5288
5289class_mapper(MO_Acquisition).add_properties({   'instrument': relationship(MO_Instrument
5290, primaryjoin=mo_instrument_table.c.mo_acquisition_instrument==mo_acquisition_table.c.id
5291),      'instrumentPlatformPair': relationship(MO_InstrumentPlatformPair
5292, primaryjoin=mo_instrumentplatformpair_table.c.mo_acquisition_instrumentplatformpair==mo_acquisition_table.c.id
5293),      'realatedParty': relationship(MO_ResponsiblePartyInfo
5294, primaryjoin=mo_responsiblepartyinfo_table.c.mo_acquisition_realatedparty==mo_acquisition_table.c.id
5295),      'platform': relationship(MO_Platform
5296, primaryjoin=mo_platform_table.c.mo_acquisition_platform==mo_acquisition_table.c.id
5297),      'operation': relationship(MO_Operation
5298, primaryjoin=mo_operation_table.c.mo_acquisition_operation==mo_acquisition_table.c.id
5299),      'identifier': relationship(MD_Identifier
5300, primaryjoin=md_identifier_table.c.mo_acquisition_identifier==mo_acquisition_table.c.id
5301),      'outputDescription': relationship(MO_InputOutput, uselist=False, backref='mo_acquisition_outputDescription'
5302, primaryjoin=mo_inputoutput_table.c.mo_acquisition_outputdescription_id==mo_acquisition_table.c.id
5303),      '_mo_process': relationship(MO_Process, uselist=False, backref='mo_acquisition__mo_process'
5304, primaryjoin=mo_process_table.c.mo_acquisition__mo_process_id==mo_acquisition_table.c.id
5305),      'documentation': relationship(CI_Citation
5306, primaryjoin=ci_citation_table.c.mo_acquisition_documentation==mo_acquisition_table.c.id
5307)})
5308
5309
5310class_mapper(SC_GeneralDerivedCRS).add_properties({     '_sc_singlecrs': relationship(SC_SingleCRS, uselist=False, backref='sc_generalderivedcrs__sc_singlecrs'
5311, primaryjoin=sc_singlecrs_table.c.sc_generalderivedcrs__sc_singlecrs_id==sc_generalderivedcrs_table.c.id
5312),      'conversion': relationship(CC_Conversion, uselist=False, backref='sc_generalderivedcrs_conversion'
5313, primaryjoin=cc_conversion_table.c.sc_generalderivedcrs_conversion_id==sc_generalderivedcrs_table.c.id
5314)})
5315
5316
5317class_mapper(MO_Computation).add_properties({   '_mo_process': relationship(MO_Process, uselist=False, backref='mo_computation__mo_process'
5318, primaryjoin=mo_process_table.c.mo_computation__mo_process_id==mo_computation_table.c.id
5319)})
5320
5321
5322class_mapper(ScopedName).add_properties({       '_genericname': relationship(GenericName, uselist=False, backref='scopedname__genericname'
5323, primaryjoin=genericname_table.c.scopedname__genericname_id==scopedname_table.c.id
5324)})
5325
5326
5327class_mapper(CD_VerticalDatum).add_properties({ '_cd_datum': relationship(CD_Datum, uselist=False, backref='cd_verticaldatum__cd_datum'
5328, primaryjoin=cd_datum_table.c.cd_verticaldatum__cd_datum_id==cd_verticaldatum_table.c.id
5329),      'referenceSystem': relationship(SC_VerticalCRS
5330, primaryjoin=sc_verticalcrs_table.c.cd_verticaldatum_referencesystem==cd_verticaldatum_table.c.id
5331)})
5332
5333
5334class_mapper(TM_Period).add_properties({        'end': relationship(TM_Instant, uselist=False, backref='tm_period_end'
5335, primaryjoin=tm_instant_table.c.tm_period_end_id==tm_period_table.c.id
5336),      'begin': relationship(TM_Instant, uselist=False, backref='tm_period_begin'
5337, primaryjoin=tm_instant_table.c.tm_period_begin_id==tm_period_table.c.id
5338),      '_tm_geometricprimitive': relationship(TM_GeometricPrimitive, uselist=False, backref='tm_period__tm_geometricprimitive'
5339, primaryjoin=tm_geometricprimitive_table.c.tm_period__tm_geometricprimitive_id==tm_period_table.c.id
5340),      'topology': relationship(TM_Edge, uselist=False, backref='tm_period_topology'
5341, primaryjoin=tm_edge_table.c.tm_period_topology_id==tm_period_table.c.id
5342)})
5343
5344
5345class_mapper(CC_CoordinateOperation).add_properties({   'domainOfValidity': relationship(EX_Extent, uselist=False, backref='cc_coordinateoperation_domainOfValidity'
5346, primaryjoin=ex_extent_table.c.cc_coordinateoperation_domainofvalidity_id==cc_coordinateoperation_table.c.id
5347),      '_io_identifiedobject': relationship(IO_IdentifiedObject, uselist=False, backref='cc_coordinateoperation__io_identifiedobject'
5348, primaryjoin=io_identifiedobject_table.c.cc_coordinateoperation__io_identifiedobject_id==cc_coordinateoperation_table.c.id
5349),      'sourceCRS': relationship(SC_CRS, uselist=False, backref='cc_coordinateoperation_sourceCRS'
5350, primaryjoin=sc_crs_table.c.cc_coordinateoperation_sourcecrs_id==cc_coordinateoperation_table.c.id
5351),      'coordinateOperationAccuracy': relationship(DQ_PositionalAccuracy
5352, primaryjoin=dq_positionalaccuracy_table.c.cc_coordinateoperation_coordinateoperationaccuracy==cc_coordinateoperation_table.c.id
5353),      'passThruOperation': relationship(CC_PassThroughOperation
5354, primaryjoin=cc_passthroughoperation_table.c.cc_coordinateoperation_passthruoperation==cc_coordinateoperation_table.c.id
5355),      'concatOperation': relationship(CC_ConcatenatedOperation
5356, primaryjoin=cc_concatenatedoperation_table.c.cc_coordinateoperation_concatoperation==cc_coordinateoperation_table.c.id
5357),      'targetCRS': relationship(SC_CRS, uselist=False, backref='cc_coordinateoperation_targetCRS'
5358, primaryjoin=sc_crs_table.c.cc_coordinateoperation_targetcrs_id==cc_coordinateoperation_table.c.id
5359)})
5360
5361
5362class_mapper(CEDA_Instrument).add_properties({  '_mo_instrument': relationship(MO_Instrument, uselist=False, backref='ceda_instrument__mo_instrument'
5363, primaryjoin=mo_instrument_table.c.ceda_instrument__mo_instrument_id==ceda_instrument_table.c.id
5364),      'review': relationship(CEDA_Review
5365, primaryjoin=ceda_review_table.c.ceda_instrument_review==ceda_instrument_table.c.id
5366)})
5367
5368
5369class_mapper(SC_VerticalCRS).add_properties({   'coordinateSystem': relationship(CS_VerticalCS, uselist=False, backref='sc_verticalcrs_coordinateSystem'
5370, primaryjoin=cs_verticalcs_table.c.sc_verticalcrs_coordinatesystem_id==sc_verticalcrs_table.c.id
5371),      'datum': relationship(CD_VerticalDatum, uselist=False, backref='sc_verticalcrs_datum'
5372, primaryjoin=cd_verticaldatum_table.c.sc_verticalcrs_datum_id==sc_verticalcrs_table.c.id
5373),      '_sc_singlecrs': relationship(SC_SingleCRS, uselist=False, backref='sc_verticalcrs__sc_singlecrs'
5374, primaryjoin=sc_singlecrs_table.c.sc_verticalcrs__sc_singlecrs_id==sc_verticalcrs_table.c.id
5375)})
5376
5377
5378class_mapper(UomLength).add_properties({        '_unitofmeasure': relationship(UnitOfMeasure, uselist=False, backref='uomlength__unitofmeasure'
5379, primaryjoin=unitofmeasure_table.c.uomlength__unitofmeasure_id==uomlength_table.c.id
5380)})
5381
5382
5383class_mapper(CEDA_Platform).add_properties({    'review': relationship(CEDA_Review
5384, primaryjoin=ceda_review_table.c.ceda_platform_review==ceda_platform_table.c.id
5385),      '_mo_platform': relationship(MO_Platform, uselist=False, backref='ceda_platform__mo_platform'
5386, primaryjoin=mo_platform_table.c.ceda_platform__mo_platform_id==ceda_platform_table.c.id
5387)})
5388
5389
5390class_mapper(CL_DataSet).add_properties({       'has': relationship(MD_Metadata
5391, primaryjoin=md_metadata_table.c.cl_dataset_has==cl_dataset_table.c.id
5392),      '_ds_dataset': relationship(DS_DataSet, uselist=False, backref='cl_dataset__ds_dataset'
5393, primaryjoin=ds_dataset_table.c.cl_dataset__ds_dataset_id==cl_dataset_table.c.id
5394)})
5395
5396
5397class_mapper(IO_IdentifiedObject).add_properties({      'name': relationship(RS_Identifier, uselist=False, backref='io_identifiedobject_name'
5398, primaryjoin=rs_identifier_table.c.io_identifiedobject_name_id==io_identifiedobject_table.c.id
5399),      '_io_identifiedobjectbase': relationship(IO_IdentifiedObjectBase, uselist=False, backref='io_identifiedobject__io_identifiedobjectbase'
5400, primaryjoin=io_identifiedobjectbase_table.c.io_identifiedobject__io_identifiedobjectbase_id==io_identifiedobject_table.c.id
5401)})
5402
5403
5404class_mapper(SC_DerivedCRS).add_properties({    'baseCRS': relationship(SC_SingleCRS, uselist=False, backref='sc_derivedcrs_baseCRS'
5405, primaryjoin=sc_singlecrs_table.c.sc_derivedcrs_basecrs_id==sc_derivedcrs_table.c.id
5406),      '_sc_generalderivedcrs': relationship(SC_GeneralDerivedCRS, uselist=False, backref='sc_derivedcrs__sc_generalderivedcrs'
5407, primaryjoin=sc_generalderivedcrs_table.c.sc_derivedcrs__sc_generalderivedcrs_id==sc_derivedcrs_table.c.id
5408)})
5409
5410
5411class_mapper(GM_CompositePoint).add_properties({        'generator': relationship(GM_Point, uselist=False, backref='gm_compositepoint_generator'
5412, primaryjoin=gm_point_table.c.gm_compositepoint_generator_id==gm_compositepoint_table.c.id
5413),      '_gm_point': relationship(GM_Point, uselist=False, backref='gm_compositepoint__gm_point'
5414, primaryjoin=gm_point_table.c.gm_compositepoint__gm_point_id==gm_compositepoint_table.c.id
5415),      '_gm_composite': relationship(GM_Composite, uselist=False, backref='gm_compositepoint__gm_composite'
5416, primaryjoin=gm_composite_table.c.gm_compositepoint__gm_composite_id==gm_compositepoint_table.c.id
5417)})
5418
5419
5420class_mapper(CS_CoordinateSystemAxis).add_properties({  'coordinateSystem': relationship(CS_CoordinateSystem
5421, primaryjoin=cs_coordinatesystem_table.c.cs_coordinatesystemaxis_coordinatesystem==cs_coordinatesystemaxis_table.c.id
5422),      '_io_identifiedobject': relationship(IO_IdentifiedObject, uselist=False, backref='cs_coordinatesystemaxis__io_identifiedobject'
5423, primaryjoin=io_identifiedobject_table.c.cs_coordinatesystemaxis__io_identifiedobject_id==cs_coordinatesystemaxis_table.c.id
5424),      'axisUnitID': relationship(UnitOfMeasure, uselist=False, backref='cs_coordinatesystemaxis_axisUnitID'
5425, primaryjoin=unitofmeasure_table.c.cs_coordinatesystemaxis_axisunitid_id==cs_coordinatesystemaxis_table.c.id
5426)})
5427
5428
5429class_mapper(UomScale).add_properties({ '_unitofmeasure': relationship(UnitOfMeasure, uselist=False, backref='uomscale__unitofmeasure'
5430, primaryjoin=unitofmeasure_table.c.uomscale__unitofmeasure_id==uomscale_table.c.id
5431)})
5432
5433
5434class_mapper(SC_SingleCRS).add_properties({     'derivedCRS': relationship(SC_DerivedCRS
5435, primaryjoin=sc_derivedcrs_table.c.sc_singlecrs_derivedcrs==sc_singlecrs_table.c.id
5436),      '_sc_crs': relationship(SC_CRS, uselist=False, backref='sc_singlecrs__sc_crs'
5437, primaryjoin=sc_crs_table.c.sc_singlecrs__sc_crs_id==sc_singlecrs_table.c.id
5438),      'coordinateSystem': relationship(CS_CoordinateSystem, uselist=False, backref='sc_singlecrs_coordinateSystem'
5439, primaryjoin=cs_coordinatesystem_table.c.sc_singlecrs_coordinatesystem_id==sc_singlecrs_table.c.id
5440),      'compoundCRS': relationship(SC_CompoundCRS
5441, primaryjoin=sc_compoundcrs_table.c.sc_singlecrs_compoundcrs==sc_singlecrs_table.c.id
5442),      'datum': relationship(CD_Datum, uselist=False, backref='sc_singlecrs_datum'
5443, primaryjoin=cd_datum_table.c.sc_singlecrs_datum_id==sc_singlecrs_table.c.id
5444)})
5445
5446
5447class_mapper(GM_OrientablePrimitive).add_properties({   '_gm_primitive': relationship(GM_Primitive, uselist=False, backref='gm_orientableprimitive__gm_primitive'
5448, primaryjoin=gm_primitive_table.c.gm_orientableprimitive__gm_primitive_id==gm_orientableprimitive_table.c.id
5449),      'primitive': relationship(GM_Primitive, uselist=False, backref='gm_orientableprimitive_primitive'
5450, primaryjoin=gm_primitive_table.c.gm_orientableprimitive_primitive_id==gm_orientableprimitive_table.c.id
5451)})
5452
5453
5454class_mapper(CD_Datum).add_properties({ 'realizationEpoch': relationship(Date, uselist=False, backref='cd_datum_realizationEpoch'
5455, primaryjoin=date_table.c.cd_datum_realizationepoch_id==cd_datum_table.c.id
5456),      '_io_identifiedobject': relationship(IO_IdentifiedObject, uselist=False, backref='cd_datum__io_identifiedobject'
5457, primaryjoin=io_identifiedobject_table.c.cd_datum__io_identifiedobject_id==cd_datum_table.c.id
5458),      'referenceSystem': relationship(SC_SingleCRS
5459, primaryjoin=sc_singlecrs_table.c.cd_datum_referencesystem==cd_datum_table.c.id
5460),      'domainOfValidity': relationship(EX_Extent, uselist=False, backref='cd_datum_domainOfValidity'
5461, primaryjoin=ex_extent_table.c.cd_datum_domainofvalidity_id==cd_datum_table.c.id
5462)})
5463
5464
5465class_mapper(LocalName).add_properties({        '_genericname': relationship(GenericName, uselist=False, backref='localname__genericname'
5466, primaryjoin=genericname_table.c.localname__genericname_id==localname_table.c.id
5467)})
5468
5469
5470class_mapper(TP_DirectedTopo).add_properties({  '_tp_primitive': relationship(TP_Primitive, uselist=False, backref='tp_directedtopo__tp_primitive'
5471, primaryjoin=tp_primitive_table.c.tp_directedtopo__tp_primitive_id==tp_directedtopo_table.c.id
5472),      'topo': relationship(TP_Primitive, uselist=False, backref='tp_directedtopo_topo'
5473, primaryjoin=tp_primitive_table.c.tp_directedtopo_topo_id==tp_directedtopo_table.c.id
5474),      'term': relationship(TP_ExpressionTerm
5475, primaryjoin=tp_expressionterm_table.c.tp_directedtopo_term==tp_directedtopo_table.c.id
5476)})
5477
5478
5479class_mapper(MO_Processing).add_properties({    'relatedParty': relationship(MO_ResponsiblePartyInfo
5480, primaryjoin=mo_responsiblepartyinfo_table.c.mo_processing_relatedparty==mo_processing_table.c.id
5481),      '_mo_computation': relationship(MO_Computation, uselist=False, backref='mo_processing__mo_computation'
5482, primaryjoin=mo_computation_table.c.mo_processing__mo_computation_id==mo_processing_table.c.id
5483),      'algorithm': relationship(LE_Algorithm
5484, primaryjoin=le_algorithm_table.c.mo_processing_algorithm==mo_processing_table.c.id
5485),      'documentation': relationship(CI_Citation
5486, primaryjoin=ci_citation_table.c.mo_processing_documentation==mo_processing_table.c.id
5487),      'processingInput': relationship(MO_InputOutput
5488, primaryjoin=mo_inputoutput_table.c.mo_processing_processinginput==mo_processing_table.c.id
5489),      'processingOutput': relationship(MO_InputOutput, uselist=False, backref='mo_processing_processingOutput'
5490, primaryjoin=mo_inputoutput_table.c.mo_processing_processingoutput_id==mo_processing_table.c.id
5491),      'softwareReference': relationship(CI_Citation, uselist=False, backref='mo_processing_softwareReference'
5492, primaryjoin=ci_citation_table.c.mo_processing_softwarereference_id==mo_processing_table.c.id
5493),      'identifier': relationship(MD_Identifier
5494, primaryjoin=md_identifier_table.c.mo_processing_identifier==mo_processing_table.c.id
5495)})
5496
5497
5498class_mapper(LE_Source).add_properties({        '_li_source': relationship(LI_Source, uselist=False, backref='le_source__li_source'
5499, primaryjoin=li_source_table.c.le_source__li_source_id==le_source_table.c.id
5500),      'resolution': relationship(LE_NominalResolution, uselist=False, backref='le_source_resolution'
5501, primaryjoin=le_nominalresolution_table.c.le_source_resolution_id==le_source_table.c.id
5502),      'processedLevel': relationship(MD_Identifier, uselist=False, backref='le_source_processedLevel'
5503, primaryjoin=md_identifier_table.c.le_source_processedlevel_id==le_source_table.c.id
5504)})
5505
5506
5507class_mapper(DQ_PositionalAccuracy).add_properties({    '_dq_element': relationship(DQ_Element, uselist=False, backref='dq_positionalaccuracy__dq_element'
5508, primaryjoin=dq_element_table.c.dq_positionalaccuracy__dq_element_id==dq_positionalaccuracy_table.c.id
5509)})
5510
5511
5512class_mapper(CEDA_ObservationCollection).add_properties({       'review': relationship(CEDA_Review
5513, primaryjoin=ceda_review_table.c.ceda_observationcollection_review==ceda_observationcollection_table.c.id
5514),      'CEDAOfficer': relationship(MO_ResponsiblePartyInfo, uselist=False, backref='ceda_observationcollection_CEDAOfficer'
5515, primaryjoin=mo_responsiblepartyinfo_table.c.ceda_observationcollection_cedaofficer_id==ceda_observationcollection_table.c.id
5516),      '_mo_observationcollection': relationship(MO_ObservationCollection, uselist=False, backref='ceda_observationcollection__mo_observationcollection'
5517, primaryjoin=mo_observationcollection_table.c.ceda_observationcollection__mo_observationcollection_id==ceda_observationcollection_table.c.id
5518)})
5519
5520
5521class_mapper(GM_Composite).add_properties({     '_gm_complex': relationship(GM_Complex, uselist=False, backref='gm_composite__gm_complex'
5522, primaryjoin=gm_complex_table.c.gm_composite__gm_complex_id==gm_composite_table.c.id
5523),      'generator': relationship(GM_Primitive
5524, primaryjoin=gm_primitive_table.c.gm_composite_generator==gm_composite_table.c.id
5525)})
5526
5527
5528class_mapper(CEDA_Process).add_properties({     '_mo_process': relationship(MO_Process, uselist=False, backref='ceda_process__mo_process'
5529, primaryjoin=mo_process_table.c.ceda_process__mo_process_id==ceda_process_table.c.id
5530)})
5531
5532
5533class_mapper(TM_TopologicalPrimitive).add_properties({  '_tm_primitive': relationship(TM_Primitive, uselist=False, backref='tm_topologicalprimitive__tm_primitive'
5534, primaryjoin=tm_primitive_table.c.tm_topologicalprimitive__tm_primitive_id==tm_topologicalprimitive_table.c.id
5535),      'complex': relationship(TM_TopologicalComplex, uselist=False, backref='tm_topologicalprimitive_complex'
5536, primaryjoin=tm_topologicalcomplex_table.c.tm_topologicalprimitive_complex_id==tm_topologicalprimitive_table.c.id
5537)})
5538
5539
5540class_mapper(TM_Instant).add_properties({       'position': relationship(TM_Position, uselist=False, backref='tm_instant_position'
5541, primaryjoin=tm_position_table.c.tm_instant_position_id==tm_instant_table.c.id
5542),      'topology': relationship(TM_Node, uselist=False, backref='tm_instant_topology'
5543, primaryjoin=tm_node_table.c.tm_instant_topology_id==tm_instant_table.c.id
5544),      'begunBy': relationship(TM_Period
5545, primaryjoin=tm_period_table.c.tm_instant_begunby==tm_instant_table.c.id
5546),      'endedBy': relationship(TM_Period
5547, primaryjoin=tm_period_table.c.tm_instant_endedby==tm_instant_table.c.id
5548),      '_tm_geometricprimitive': relationship(TM_GeometricPrimitive, uselist=False, backref='tm_instant__tm_geometricprimitive'
5549, primaryjoin=tm_geometricprimitive_table.c.tm_instant__tm_geometricprimitive_id==tm_instant_table.c.id
5550)})
5551
5552
5553class_mapper(SC_CRS).add_properties({   '_rs_referencesystem': relationship(RS_ReferenceSystem, uselist=False, backref='sc_crs__rs_referencesystem'
5554, primaryjoin=rs_referencesystem_table.c.sc_crs__rs_referencesystem_id==sc_crs_table.c.id
5555),      'directPosition': relationship(DirectPosition
5556, primaryjoin=directposition_table.c.sc_crs_directposition==sc_crs_table.c.id
5557),      '_io_identifiedobjectbase': relationship(IO_IdentifiedObjectBase, uselist=False, backref='sc_crs__io_identifiedobjectbase'
5558, primaryjoin=io_identifiedobjectbase_table.c.sc_crs__io_identifiedobjectbase_id==sc_crs_table.c.id
5559),      'coordOperationFrom': relationship(CC_CoordinateOperation
5560, primaryjoin=cc_coordinateoperation_table.c.sc_crs_coordoperationfrom==sc_crs_table.c.id
5561),      'grid': relationship(CV_ReferenceableGrid
5562, primaryjoin=cv_referenceablegrid_table.c.sc_crs_grid==sc_crs_table.c.id
5563),      'object': relationship(GM_Object
5564, primaryjoin=gm_object_table.c.sc_crs_object==sc_crs_table.c.id
5565),      'coordOperationTo': relationship(CC_CoordinateOperation
5566, primaryjoin=cc_coordinateoperation_table.c.sc_crs_coordoperationto==sc_crs_table.c.id
5567)})
5568
5569
5570class_mapper(CV_GridPoint).add_properties({     'cell': relationship(CV_GridCell
5571, primaryjoin=cv_gridcell_table.c.cv_gridpoint_cell==cv_gridpoint_table.c.id
5572),      'groundPoint': relationship(GM_Point
5573, primaryjoin=gm_point_table.c.cv_gridpoint_groundpoint==cv_gridpoint_table.c.id
5574),      'footprint': relationship(CV_FootPrint
5575, primaryjoin=cv_footprint_table.c.cv_gridpoint_footprint==cv_gridpoint_table.c.id
5576),      '_cv_domainobject': relationship(CV_DomainObject, uselist=False, backref='cv_gridpoint__cv_domainobject'
5577, primaryjoin=cv_domainobject_table.c.cv_gridpoint__cv_domainobject_id==cv_gridpoint_table.c.id
5578),      'framework': relationship(CV_Grid, uselist=False, backref='cv_gridpoint_framework'
5579, primaryjoin=cv_grid_table.c.cv_gridpoint_framework_id==cv_gridpoint_table.c.id
5580),      'gridCoord': relationship(CV_GridCoordinate, uselist=False, backref='cv_gridpoint_gridCoord'
5581, primaryjoin=cv_gridcoordinate_table.c.cv_gridpoint_gridcoord_id==cv_gridpoint_table.c.id
5582)})
5583
5584
5585class_mapper(CC_OperationParameterGroup).add_properties({       'value': relationship(CC_ParameterValueGroup
5586, primaryjoin=cc_parametervaluegroup_table.c.cc_operationparametergroup_value==cc_operationparametergroup_table.c.id
5587),      'parameter': relationship(CC_GeneralOperationParameter
5588, primaryjoin=cc_generaloperationparameter_table.c.cc_operationparametergroup_parameter==cc_operationparametergroup_table.c.id
5589),      '_cc_generaloperationparameter': relationship(CC_GeneralOperationParameter, uselist=False, backref='cc_operationparametergroup__cc_generaloperationparameter'
5590, primaryjoin=cc_generaloperationparameter_table.c.cc_operationparametergroup__cc_generaloperationparameter_id==cc_operationparametergroup_table.c.id
5591)})
5592
5593
5594class_mapper(CEDA_Acquisition).add_properties({ '_ceda_process': relationship(CEDA_Process, uselist=False, backref='ceda_acquisition__ceda_process'
5595, primaryjoin=ceda_process_table.c.ceda_acquisition__ceda_process_id==ceda_acquisition_table.c.id
5596),      '_mo_acquisition': relationship(MO_Acquisition, uselist=False, backref='ceda_acquisition__mo_acquisition'
5597, primaryjoin=mo_acquisition_table.c.ceda_acquisition__mo_acquisition_id==ceda_acquisition_table.c.id
5598),      'review': relationship(CEDA_Review
5599, primaryjoin=ceda_review_table.c.ceda_acquisition_review==ceda_acquisition_table.c.id
5600)})
5601
5602
5603class_mapper(Schema).add_properties({   'schemaName': relationship(LocalName, uselist=False, backref='schema_schemaName'
5604, primaryjoin=localname_table.c.schema_schemaname_id==schema_table.c.id
5605),      'description': relationship(Type, uselist=False, backref='schema_description'
5606, primaryjoin=type_table.c.schema_description_id==schema_table.c.id
5607),      '_namespace': relationship(NameSpace, uselist=False, backref='schema__namespace'
5608, primaryjoin=namespace_table.c.schema__namespace_id==schema_table.c.id
5609),      'acceptableClassList': relationship(TypeName
5610, primaryjoin=typename_table.c.schema_acceptableclasslist==schema_table.c.id
5611)})
5612
5613
5614class_mapper(Time).add_properties({     '_measure': relationship(Measure, uselist=False, backref='time__measure'
5615, primaryjoin=measure_table.c.time__measure_id==time_table.c.id
5616)})
5617
5618
5619class_mapper(CV_ReferenceableGrid).add_properties({     'crs': relationship(SC_CRS
5620, primaryjoin=sc_crs_table.c.cv_referenceablegrid_crs==cv_referenceablegrid_table.c.id
5621),      '_cv_grid': relationship(CV_Grid, uselist=False, backref='cv_referenceablegrid__cv_grid'
5622, primaryjoin=cv_grid_table.c.cv_referenceablegrid__cv_grid_id==cv_referenceablegrid_table.c.id
5623)})
5624
5625
5626class_mapper(EX_GeographicDescription).add_properties({ 'geographicIdentifier': relationship(MD_Identifier, uselist=False, backref='ex_geographicdescription_geographicIdentifier'
5627, primaryjoin=md_identifier_table.c.ex_geographicdescription_geographicidentifier_id==ex_geographicdescription_table.c.id
5628),      '_ex_geographicextent': relationship(EX_GeographicExtent, uselist=False, backref='ex_geographicdescription__ex_geographicextent'
5629, primaryjoin=ex_geographicextent_table.c.ex_geographicdescription__ex_geographicextent_id==ex_geographicdescription_table.c.id
5630)})
5631
5632
5633class_mapper(GF_AttributeType).add_properties({ 'featureAttributeMetadata': relationship(MD_Metadata
5634, primaryjoin=md_metadata_table.c.gf_attributetype_featureattributemetadata==gf_attributetype_table.c.id
5635),      'cardinality': relationship(Multiplicity, uselist=False, backref='gf_attributetype_cardinality'
5636, primaryjoin=multiplicity_table.c.gf_attributetype_cardinality_id==gf_attributetype_table.c.id
5637),      'valueType': relationship(TypeName, uselist=False, backref='gf_attributetype_valueType'
5638, primaryjoin=typename_table.c.gf_attributetype_valuetype_id==gf_attributetype_table.c.id
5639),      '_gf_propertytype': relationship(GF_PropertyType, uselist=False, backref='gf_attributetype__gf_propertytype'
5640, primaryjoin=gf_propertytype_table.c.gf_attributetype__gf_propertytype_id==gf_attributetype_table.c.id
5641)})
5642
5643
5644class_mapper(CEDA_Processing).add_properties({  '_mo_processing': relationship(MO_Processing, uselist=False, backref='ceda_processing__mo_processing'
5645, primaryjoin=mo_processing_table.c.ceda_processing__mo_processing_id==ceda_processing_table.c.id
5646),      'review': relationship(CEDA_Review
5647, primaryjoin=ceda_review_table.c.ceda_processing_review==ceda_processing_table.c.id
5648),      '_ceda_process': relationship(CEDA_Process, uselist=False, backref='ceda_processing__ceda_process'
5649, primaryjoin=ceda_process_table.c.ceda_processing__ceda_process_id==ceda_processing_table.c.id
5650)})
5651
5652
5653class_mapper(Distance).add_properties({ '_length': relationship(Length, uselist=False, backref='distance__length'
5654, primaryjoin=length_table.c.distance__length_id==distance_table.c.id
5655)})
5656
5657
5658class_mapper(TM_Node).add_properties({  'previousEdge': relationship(TM_Edge
5659, primaryjoin=tm_edge_table.c.tm_node_previousedge==tm_node_table.c.id
5660),      'geometry': relationship(TM_Instant, uselist=False, backref='tm_node_geometry'
5661, primaryjoin=tm_instant_table.c.tm_node_geometry_id==tm_node_table.c.id
5662),      '_tm_topologicalprimitive': relationship(TM_TopologicalPrimitive, uselist=False, backref='tm_node__tm_topologicalprimitive'
5663, primaryjoin=tm_topologicalprimitive_table.c.tm_node__tm_topologicalprimitive_id==tm_node_table.c.id
5664),      'nextEdge': relationship(TM_Edge
5665, primaryjoin=tm_edge_table.c.tm_node_nextedge==tm_node_table.c.id
5666)})
5667
5668
5669class_mapper(TM_TopologicalComplex).add_properties({    '_tm_complex': relationship(TM_Complex, uselist=False, backref='tm_topologicalcomplex__tm_complex'
5670, primaryjoin=tm_complex_table.c.tm_topologicalcomplex__tm_complex_id==tm_topologicalcomplex_table.c.id
5671),      'primitive': relationship(TM_TopologicalPrimitive
5672, primaryjoin=tm_topologicalprimitive_table.c.tm_topologicalcomplex_primitive==tm_topologicalcomplex_table.c.id
5673)})
5674
5675
5676class_mapper(CC_PassThroughOperation).add_properties({  '_cc_coordinateoperation': relationship(CC_CoordinateOperation, uselist=False, backref='cc_passthroughoperation__cc_coordinateoperation'
5677, primaryjoin=cc_coordinateoperation_table.c.cc_passthroughoperation__cc_coordinateoperation_id==cc_passthroughoperation_table.c.id
5678),      'coordOperation': relationship(CC_CoordinateOperation, uselist=False, backref='cc_passthroughoperation_coordOperation'
5679, primaryjoin=cc_coordinateoperation_table.c.cc_passthroughoperation_coordoperation_id==cc_passthroughoperation_table.c.id
5680)})
5681
5682
5683class_mapper(CC_ParameterValueGroup).add_properties({   '_cc_generalparametervalue': relationship(CC_GeneralParameterValue, uselist=False, backref='cc_parametervaluegroup__cc_generalparametervalue'
5684, primaryjoin=cc_generalparametervalue_table.c.cc_parametervaluegroup__cc_generalparametervalue_id==cc_parametervaluegroup_table.c.id
5685),      'parameterValue': relationship(CC_GeneralParameterValue
5686, primaryjoin=cc_generalparametervalue_table.c.cc_parametervaluegroup_parametervalue==cc_parametervaluegroup_table.c.id
5687),      'group': relationship(CC_OperationParameterGroup, uselist=False, backref='cc_parametervaluegroup_group'
5688, primaryjoin=cc_operationparametergroup_table.c.cc_parametervaluegroup_group_id==cc_parametervaluegroup_table.c.id
5689)})
5690
5691
5692class_mapper(GM_Primitive).add_properties({     'composite': relationship(GM_Composite
5693, primaryjoin=gm_composite_table.c.gm_primitive_composite==gm_primitive_table.c.id
5694),      'complex': relationship(GM_Complex
5695, primaryjoin=gm_complex_table.c.gm_primitive_complex==gm_primitive_table.c.id
5696),      '_gm_object': relationship(GM_Object, uselist=False, backref='gm_primitive__gm_object'
5697, primaryjoin=gm_object_table.c.gm_primitive__gm_object_id==gm_primitive_table.c.id
5698),      'topology': relationship(TP_Primitive
5699, primaryjoin=tp_primitive_table.c.gm_primitive_topology==gm_primitive_table.c.id
5700),      'proxy': relationship(GM_OrientablePrimitive, uselist=False, backref='gm_primitive_proxy'
5701, primaryjoin=gm_orientableprimitive_table.c.gm_primitive_proxy_id==gm_primitive_table.c.id
5702)})
5703
5704
5705class_mapper(TM_Edge).add_properties({  'end': relationship(TM_Node, uselist=False, backref='tm_edge_end'
5706, primaryjoin=tm_node_table.c.tm_edge_end_id==tm_edge_table.c.id
5707),      'start': relationship(TM_Node, uselist=False, backref='tm_edge_start'
5708, primaryjoin=tm_node_table.c.tm_edge_start_id==tm_edge_table.c.id
5709),      'geometry': relationship(TM_Period, uselist=False, backref='tm_edge_geometry'
5710, primaryjoin=tm_period_table.c.tm_edge_geometry_id==tm_edge_table.c.id
5711),      '_tm_topologicalprimitive': relationship(TM_TopologicalPrimitive, uselist=False, backref='tm_edge__tm_topologicalprimitive'
5712, primaryjoin=tm_topologicalprimitive_table.c.tm_edge__tm_topologicalprimitive_id==tm_edge_table.c.id
5713)})
5714
5715
5716class_mapper(MO_Process).add_properties({       '_om_process': relationship(OM_Process, uselist=False, backref='mo_process__om_process'
5717, primaryjoin=om_process_table.c.mo_process__om_process_id==mo_process_table.c.id
5718)})
5719
5720
5721class_mapper(GM_Point).add_properties({ '_gm_primitive': relationship(GM_Primitive, uselist=False, backref='gm_point__gm_primitive'
5722, primaryjoin=gm_primitive_table.c.gm_point__gm_primitive_id==gm_point_table.c.id
5723),      'composite': relationship(GM_CompositePoint
5724, primaryjoin=gm_compositepoint_table.c.gm_point_composite==gm_point_table.c.id
5725),      'position': relationship(DirectPosition, uselist=False, backref='gm_point_position'
5726, primaryjoin=directposition_table.c.gm_point_position_id==gm_point_table.c.id
5727),      'gridPoint': relationship(CV_GridPoint
5728, primaryjoin=cv_gridpoint_table.c.gm_point_gridpoint==gm_point_table.c.id
5729)})
5730
5731
5732class_mapper(CC_SingleOperation).add_properties({       'method': relationship(CC_OperationMethod, uselist=False, backref='cc_singleoperation_method'
5733, primaryjoin=cc_operationmethod_table.c.cc_singleoperation_method_id==cc_singleoperation_table.c.id
5734),      'parameterValue': relationship(CC_GeneralParameterValue
5735, primaryjoin=cc_generalparametervalue_table.c.cc_singleoperation_parametervalue==cc_singleoperation_table.c.id
5736),      '_cc_coordinateoperation': relationship(CC_CoordinateOperation, uselist=False, backref='cc_singleoperation__cc_coordinateoperation'
5737, primaryjoin=cc_coordinateoperation_table.c.cc_singleoperation__cc_coordinateoperation_id==cc_singleoperation_table.c.id
5738)})
5739
5740
5741class_mapper(RS_Identifier).add_properties({    '_md_identifier': relationship(MD_Identifier, uselist=False, backref='rs_identifier__md_identifier'
5742, primaryjoin=md_identifier_table.c.rs_identifier__md_identifier_id==rs_identifier_table.c.id
5743)})
5744
5745
5746class_mapper(GF_AssociationRole).add_properties({       '_gf_propertytype': relationship(GF_PropertyType, uselist=False, backref='gf_associationrole__gf_propertytype'
5747, primaryjoin=gf_propertytype_table.c.gf_associationrole__gf_propertytype_id==gf_associationrole_table.c.id
5748),      'cardinality': relationship(Multiplicity, uselist=False, backref='gf_associationrole_cardinality'
5749, primaryjoin=multiplicity_table.c.gf_associationrole_cardinality_id==gf_associationrole_table.c.id
5750),      'valueType': relationship(TypeName, uselist=False, backref='gf_associationrole_valueType'
5751, primaryjoin=typename_table.c.gf_associationrole_valuetype_id==gf_associationrole_table.c.id
5752)})
5753
5754
5755class_mapper(CEDA_Project).add_properties({     'projectResource': relationship(MO_OnlineResource
5756, primaryjoin=mo_onlineresource_table.c.ceda_project_projectresource==ceda_project_table.c.id
5757),      '_mo_project': relationship(MO_Project, uselist=False, backref='ceda_project__mo_project'
5758, primaryjoin=mo_project_table.c.ceda_project__mo_project_id==ceda_project_table.c.id
5759),      'review': relationship(CEDA_Review
5760, primaryjoin=ceda_review_table.c.ceda_project_review==ceda_project_table.c.id
5761)})
5762
5763
5764class_mapper(CS_VerticalCS).add_properties({    '_cs_coordinatesystem': relationship(CS_CoordinateSystem, uselist=False, backref='cs_verticalcs__cs_coordinatesystem'
5765, primaryjoin=cs_coordinatesystem_table.c.cs_verticalcs__cs_coordinatesystem_id==cs_verticalcs_table.c.id
5766),      'referenceSystem': relationship(SC_VerticalCRS
5767, primaryjoin=sc_verticalcrs_table.c.cs_verticalcs_referencesystem==cs_verticalcs_table.c.id
5768)})
5769
5770
5771class_mapper(CEDA_Observation).add_properties({ 'citation': relationship(CEDA_Citation
5772, primaryjoin=ceda_citation_table.c.ceda_observation_citation==ceda_observation_table.c.id
5773),      '_mo_observation': relationship(MO_Observation, uselist=False, backref='ceda_observation__mo_observation'
5774, primaryjoin=mo_observation_table.c.ceda_observation__mo_observation_id==ceda_observation_table.c.id
5775),      'internalReview': relationship(CEDA_Review
5776, primaryjoin=ceda_review_table.c.ceda_observation_internalreview==ceda_observation_table.c.id
5777),      'keywords': relationship(MD_Keywords
5778, primaryjoin=md_keywords_table.c.ceda_observation_keywords==ceda_observation_table.c.id
5779)})
5780
5781
5782class_mapper(RecordType).add_properties({       'memberType': relationship(Type, uselist=False, backref='recordtype_memberType'
5783, primaryjoin=type_table.c.recordtype_membertype_id==recordtype_table.c.id
5784),      '_type': relationship(Type, uselist=False, backref='recordtype__type'
5785, primaryjoin=type_table.c.recordtype__type_id==recordtype_table.c.id
5786),      'record': relationship(Record
5787, primaryjoin=record_table.c.recordtype_record==recordtype_table.c.id
5788)})
5789
5790metadata.create_all(engine)
5791
5792
Note: See TracBrowser for help on using the repository browser.