[mapserver-users] Layer Metadata Questions

Kralidis, Tom (EC) tom.kralidis at canada.ca
Sun Oct 4 07:03:28 PDT 2020


Hi Seth, comments interleaved:

> -----Original Message-----
> From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> On
> Behalf Of Seth G
> Sent: October 1, 2020 08:47
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] Layer Metadata Questions
> 
> 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?
> 

ISO 19139:2007 is the XML representation of ISO 19115:2003.  I'll update the docs
articulating this relationship.

> 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"?
> 

Good point.  Perhaps if MAP.LAYER.METADATA.wms_attribution_title is available
we can override accordingly?  Feel free to open a ticket and assign to me.

Thanks

..Tom

> Any comments appreciated,
> 
> Seth
> 
> 
> [1]
> https://github.com/MapServer/MapServer/blob/e0f3ae291598abe8196d47a
> 98723f702d9ee025f/mapmetadata.c#L694
> [2]
> https://github.com/MapServer/MapServer/blob/master/msautotest/wxs/o
> ws_metadata.map
> [3]
> https://github.com/MapServer/MapServer/blob/master/msautotest/wxs/e
> xpected/ows_metadata_layer_raster.xml
> 
> 
> 
> --
> web:http://geographika.co.uk
> twitter: @geographika
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list