service
module
This is the service
module.
This module contains geographic metadata structures regarding data services derived from the ISO 19115-1:2014 international standard.
CoupledResource
Bases: ABC
Links a given operationName (mandatory attribute of OperationMetadata
)
with a dataset identified by an 'identifier'.
Source code in opengis/metadata/service.py
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
|
operation: Optional[OperationMetadata]
abstractmethod
property
The service operation.
NOTE: This attribute should be implemented by reference.
resource: Optional[Sequence[DataIdentification]]
abstractmethod
property
The tightly coupled resource.
NOTE 1: This attribute should be implemented by reference.
NOTE 2: For one resource either resource
or resource_reference
should be used but not both for the same resource.
resource_reference: Optional[Sequence[Citation]]
abstractmethod
property
Reference to the dataset on which the service operates.
NOTE: For one resource either resource
or resource_reference
should be used but not both for the same resource.
scoped_name: Optional[ScopedName]
abstractmethod
property
Scoped identifier of the resource in the context of the given service instance.
Links a given operation_name
(mandatory attribute of
OperationMetadata
with a resource identified by an Identifier
.
NOTE: name of the resources (i.e. dataset) as it is used by a service instance
Example: layer name or feature_type_name
.
CouplingType
Bases: Enum
Class of information to which the referencing entity applies.
Source code in opengis/metadata/service.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
|
LOOSE = 'loose'
class-attribute
instance-attribute
Service instance is loosely coupled with a data instance,
i.e. no DataIdentification
class has to be described.
MIXED = 'mixed'
class-attribute
instance-attribute
Service instance is mixed coupled with a data instance,
i.e. DataIdentification
describes the associated data
instance and additionally the service instance might work
with other external data instances.
TIGHT = 'tight'
class-attribute
instance-attribute
Service instance is tightly coupled with a data instance,
i.e. DataIdentification
class MUST be described.
DCPList
Bases: Enum
Class of information to which the referencing entity applies.
Source code in opengis/metadata/service.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
|
COM = 'COM'
class-attribute
instance-attribute
Component Object Model
CORBA = 'CORBA'
class-attribute
instance-attribute
Common Object request Broker Architecture
FTP = 'FTP'
class-attribute
instance-attribute
File Transfer Protocol
HTTP = 'HTTP'
class-attribute
instance-attribute
Hypertext Transfer Protocol
JAVA = 'JAVA'
class-attribute
instance-attribute
Object-oriented programming language
SOAP = 'SOAP'
class-attribute
instance-attribute
Simple Object Access Protocol
SQL = 'SQL'
class-attribute
instance-attribute
Structured Query Language
WEB_SERVICES = 'WebServices'
class-attribute
instance-attribute
Web service
XML = 'XML'
class-attribute
instance-attribute
Extensible Markup Language
Z3950 = 'Z3950'
class-attribute
instance-attribute
ISO 23950
OperationChainMetadata
Bases: ABC
Operation Chain Information.
Source code in opengis/metadata/service.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
|
description: Optional[str]
abstractmethod
property
A narrative explanation of the services in the chain and resulting output.
name: str
abstractmethod
property
The name, as used by the service for this chain.
operation: Sequence[OperationMetadata]
abstractmethod
property
(Ordered) information about the operation applied by the chain.
OperationMetadata
Bases: ABC
Describes the signature of one and only one method provided by the service.
Source code in opengis/metadata/service.py
315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
|
connect_point: Sequence[OnlineResource]
abstractmethod
property
Handle for accessing the service interface.
depends_on: Optional[Sequence[OperationMetadata]]
abstractmethod
property
List of operation that must be completed immediately before current operation is invoked.
distributed_computing_platform: Sequence[DCPList]
abstractmethod
property
Distributed computing platforms on which the operation has been implemented.
invocation_name: Optional[str]
abstractmethod
property
The name used to invoke this interface within the context of the DCP. The name is identical for all DCPs.
operation_description: Optional[str]
abstractmethod
property
Free text description of the intent of the operation and the results of the operation.
operation_name: str
abstractmethod
property
A unique identifier for this interface.
parameters: Optional[Parameter]
abstractmethod
property
The parameters that are required for this interface.
Parameter
Bases: ABC
Parameter information.
Source code in opengis/metadata/service.py
281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 |
|
description: Optional[str]
abstractmethod
property
A narrative explanation of the role of the parameter.
direction: ParameterDirection
abstractmethod
property
Indication if the parameter is an input to the service, an output, or both.
name: MemberName
abstractmethod
property
The name, as used by the service, for this parameter.
optionality: bool
abstractmethod
property
Indication if the parameter is required.
repeatability: bool
abstractmethod
property
Indication if more than one value of the parameter may be provided.
ParameterDirection
Bases: Enum
Identifies the parameter as an input to the process, or an output, or both.
Source code in opengis/metadata/service.py
96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
|
IN = 'in'
class-attribute
instance-attribute
Input to a process.
IN_OUT = 'in/out'
class-attribute
instance-attribute
Both an input and an output.
OUT = 'out'
class-attribute
instance-attribute
Output of a process.
ServiceIdentification
Bases: Identification
Identification of capabilities which a service provider makes available to a service user through a set of interfaces that define a behaviour.
NOTE: See ISO 19119 for further information.
Source code in opengis/metadata/service.py
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 |
|
access_properties: Optional[StandardOrderProcess]
abstractmethod
property
Information about the availability of the service, including 'fees', 'planned', 'available date and time', 'ordering instructions', and 'turnaround'.
contains_chain: Optional[Sequence[OperationChainMetadata]]
abstractmethod
property
Provide infromation about the chain applied by the resource.
contains_operations: Optional[Sequence[OperationMetadata]]
abstractmethod
property
Provides information about the operationsthat comprise the service.
coupled_resource: Optional[Sequence[CoupledResource]]
abstractmethod
property
Further description of the data coupling in the case of tightly coupled services.
coupling_type: Optional[CouplingType]
abstractmethod
property
Type of coupling between service and associated data (if exists).
MANDATORY: if coupled_resource
is not None
.
operated_dataset: Optional[Sequence[Citation]]
abstractmethod
property
Provides a reference to the dataset on which the service operates.
operates_on: Optional[Sequence[DataIdentification]]
abstractmethod
property
Provides information about the resources on which the service operates.
Either operated_dataset
or operates_on
may be used but not
both for the same resource.
profile: Optional[Sequence[Citation]]
abstractmethod
property
Profile to which the service adheres.
service_standard: Optional[Sequence[Citation]]
abstractmethod
property
Standard to which the service adheres.
service_type: GenericName
abstractmethod
property
A service type name, e.g., 'discovery', 'view', 'download', 'transformation', or 'invoke'.
service_type_version: Optional[Sequence[str]]
abstractmethod
property
Provide for searching based on the version of serviceType.
For example, we may only be interested in OGC Catalogue V1.1 services. If version is maintained as a separate attribute, users can easily search for all services of a type regardless of the version.