Code Monkey home page Code Monkey logo

Comments (3)

trodin avatar trodin commented on July 16, 2024

I mean this for child layer. One child layer element- one metadataURL?

from helpdesk.

heidivanparys avatar heidivanparys commented on July 16, 2024

Short answer: yes, it is possible to have more than one MetadataURL inside one Layer element.

Long answer:

From the WMS specification:

<element name="Layer">
<annotation>
<documentation>
Nested list of zero or more map Layers offered by this server.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="wms:Name" minOccurs="0"/>
<element ref="wms:Title"/>
<element ref="wms:Abstract" minOccurs="0"/>
<element ref="wms:KeywordList" minOccurs="0"/>
<element ref="wms:CRS" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:EX_GeographicBoundingBox" minOccurs="0"/>
<element ref="wms:BoundingBox" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:Dimension" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:Attribution" minOccurs="0"/>
<element ref="wms:AuthorityURL" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:Identifier" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:MetadataURL" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:DataURL" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:FeatureListURL" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:Style" minOccurs="0" maxOccurs="unbounded"/>
<element ref="wms:MinScaleDenominator" minOccurs="0"/>
<element ref="wms:MaxScaleDenominator" minOccurs="0"/>
<element ref="wms:Layer" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="queryable" type="boolean" default="0"/>
<attribute name="cascaded" type="nonNegativeInteger"/>
<attribute name="opaque" type="boolean" default="0"/>
<attribute name="noSubsets" type="boolean" default="0"/>
<attribute name="fixedWidth" type="nonNegativeInteger"/>
<attribute name="fixedHeight" type="nonNegativeInteger"/>
</complexType>
</element>

(note the maxOccurs="unbounded" for wms:MetadataURL)

and

<element name="MetadataURL">
<annotation>
<documentation>
A Map Server may use zero or more MetadataURL elements to offer
detailed, standardized metadata about the data underneath a
particular layer. The type attribute indicates the standard to which
the metadata complies. The format element indicates how the metadata is structured.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="wms:Format"/>
<element ref="wms:OnlineResource"/>
</sequence>
<attribute name="type" type="NMTOKEN" use="required" />
</complexType>
</element>

From https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:02008R1205-20081224#tocId18:

If the resource is a spatial data service, this metadata element identifies, where relevant, the target spatial data set(s) of the service through their unique resource identifiers (URI).

Note the plural: spatial data set(s).

From https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:02008R1205-20081224#tocId50:

| 1.6 | Coupled resource | 0..* | Mandatory if linkage to data sets on which the service operates are available. |

Again, plural: 0..*

(the "Coupled resource" is expressed in the MetadataURL: see the TG on view services:

image
)

from helpdesk.

heidivanparys avatar heidivanparys commented on July 16, 2024

@trodin I hope that the answer provided has helped you. I'll close the issue, but feel free to re-open it in case you have additional questions.

from helpdesk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.