1

I'd like to have separate contact details in the GeoServer WMS capabilities for the provider of the service and the provider of the contained data.

When setting up a GeoServer WMS, it adds the general contact details at the beginning of the Capabilities document:

<WMS_Capabilities>
    <Service>
    ...
    <OnlineResource/>
    <ContactInformation>
        <ContactPersonPrimary>
            <ContactPerson/>
            <ContactOrganization/>
        </ContactPersonPrimary>
        <ContactPosition/>
        <ContactAddress>
            <AddressType/>
            <Address/>
            <City/>
            <StateOrProvince/>
            <PostCode/>
            <Country/>
        </ContactAddress>
        <ContactVoiceTelephone/>
        <ContactFacsimileTelephone/>
        <ContactElectronicMailAddress/>
    </ContactInformation>
    ...
    </Service>
    ...
</WMS_Capabilities>

Is it possible to add another contact information to the capabilities document?

When enabling a workspace, the provided details overwrite the general information but do not get added separately.

2

Is it possible to add another contact information to the capabilities document?

No, only one ContactInformation block is allowed according to the WMS capabilities schema, and it is the contact information for the service.

The way to get to contact information for a dataset provided by a service is to link to metadata for the dataset in the layer metadata, using a MetadataURL.

For details on how to link to metadata for a dataset see the GeoServer Data settings > Layers page.

  • Great. Thanks for this hint. Will check, how that works. – ulrich Aug 28 '17 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.