[GeoNetwork-devel] harvesting OGC WxS: hierarchyLevel

Hi list,

For harvesting OGC's WxS services I added the hierarchyLevel to the metadata. This may be useful to make a distinction between metadata for datasets and services.

It's just a small change in 2 XSL's and might be useful to others as well. What is the best way to get this change into the code base of Geonetwork (assuming that GN-community is willing to accept it)? Just emailing the XSLs to someone? Use trac? Or is the description of changes below sufficient already? I hope so :), but of course I am willing to do it the way you developers like best.

Thijs

===================== changes ======================

In web/geonetwork/xsl/conversion/OGCWxSGetCapabilitiesto19119/OGCWxSGetCapabilities-to-19119.xsl

after the characterSet element, add:

            <hierarchyLevel>
                <MD_ScopeCode
                    codeList="./resources/codeList.xml#MD_ScopeCode"
                    codeListValue="service" />
            </hierarchyLevel>

In web/geonetwork/xsl/conversion/OGCWxSGetCapabilitiesto19119/OGCWxSGetCapabilitiesLayer-to-19139.xsl

after the characterSet element add:

            <hierarchyLevel>
                <MD_ScopeCode
                    codeList="./resources/codeList.xml#MD_ScopeCode"
                    codeListValue="dataset" />
            </hierarchyLevel>

Hello Thijs, thanks for the input. It has been committed to trunk
(r1354).

Ciao. Francois

On lun, 2008-06-30 at 14:39 +0200, Thijs Brentjens wrote:

Hi list,

For harvesting OGC's WxS services I added the hierarchyLevel to the
metadata. This may be useful to make a distinction between metadata for
datasets and services.

It's just a small change in 2 XSL's and might be useful to others as
well. What is the best way to get this change into the code base of
Geonetwork (assuming that GN-community is willing to accept it)? Just
emailing the XSLs to someone? Use trac? Or is the description of changes
below sufficient already? I hope so :), but of course I am willing to do
it the way you developers like best.

Thijs

===================== changes ======================

In
web/geonetwork/xsl/conversion/OGCWxSGetCapabilitiesto19119/OGCWxSGetCapabilities-to-19119.xsl

after the characterSet element, add:

            <hierarchyLevel>
                <MD_ScopeCode
                    codeList="./resources/codeList.xml#MD_ScopeCode"
                    codeListValue="service" />
            </hierarchyLevel>

In
web/geonetwork/xsl/conversion/OGCWxSGetCapabilitiesto19119/OGCWxSGetCapabilitiesLayer-to-19139.xsl

after the characterSet element add:

            <hierarchyLevel>
                <MD_ScopeCode
                    codeList="./resources/codeList.xml#MD_ScopeCode"
                    codeListValue="dataset" />
            </hierarchyLevel>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork