[mapserver-users] Layer Metadata Questions
Seth G
sethg at geographika.co.uk
Thu Oct 1 05:46:38 PDT 2020
Hi all,
I've been looking at using the Layer Metadata as described at https://mapserver.org/ogc/layer_metadata.html
"MapServer’s layer API supports the ISO 19115:2003 geospatial standard" - although looking at https://www.iso.org/standard/26020.html this has now been withdrawn and replaced with ISO 19115-1:2014 - https://www.iso.org/standard/53798.html
I presume there is not much difference between these 2 schemas? There is a ~180 EUR charge to get a copy of the PDF.
The source code has a comment "Generate an ISO 19139:2007 representation of layer metadata " [1] - so maybe the docs need an update?
The second question regards the mapping of the LAYER METADATA block to the ISO output. There is a good test and expected output at [2] and [3].
Looking at the code it appears the "contact" metadata can only be retrieved at the MAP rather than LAYER level [2].
Is this something that should be available at LAYER level also, perhaps using "wms_attribution_title"?
Any comments appreciated,
Seth
[1] https://github.com/MapServer/MapServer/blob/e0f3ae291598abe8196d47a98723f702d9ee025f/mapmetadata.c#L694
[2] https://github.com/MapServer/MapServer/blob/master/msautotest/wxs/ows_metadata.map
[3] https://github.com/MapServer/MapServer/blob/master/msautotest/wxs/expected/ows_metadata_layer_raster.xml
--
web:http://geographika.co.uk
twitter: @geographika
More information about the MapServer-users
mailing list