View on GitHub

validator

Validateur de données initialement développé pour le géoportail de l'urbanisme

Metadata

The following Metadata model is dedicated to validation according to INSPIRE and CNIG profiles. XML parsing is partial and based on XPath.

Class diagram

The following profile is used to store metadata parsed from ISO 19915. Metadata attributes are based on INSPIRE requirements.

Class diagram

Metadata properties

Metadata “attributes” with INSPIRE multiplicity for datasets according to INSPIRE_GUIDELINE_2017.

name type title multiplicity
fileidentifier String File identifier [0..1]
title String Resource title [1]
abstract String Resource abstract [1]
type ScopeCode Resource type [1]
locators OnlineResource[] Resource locator [1..*]
identifiers String[] Unique resource identifier [1..*]
language LanguageCode Resource langage [0..*] (1)
topicCategory TopicCategoryCode Topic category [1..*] (1)
keywords Keywords Keyword [1..*]
referenceSystemIdentifier ReferenceSystemIdentifier Coordinate Reference System [0..*] (1)
dateOfPublication Date Date of publication [0..*] (1)
dateOfLastRevision Date Date of last revision [0..1]
dateOfCreation Date Date of creation [0..1]
characterSet CharacterSetCode Character Encoding [1..*] (1)
spatialRepresentationType SpatialRepresentationTypeCode Spatial representation type [1..*] (1)
lineage String Lineage [1]
spatialResolutions Resolution Spatial resolution [0..*]
specifications Specification Specification title and degree [1..*]
contact ResponsibleParty Responsible party [0..*] (1)
metadataContact ResponsibleParty Metadata point of contact [1..*] (1)
metadataDate Date Metadata date [1]
metadataLanguage LanguageCode Metadata langage [1]
extents Extent[] Extents with geographic bounding box [1..*]
contraints Contraint[] Resource constraints [0..*]
distributionFormats Format Encoding [0..*]

(1) multiplicity is adapted, only the first element is parsed

fileIdentifier

Description

When regularly harvesting metadata from discovery services of several Member States (as done by the EU INSPIRE geoportal), it is helpful to be able to identify duplicate metadata elements and updates of metadata records. This can be ensured by providing a globally unique and persistent identifier of the metadata record through the fileIdentifier element.

Source : INSPIRE_GUIDELINE_2017

XPath

fileIdentifier

References

title

Description

Name by which the cited resource is known

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/citation/*/title

References

abstract

Description

Brief narrative summary of the content of the resource(s)

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/abstract

References

type

Description

Scope to which metadata applies

Source : INSPIRE_GUIDELINE_2017

Example : dataset

XPath

hierarchyLevel

References

locators

Description

Location (address) for on-line access using a Uniform Resource Locator address or similar addressing scheme

Source : INSPIRE_GUIDELINE_2017

XPath

distributionInfo/*/transferOptions/*/onLine/*/linkage

References

identifiers

Description

Value uniquely identifying an object within a namespace

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/citation/*/identifier/*/code

References

language

Description

Language(s) used within the datasets

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/language

References

topicCategory

Description

Main theme(s) of the dataset

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/topicCategory

References

keywords

Description

Keyword values

Commonly used word(s) or formalised word(s) or phrase(s) used to describe the subject

Source : INSPIRE_GUIDELINE_2017

Thesaurus

Name of the formally registered thesaurus or a similar authoritative source of keywords

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/descriptiveKeywords/*/keyword
identificationInfo[1]/*/descriptiveKeywords/*/thesaurusName

References

extents

Description

Defining the geographic containing boundary of the described resource enables searches for resources using their area or location of interest.

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/extent/*/geographicElement/*/westBoundLongitude
identificationInfo[1]/*/extent/*/geographicElement/*/eastBoundLongitude
identificationInfo[1]/*/extent/*/geographicElement/*/southBoundLatitude
identificationInfo[1]/*/extent/*/geographicElement/*/northBoundLatiTude

References

referenceSystemIdentifier

Description

Describing the coordinate reference system(s) used in the data set makes discovering data sets with spatial coordinates provided in desired reference systems possible.

Source : INSPIRE_GUIDELINE_2017

XPath

referenceSystemInfo/*/referenceSystemIdentifier/*/code

References

dateOfPublication

Description

Reference date for the cited resource - publication

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/citation/*/date[./*/dateType/*/text()='publication’/*/date

References

dateOfLastRevision

Description

Reference date for the cited resource - revision

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/citation/*/date[./*/dateType/*/text()='revision']/*/date

References

dateOfCreation

Description

Reference date for the cited resource - creation

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/citation/*/date[./*/dateType/*/text()='creation']/*/date

References

characterSet

Description

The character encoding describes the way the characters of the textual information are encoded in the described data set. […] The multiplicity of this element is zero or more: this element is only required if there are non UTF-8 based character encodings used in the data set.

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/characterSet

References

contraints

Description

Conditions applying to access and use

Conditions applying to use

Limitations on public access

Source : INSPIRE_GUIDELINE_2017

details about constraints

XPath

identificationInfo[1]/*/resourceConstraints/*

References

distributionFormats

Description

Description of the computer language construct(s) specifying the representation of data objects in a record, file, message, storage device or transmission channel.

Source : INSPIRE_GUIDELINE_2017

XPath

distributionInfo/*/distributionFormat/*/name
distributionInfo/*/distributionFormat/*/version

References

spatialRepresentationType

Description

The method used to spatially represent geographic information

XPath

identificationInfo[1]/*/spatialRepresentationType

References

lineage

Description

General explanation of the data producer’s knowledge about the lineage of a dataset

Source : INSPIRE_GUIDELINE_2017

XPath

dataQualityInfo/*/lineage/*/statement

References

spatialResolutions

Description

Equivalent scale: level of detail expressed as the scale denominator of a comparable hardcopy map or chart

Distance: ground sample distance

Source : INSPIRE_GUIDELINE_2017

XPath

identificationInfo[1]/*/spatialResolution/*/equivalentScale/*/denominator (equivalent scale)
identificationInfo[1]/*/spatialResolution/*/distance (distance)

References

specifications

Description

title

Citation of the product specification or user requirement against which data is being evaluated

Source : INSPIRE_GUIDELINE_2017

degree

Indication of the conformance result

Source : INSPIRE_GUIDELINE_2017

XPath

dataQualityInfo/*/report/*/result/*/specification 
dataQualityInfo/*/report/*/result/*/pass

References

contact

Description

Identification of, and means of communication with, person(s) and organization(s) associated with the resource(s)

XPath

identificationInfo[1]/*/pointOfContact/*/organisationName
identificationInfo[1]/*/pointOfContact/*/address/*/electronicMailAddress
identificationInfo[1]/*/pointOfContact/*/role

References

metadataContact

Description

Party responsible for the metadata information

Source : INSPIRE_GUIDELINE_2017

XPath

contact*/organisationName
contact/*/address/*/electronicMailAddress
contact/*/role

References

metadataDate

Description

Date that the metadata was created

Source : INSPIRE_GUIDELINE_2017

XPath

dateStamp

References

metadataLanguage

Description

Language used for documenting metadata

Source : INSPIRE_GUIDELINE_2017

XPath

language

References

Resources

Documents (english)

https://inspire.ec.europa.eu/id/document/tg/metadata-iso19139

Documents (french)

Normative references

XSD schemas and resources

Third part tools