Coverage for gws-app/gws/base/metadata/iso.py: 100%
107 statements
« prev ^ index » next coverage.py v7.11.0, created at 2025-10-16 23:09 +0200
« prev ^ index » next coverage.py v7.11.0, created at 2025-10-16 23:09 +0200
1"""ISO 19115 metadata."""
3import gws
6class MD_MaintenanceFrequencyCode(gws.Enum):
7 """Frequency with which modifications and deletions are made to the data after it is first produced."""
9 continual = 'continual'
10 daily = 'daily'
11 weekly = 'weekly'
12 fortnightly = 'fortnightly'
13 monthly = 'monthly'
14 quarterly = 'quarterly'
15 biannually = 'biannually'
16 annually = 'annually'
17 asNeeded = 'asNeeded'
18 irregular = 'irregular'
19 notPlanned = 'notPlanned'
20 unknown = 'unknown'
23class MD_RestrictionCode(gws.Enum):
24 """Limitations placed upon the access or use of the data."""
26 copyright = 'copyright'
27 patent = 'patent'
28 patentPending = 'patentPending'
29 trademark = 'trademark'
30 license = 'license'
31 intellectualPropertyRights = 'intellectualPropertyRights'
32 restricted = 'restricted'
33 otherRestrictions = 'otherRestrictions'
36class SV_ServiceFunction(gws.Enum):
37 """Function performed by the service."""
39 download = 'download'
40 information = 'information'
41 offlineAccess = 'offlineAccess'
42 order = 'order'
43 search = 'search'
46class MD_ScopeCode(gws.Enum):
47 """Class of information to which the referencing entity applies."""
49 attribute = 'attribute'
50 attributeType = 'attributeType'
51 collectionHardware = 'collectionHardware'
52 collectionSession = 'collectionSession'
53 dataset = 'dataset'
54 series = 'series'
55 nonGeographicDataset = 'nonGeographicDataset'
56 dimensionGroup = 'dimensionGroup'
57 feature = 'feature'
58 featureType = 'featureType'
59 propertyType = 'propertyType'
60 fieldSession = 'fieldSession'
61 software = 'software'
62 service = 'service'
63 model = 'model'
64 tile = 'tile'
67class MD_SpatialRepresentationTypeCode(gws.Enum):
68 """Method used to represent geographic information in the dataset."""
70 vector = 'vector'
71 grid = 'grid'
72 textTable = 'textTable'
73 tin = 'tin'
74 stereoModel = 'stereoModel'
75 video = 'video'
78class MD_TopicCategoryCode(gws.Enum):
79 """High-level geographic data thematic classification."""
81 farming = 'farming'
82 biota = 'biota'
83 boundaries = 'boundaries'
84 climatologyMeteorologyAtmosphere = 'climatologyMeteorologyAtmosphere'
85 economy = 'economy'
86 elevation = 'elevation'
87 environment = 'environment'
88 geoscientificInformation = 'geoscientificInformation'
89 health = 'health'
90 imageryBaseMapsEarthCover = 'imageryBaseMapsEarthCover'
91 intelligenceMilitary = 'intelligenceMilitary'
92 inlandWaters = 'inlandWaters'
93 location = 'location'
94 oceans = 'oceans'
95 planningCadastre = 'planningCadastre'
96 society = 'society'
97 structure = 'structure'
98 transportation = 'transportation'
99 utilitiesCommunication = 'utilitiesCommunication'
102class CI_RoleCode(gws.Enum):
103 """Role of the responsible party."""
105 resourceProvider = 'resourceProvider'
106 custodian = 'custodian'
107 owner = 'owner'
108 user = 'user'
109 distributor = 'distributor'
110 originator = 'originator'
111 pointOfContact = 'pointOfContact'
112 principalInvestigator = 'principalInvestigator'
113 processor = 'processor'
114 publisher = 'publisher'
115 author = 'author'
116 sponsor = 'sponsor'
117 contributor = 'contributor'
118 rightsHolder = 'rightsHolder'
119 editor = 'editor'
122class CI_OnLineFunctionCode(gws.Enum):
123 """Function performed by the online resource."""
125 download = 'download'
126 information = 'information'
127 offlineAccess = 'offlineAccess'
128 order = 'order'
129 search = 'search'
132class CI_PresentationFormCode(gws.Enum):
133 """Format in which the resource is presented."""
135 documentDigital = 'documentDigital'
136 mapDigital = 'mapDigital'
137 chartDigital = 'chartDigital'
138 atlasDigital = 'atlasDigital'
139 tableDigital = 'tableDigital'
140 datasetDigital = 'datasetDigital'
141 serviceDigital = 'serviceDigital'
142 modelDigital = 'modelDigital'
143 videoDigital = 'videoDigital'
144 soundRecordingDigital = 'soundRecordingDigital'
145 textTableDigital = 'textTableDigital'