gws.base.metadata.inspire

INSPIRE code lists and data themes.

Source code: gws.base.metadata.inspire

Module Contents

class gws.base.metadata.inspire.IM_DegreeOfConformity

Bases: enum.Enum

Degree to which the dataset complies with INSPIRE implementing rules.

conformant = 'conformant'
notConformant = 'notConformant'
notEvaluated = 'notEvaluated'
class gws.base.metadata.inspire.IM_MandatoryKeyword

Bases: enum.Enum

Mandatory keywords for INSPIRE services.

infoCatalogueService = 'infoCatalogueService'
infoCoverageAccessService = 'infoCoverageAccessService'
infoFeatureAccessService = 'infoFeatureAccessService'
infoFeatureTypeService = 'infoFeatureTypeService'
infoGazetteerService = 'infoGazetteerService'
infoMapAccessService = 'infoMapAccessService'
infoOrderHandlingService = 'infoOrderHandlingService'
infoProductAccessService = 'infoProductAccessService'
infoPropertyTypeService = 'infoPropertyTypeService'
infoRegistryService = 'infoRegistryService'
infoSensorAccessService = 'infoSensorAccessService'
infoStandingOrderService = 'infoStandingOrderService'
class gws.base.metadata.inspire.IM_ResourceType

Bases: enum.Enum

Type of resource as defined by INSPIRE.

dataset = 'dataset'
series = 'series'
service = 'service'
class gws.base.metadata.inspire.IM_SpatialDataServiceType

Bases: enum.Enum

Classification of spatial data services according to INSPIRE.

discovery = 'discovery'
download = 'download'
invoke = 'invoke'
other = 'other'
transformation = 'transformation'
view = 'view'
class gws.base.metadata.inspire.IM_SpatialScope

Bases: enum.Enum

Spatial scope of the resource according to INSPIRE.

european = 'european'
global_ = 'global'
local = 'local'
national = 'national'
regional = 'regional'
class gws.base.metadata.inspire.IM_Theme

Bases: enum.Enum

INSPIRE data themes.

ac = 'ac'

Atmospheric conditions.

ac_mf = 'ac_mf'

Atmospheric conditions and meteorological geographical features.

ad = 'ad'

Addresses.

af = 'af'

Agricultural and aquaculture facilities.

am = 'am'

Area management/restriction/regulation zones and reporting units.

au = 'au'

Administrative units.

br = 'br'

Bio-geographical regions.

bu = 'bu'

Buildings.

cp = 'cp'

Cadastral parcels.

ef = 'ef'

Environmental monitoring facilities.

el = 'el'

Elevation.

er = 'er'

Energy resources.

ge = 'ge'

Geology.

gg = 'gg'

Geographical grid systems.

gn = 'gn'

Geographical names.

hb = 'hb'

Habitats and biotopes.

hh = 'hh'

Human health and safety.

hy = 'hy'

Hydrography.

lc = 'lc'

Land cover.

lu = 'lu'

Land use.

mf = 'mf'

Meteorological geographical features.

mr = 'mr'

Mineral resources.

nz = 'nz'

Natural risk zones.

of = 'of'

Oceanographic geographical features.

oi = 'oi'

Orthoimagery.

pd = 'pd'

Population distribution — demography.

pf = 'pf'

Production and industrial facilities.

ps = 'ps'

Protected sites.

rs = 'rs'

Coordinate reference systems.

sd = 'sd'

Species distribution.

so = 'so'

Soil.

sr = 'sr'

Sea regions.

su = 'su'

Statistical units.

tn = 'tn'

Transport networks.

us = 'us'

Utility and governmental services.

gws.base.metadata.inspire.TAGS
gws.base.metadata.inspire.theme_definition(theme: str, lang: str) → str | None

Return the definition of an INSPIRE theme in a language.

Parameters:
  • theme – Theme code, for example tn.

  • lang – Two-letter language code; en and de are available.

Returns:

The theme definition, or None if there is none in this language.

Raises:

ValueError – If the theme is unknown.

gws.base.metadata.inspire.theme_name(theme: str, lang: str) → str | None

Return the name of an INSPIRE theme in a language.

Parameters:
  • theme – Theme code, for example tn.

  • lang – Two-letter language code; en and de are available.

Returns:

The theme name, or None if there is none in this language.

Raises:

ValueError – If the theme is unknown.