[Geoserver-users] metadataURL in WFS GetCapabilities

I have a MetadataURL set for a few layers in GeoServer. (I’m using GeoServer 2.3-RC1 on Windows.) The metadataURL shows up fine for each layer in the WMS GetCap request. However, it does not appear for the WFS GetCap request. I believe it should be listed under FeatureType for each layer.

Examples below include 2 layers in the workspace:

http://maps.dgs.udel.edu/geoserver/DGS_Surficial_and_Contact_Geology/ows?request=GetCapabilities&service=WMS (MetadataURL is displayed)

http://maps.dgs.udel.edu/geoserver/DGS_Surficial_and_Contact_Geology/ows?request=GetCapabilities&service=WFS (MetadataURL is not displayed)

Should MetadataURL be displayed by default for each WFS layer? or is there a setting to disable/enable this feature that I missed? Thanks.

  • John

John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu

john.callahan@anonymised.com

On Tue, Mar 19, 2013 at 4:50 PM, John Callahan <john.callahan@anonymised.com> wrote:

Should MetadataURL be displayed by default for each WFS layer? or is there
a setting to disable/enable this feature that I missed? Thanks.

Metadata urls are optional in the WFS capabilities document, and there
is no OGC test
checking for their presence, so they have just never been added.
There is no flag to tweak, it's just that the code to emit them is missing

There is an old ticket to track this improvement here:
http://jira.codehaus.org/browse/GEOS-3387

If you want it soon, you can try to code it youself, it should not be
hard mimicking
what WMS caps does. Or if you prefer, you can also look in GeoServer commercial
support, there is a link at geoserver.org with companies that provide support
services.

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Thanks Andrea. I’m adding our WMS and WFS services to the OneGeology initiative. To achieve their 4-star accreditation for our services, they state:

“ALL OneGeology layers and feature types (WMS and WFS) must supply a MetadataURL to a valid metadata resource for that layer (and feature type)” - http://onegeology.org/wmsCookbook/2_6.html

I’m not a java programmer and haven’t used Maven before, and probably shouldn’t mess with the code. If I get the time though, I’ll try to find where to make the changes.

  • John

John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu

john.callahan@anonymised.com

On Tue, Mar 19, 2013 at 12:32 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Tue, Mar 19, 2013 at 4:50 PM, John Callahan <john.callahan@anonymised.com> wrote:

Should MetadataURL be displayed by default for each WFS layer? or is there
a setting to disable/enable this feature that I missed? Thanks.

Metadata urls are optional in the WFS capabilities document, and there
is no OGC test
checking for their presence, so they have just never been added.
There is no flag to tweak, it’s just that the code to emit them is missing

There is an old ticket to track this improvement here:
http://jira.codehaus.org/browse/GEOS-3387

If you want it soon, you can try to code it youself, it should not be
hard mimicking
what WMS caps does. Or if you prefer, you can also look in GeoServer commercial
support, there is a link at geoserver.org with companies that provide support
services.

Cheers
Andrea

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Tue, Mar 19, 2013 at 6:00 PM, John Callahan <john.callahan@anonymised.com> wrote:

Thanks Andrea. I'm adding our WMS and WFS services to the OneGeology
initiative. To achieve their 4-star accreditation for our services, they
state:

"ALL OneGeology layers and feature types (WMS and WFS) must supply a
MetadataURL to a valid metadata resource for that layer (and feature type)"
- http://onegeology.org/wmsCookbook/2_6.html

I had a look and making the changes to support WFS metadata links were not
hard to add, so I just went ahead.
For the moment I've committed the changes to the "trunk" series, that is,
the development one.
Can you give a nightly build a try and see if the output works as
expected for you?
Any build starting from March 25th one will have the change:
http://gridlock.opengeo.org/geoserver/trunk/

If I get confirmation it's all right I'll be able to port the change
back to the stable
series (2.3.x nowadays)

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------