Learn R Programming

sos4R (version 0.4.2)

Constants: Constants in sos4R

Description

The package sos4R comes with a set of constant character strings and fixed supported features, for example for names of XML elements, XML Namespace prefixes, or supported formats and models.

Arguments

Details

Most of these variables should be pretty self-explanatory.

Constants for names of XML elements start with a lowercase character string of the namespace prefix (e.g. "gml"), a unique name of the element (where parts like "type" and special characters may be left out, and other descriptive elements may be added for clarity), and end with "Name".

Examples: codegmlEnvelopeName, ogcGeometryOperandLineStringName, ogcTempOpTMEqualsName.

The OwsExceptionsData() function provides access to the fixed exception codes, meanings and respective HTTP codes and messages.

The mime types are used for automatic detection of the best fitting parser.

References

See also Defaults for default parameter settings.

Whiteside A. (Ed.), OGC Web Services Common Specification, Open Geospatial Consortium Inc., OGC 06-121r3, Version: 1.1.0 with Corrigendum 1

Examples

Run this code
# NOT RUN {
# example constants
sos100NamespacePrefix
gmlNameName
sweUomName

# Data frame holding OWS exception code information
OwsExceptionsData()

# Get all namespaces
SosAllNamespaces("1.0.0")
# }

Run the code above in your browser using DataLab