[Mapserver-inspire] Advertizing the INSPIRE default style (Implementation Requirement 42)

Passmore, James H. jpass at bgs.ac.uk
Thu Apr 14 11:16:46 EDT 2011

Hi Bart,

I may have misread this, but as far as I can work out the requirement is that the default style should be called "inspire_common:DEFAULT".  As I am only providing one style for each layer I just have to rename it.

Therefore I just need to set:  CLASSGROUP "inspire_common:DEFAULT" in each layer of the map file, and then in each LAYER CLASS add a GROUP "inspire_common:DEFAULT" value

    CLASSGROUP "inspire_common:DEFAULT"
    CLASSITEM "Lith_1"

    NAME "Mudstone"
    GROUP "inspire_common:DEFAULT"
    EXPRESSION "urn:cgi:classifier:CGI:SimpleLithology:201001:clastic_mudstone"
    COLOR 178 140 89
    NAME "Sandstone"
    GROUP "inspire_common:DEFAULT"
    EXPRESSION "urn:cgi:classifier:CGI:SimpleLithology:201001:clastic_sandstone"
    COLOR 242 218 121
    NAME "Clay"
    GROUP "inspire_common:DEFAULT"
    EXPRESSION "urn:cgi:classifier:CGI:SimpleLithology:201001:clay"
    COLOR 250 242 191

In my newly updated service this gives me:

                    <LegendURL width="280" height="828">
                        <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"

Is this your understanding of the requirement?


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.

More information about the Mapserver-inspire mailing list