I’m using GeoServer 2.3-RC1 on Windows. I have a limited set (about 9 of them) of supported SRS for my WMS service. When I view my GetCap files, they are listed under the Service-level metadata but not under the Layer-level metadata. For Layer-level supported SRS values, GetCap only displays the native SRS (and CRS:84 in WMS 1.3.0)
Is there any way to get the supported SRS to be listed under the service AND layer metadata sections in GetCaps? Thanks.
John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu
john.callahan@anonymised.com
On Mon, Mar 18, 2013 at 2:41 PM, John Callahan <john.callahan@anonymised.com47…> wrote:
I’m using GeoServer 2.3-RC1 on Windows. I have a limited set (about 9 of them) of supported SRS for my WMS service. When I view my GetCap files, they are listed under the Service-level metadata but not under the Layer-level metadata. For Layer-level supported SRS values, GetCap only displays the native SRS (and CRS:84 in WMS 1.3.0)
Is there any way to get the supported SRS to be listed under the service AND layer metadata sections in GetCaps? Thanks.
Nope, as it would not make sense… the tree structure of the WMS capabilities document is setup so that all
attributes of the parent layers are inherited by the children, to avoid duplication (so, it’s not just containment,
it’s really also about attribute inheritance).
While repeating the list of SRS is not formally wrong, it’s just a waste of space (assuming the WMS client
reading the doc is compliant, that is).
I think there is a flag to enable the generation of the BBOX in all supported srs though
Cheers
Andrea
–
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
Thank you for the explanation and clarification using GeoServer. I was trying to match a recommendation on including the supported SRS for each layer. I agree that the supported SRS list at the service level should be sufficient.
John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu
john.callahan@anonymised.com
On Mon, Mar 18, 2013 at 10:16 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:
On Mon, Mar 18, 2013 at 2:41 PM, John Callahan <john.callahan@anonymised.com> wrote:
I’m using GeoServer 2.3-RC1 on Windows. I have a limited set (about 9 of them) of supported SRS for my WMS service. When I view my GetCap files, they are listed under the Service-level metadata but not under the Layer-level metadata. For Layer-level supported SRS values, GetCap only displays the native SRS (and CRS:84 in WMS 1.3.0)
Is there any way to get the supported SRS to be listed under the service AND layer metadata sections in GetCaps? Thanks.
Nope, as it would not make sense… the tree structure of the WMS capabilities document is setup so that all
attributes of the parent layers are inherited by the children, to avoid duplication (so, it’s not just containment,
it’s really also about attribute inheritance).
While repeating the list of SRS is not formally wrong, it’s just a waste of space (assuming the WMS client
reading the doc is compliant, that is).
I think there is a flag to enable the generation of the BBOX in all supported srs though
Cheers
Andrea
–
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