IDL Reference Guide: Network Objects |
The IDLnetOGCWCS::GetCoverageOffering function method returns a complex structure that contains the details of a single coverage offering, one that was returned by the IDLnetOGCWCS::DescribeCoverage method request. You can return either the first coverage offering described in the XML file or a coverage identified by the INDEX keyword value.
This method will throw an error if the GetCoverageOffering call fails.
Result = Obj->[IDLnetOGCWCS::]GetCoverageOffering([ INDEX=value])
Returns a structure containing the coverage offering details. The coverage offering structure contains strings, arrays of strings, structures, and arrays of structures.
Note To return only the names of the coverage offerings that exist in the XML file see the DescribeCoverage method return value. |
The coverage offering structure is complex. Some elements in the main structure return other structures as shown in the following figure. Click on the names of any of the structures in the boxes to go to the associated reference section.
|
The following table contains a list of tags found in the main level structure. All items return string values unless otherwise noted.
Field Name
|
Description
|
---|---|
INDEX
|
A zero-based string index value provided as a convenience. This does not come from the XML file.
|
VERSION
|
XML source: <CoverageDescription><version> |
UPDATE_SEQ
|
XML source: <CoverageDescription><updateSequence> |
CO_NAME
|
XML source: <CoverageOffering><name> |
CO_LABEL
|
XML source: <CoverageOffering><label> |
CO_DESC
|
XML source: <CoverageOffering><description> |
LONLATENV
|
XML source: <CoverageOffering><lonLatEnvelope>
Returns a structure. See LonLatEnv Structure for details.
|
NUM_SPAT_DOM_LLES
|
Provides the number of
gml:Envelop e and gml:EnvelopeWithTimePeriod spatial domain elements as a convenience. This value is generated by IDL.
|
SPAT_DOM_LONLATENV
|
XML source: <CoverageOffering><domainSet><spatial Domain><gml:Envelope>
and
<CoverageOffering><domainSet><spatial Domain><gml:EnvelopeWithTimePeriod>
Returns a structure. See Spat_Dom_LonLatEnv Structure for details.
|
NUM_SPAT_DOM_GRIDS
|
Provides the number of
gml:Grid and gml:RectifiedGrid spatial domain elements as a convenience. This value is generated by IDL.
|
SPAT_DOM_GRID
|
XML source: <CoverageOffering><domainSet><spatial Domain><gml:Grid>
and
<CoverageOffering><domainSet><spatial Domain><gml:RectifiedGrid>
Returns an array of structures. See Spat_Dom_Grid Structure for details.
|
NUM_TEMP_TM_POSITIONS
|
Provides the number of temporal domain elements as a convenience. This value is generated by IDL.
|
TEMP_TM_POSITIONS
|
XML source: <CoverageOffering><domainSet><spatial Domain><temporalDomain> <gml:timePosition>
or
<CoverageOffering><temporalDomain> <gml:timePosition>
Returns an array of structures. See Temp_Tm_Position Structure for details.
|
NUM_TEMP_TM_PERIODS
|
Provides the number of time period elements as a convenience. This value is generated by IDL.
|
TEMP_TM_PERIOD
|
XML source: <CoverageOffering><domainSet><spatial Domain><temporalDomain><timePeriod>
or
<CoverageOffering><temporalDomain> <timePeriod>
Returns an array of structures. See Temp_Tm_Period Structure for details.
|
RANGE
|
XML source: <CoverageOffering><rangeSet> <RangeSet>
Returns a structure. See Range Structure for details.
|
NUM_RANGE_AXES
|
Provides the number of range set axis description elements as a convenience. This value is generated by IDL.
|
RANGE_AXIS
|
XML source: <CoverageOffering><rangeSet> <RangeSet><axisDescription> <AxisDescription>
Returns an array of structures. See Axis_Description Structure for details.
|
CRS
|
|
FORMATS
|
|
NATIVE_FORMAT
|
XML source: <CoverageOffering><supportedFormats> <nativeFormat> |
INTERPOLATION_METHOD
|
|
NATIVE_INTERPOLATION
|
XML source: <CoverageOffering> <supportedInterpolations><default> |
This structure is accessed through the LONLATENV field of the main coverage offering structure and contains the fields defined in the following table. All elements are strings unless otherwise noted.
This structure is accessed through the SPAT_DOM_LONLATENV field of the main coverage offering structure and can contain gml:Envelope
or gml:EnvelopeWithTimePeriod
information. Both of these are children of the spatialDomain
node. To determine the number of structures returned, use the main structure field, NUM_SPAT_DOM_LLES. The number of structures can be 0 to many. All elements are strings unless otherwise noted.
This structure is accessed through the SPAT_DOM_GRID field of the main coverage offering structure and can contain gml:Grid
or gml:GridRectified
elements. Both of these are children of the spatialDomain
node. To determine the number of Spat_Dom_Grid structures, access the NUM_SPAT_DOM_GRIDS field value. The number of structures can be 0 to many. All elements are strings unless otherwise noted.
This structure is accessed through the TEMP_TM_POSITIONS field of the main coverage offering structure and contains gml:timePosition
elements, which are children of the temporalDomain
node. To determine the number of Temp_Tm_Position structures, access the NUM_TEMP_TM_POSITIONS field value. The number of structures can be 0 to many. All elements are strings unless otherwise noted.
Field
|
Description
|
---|---|
POSITION
|
|
FRAME
|
|
CALENDAR
|
|
INDETERMINATE
|
This structure is accessed through the TEMP_TM_PERIOD field of the main coverage offering structure and contains gml:timePeriod
elements, which are children of the temporalDomain
node. In turn, the temporalDomain
node can be a child of the spatialDomain
node or the CoverageOffering
node. To determine the number of Temp_Tm_Period structures, access the NUM_TEMP_TM_PERIODS field value. The number of structures can be 0 to many. All elements are strings unless otherwise noted.
This structure is accessed through the RANGE field of the main coverage offering structure. All elements are strings unless otherwise noted.
Field
|
Description
|
---|---|
NAME
|
XML source: <CoverageOffering><rangeSet><RangeSet> <name> |
LABEL
|
XML source: <CoverageOffering><rangeSet><RangeSet> <label> |
DESC
|
XML source: <CoverageOffering><rangeSet><RangeSet> <description> |
NULL_SINGLE_VALUES
|
|
NUM_NULL_INTERVALS
|
Provides the number of interval elements as a convenience. This value is generated by IDL.
|
NULL_INTERVAL
|
XML source: <CoverageOffering><rangeSet><RangeSet> <nullValues><interval>
Returns an array of structures (0 to many) where each structure contains an interval definition. See Null_Interval and Interval Structures for details.
|
This structure is accessed through the RANGE_AXIS field of the main coverage offering structure. All elements are strings unless otherwise noted.
Field
|
Description
|
---|---|
NAME
|
XML source: <CoverageOffering><rangeSet><RangeSet> <axisDescription><AxisDescription><name> |
LABEL
|
XML source: <CoverageOffering><rangeSet><RangeSet> <axisDescription><AxisDescription><label> |
DESC
|
XML source: <CoverageOffering><rangeSet><RangeSet> <axisDescription><AxisDescription><description> |
SINGLE_VALUE
|
|
NUM_INTERVALS
|
Provides the number of interval elements as a convenience. This value is generated by IDL.
|
INTERVAL
|
XML source: <CoverageOffering><rangeSet><RangeSet> <axisDescription><AxisDescription><values> <interval>
Returns an array of structures (0 to many) where each structure contains an interval definition. See Null_Interval and Interval Structures for details.
|
DEFAULT
|
XML source: <CoverageOffering><rangeSet><RangeSet> <axisDescription><AxisDescription><default> |
These structure fields are accessed through the NULL_INTERVAL field of the Range Structure and the INTERVAL field of the Axis_Description Structure. All elements are strings unless otherwise noted.
Field
|
Description
|
---|---|
MIN
|
|
MAX
|
|
RES
|
This structure is accessed through the CRS field of the main coverage offering structure and contains coordinate reference system fields.
All elements return an array of strings, 0 to many.
None
Set this to a zero-based integer value indicating the coverage offering to retrieve. This is useful when the IDLnetOGCWCS::DescribeCoverage request returns information for more than a single coverage offering.
See the GetCoverage method Examples for sample code that extracts the elements of the GetCoverageOffering structure that are required for a successful query.
IDLnetOGCWCS::DescribeCoverage, IDLnetOGCWCS::GetCoverage
IDL Online Help (March 06, 2007)