[mapserver-users] Keywords from multiple vocabularies
Wright, Simon M.
smw at ceh.ac.uk
Tue Jun 14 04:44:14 PDT 2016
Dear All
I'm trying to create an INSPIRE WMS service using MapServer 7.0.1.
In my MAP | WEB | METADATA section of my map file I define the following keyword lists:
"wms_keywordlist_ISO_items" "infoMapAccessService"
"wms_keywordlist_vocabulary" "ISO"
"wms_keywordlist" "Land use,Land Cover Map 2007,Habitat,Great Britain,England,Scotland,Wales"
"wms_keywordlist_GEMET_items" "Land cover"
"wms_keywordlist_vocabulary" "GEMET"
However, in the resultant WMS GetCapabilities document I get the following:
<KeywordList>
<Keyword>Land use</Keyword>
<Keyword>Land Cover Map 2007</Keyword>
<Keyword>Habitat</Keyword>
<Keyword>Great Britain</Keyword>
<Keyword>England</Keyword>
<Keyword>Scotland</Keyword>
<Keyword>Wales</Keyword>
<Keyword vocabulary="GEMET">Land cover</Keyword>
</KeywordList>
i.e. the infoMapAccessService keyword from the ISO vocabulary isn't output in the GetCapabilities document.
If I switch the order of the keyword list items in my map file to:
"wms_keywordlist" "Land use,Land Cover Map 2007,Habitat,Great Britain,England,Scotland,Wales"
"wms_keywordlist_GEMET_items" "Land cover"
"wms_keywordlist_vocabulary" "GEMET"
"wms_keywordlist_ISO_items" "infoMapAccessService"
"wms_keywordlist_vocabulary" "ISO"
The resultant WMS GetCapabiliites list the following keywords:
<KeywordList>
<Keyword>Land use</Keyword>
<Keyword>Land Cover Map 2007</Keyword>
<Keyword>Habitat</Keyword>
<Keyword>Great Britain</Keyword>
<Keyword>England</Keyword>
<Keyword>Scotland</Keyword>
<Keyword>Wales</Keyword>
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
</KeywordList>
i.e. the Land cover keyword from the GEMET vocabulary isn't listed.
So, am I not correctly specifying my keywords correctly in my map file or is there a bug in MapServer that prevents keywords from different/multiple vocabularies to be specified in the map file that isn't honoured in the WMS GetCapabilities document?
Many thanks in advance of any help that people can provide.
Best wishes, Simon.
________________________________
This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160614/b38dfdee/attachment.htm>
More information about the MapServer-users
mailing list