GeoNetwork cannot harvest 'metadataUrl' from WMS 1.3 GetCapabilities

Geographic Information Systems Asked on September 29, 2020

I am trying to harvest a WMS v1.3 layer from GeoServer v2.17
using GeoNetwork v3.4 & v3.10.

I’d like the GeoNetwork to read the URL from ‘metaDataUrl’ in WMS GetCapabilities response

i.e. I have ticked ‘Import record for each layer using MetadataURL attributes’ in the ‘OGC Web Services’ harvester

The geoserver does output ‘metadataUrl’ in its WMS 1.3 GetCapabilities response,
but the geonetwork does not recognise it:

<Layer queryable="1" opaque="0">
    <MetadataURL type="19139">
        <OnlineResource xlink:type="simple" xlink:href=""/>

The logs say:

No metadataUrl attribute found for layer ‘blah’
Failed to load metadata document for layer ‘blah’. Error is: ‘null’

What kind of ‘metadataurl’ XML does the GeoNetwork expect in GetCapabilities ?
Is there an example I can get hold of?

One Answer

I got it working by setting the 'metadataUrl' type to 'TC211' in geoserver

e.g. GetCapabilities response looks like this:

<Layer queryable="1" opaque="0">
    <MetadataURL type="TC211">
        <OnlineResource xlink:type="simple" xlink:href=""/>

Answered by Vincent on September 29, 2020

Add your own answers!

Related Questions

When adding a new store in store page it is showing an error

0  Asked on October 9, 2020 by mohit-verma


Mosaic images in double precision pixel type

0  Asked on October 9, 2020 by zeniya-talpur


Gdaldem color-relief gives uniform-colored GeoTIFF

0  Asked on October 9, 2020 by interwebjill


Add Point Features not showing on QGIS 3.1

1  Asked on October 8, 2020 by amie-pritchard


Terrain aspect similarity

3  Asked on October 8, 2020


Strahler stream order

1  Asked on October 6, 2020 by craig-westell


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir