Description Usage Arguments Value Remarks Examples
This function gives a description of the catalog records in the form of an xml
document. With typeName csw:Record
the description follows a table format and that is why I like this format more than the one you get with typeName gmd:MD_Metadata
. It is possible to get both formats in one xml
document as shown in example exp12.
1 2 3 4 5 6 7 8 | CSW_DescribeRecord(typeName = c("csw:Record", "gmd:MD_Metadata",
"gmi:MI_Metadata"), typeNames = c("csw:Record", "gmd:MD_Metadata",
"gmi:MI_Metadata"),
namespace = c("csw:http://www.opengis.net/cat/csw/2.0.2",
"gmd:http://www.isotc211.org/2005/gmd",
"gmi:http://www.isotc211.org/2005/gmi"),
outputFormat = "application/xml", version = CSW_get_version(),
baseurl = CSW_get_url(), verbose = c("N", "F", "Y"))
|
typeName |
Character vector with one or both of |
typeNames |
alternative for |
namespace |
Character vector with one or both of |
outputFormat |
Character vector. Only |
version |
Character vector with CSW version. Default is |
baseurl |
Character vector with base url of the CSW server. Default is http://nationaalgeoregister.nl/geonetwork/srv/dut/csw? but this can be changed for the remainder of the session with |
verbose |
Character |
An xml
document with the record description in the indicated layout.
typeName gfc:FC_FeatureCatalogue
and dcat
were also mentioned as possible values but can not be combined with the two namespace options that are given here. Also found was the gmi analog for gmd but for the default catalog no results were delivered. Moreover the typeName and namespace must match: the first typeName with the first namespace and the same for the second one.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
exp1 = CSW_DescribeRecord()
exp2 = CSW_DescribeRecord(typeName = 'gmd:MD_Metadata',
namespace = 'gmd:http://www.isotc211.org/2005/gmd')
exp12 = CSW_DescribeRecord(
typeName =
c('csw:Record', 'gmd:MD_Metadata') ,
namespace = c(
'csw:http://www.opengis.net/cat/csw/2.0.2',
'gmd:http://www.isotc211.org/2005/gmd') )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.