Class TLcdWCSSpatialDomain
ILcdGML3Envelope
.
In addition, a server can describe the internal grid structure of a coverage offering, using a ILcdGML3Grid
(or ILcdGML3RectifiedGrid
) in addition to a ILcdGML3Envelope
.
This element can help clients assess the fitness of the gridded data for their use (e.g. its native resolution, inferred from the offsetVector of a ILcdGML3RectifiedGrid
),
and to formulate grid coverage requests expressed in the internal grid coordinate reference system.
Finally, a server can describe the spatial domain by means of a (repeatable) ILcdGML3Polygon
, representing the polygon(s) covered by the coverage spatial domain.
This is particularly useful for areas that are poorly approximated by a ILcdGML3Envelope
(such as satellite image swaths, island groups, other non-convex areas).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEnvelope
(ILcdGML3Envelope aEnvelope) Adds a envelope.void
addGrid
(ILcdGML3Grid aGrid) Adds a grid.void
addPolygon
(ILcdGML3Polygon aPolygon) Adds a polygon.getEnvelope
(int aIndex) Gets the envelope at a given position.int
Gets the number of envelopes.getGrid
(int aIndex) Gets the grid at a given position.int
Gets the number of grids.getPolygon
(int aIndex) Gets the polygon at a given position.int
Gets the number of polygons.void
removeEnvelope
(int aIndex) Removes the envelope at a given position.void
removeGrid
(int aIndex) Removes the grid at a given position.void
removePolygon
(int aIndex) Removes the polygon at a given position.
-
Constructor Details
-
TLcdWCSSpatialDomain
public TLcdWCSSpatialDomain()
-
-
Method Details
-
addEnvelope
Adds a envelope.- Parameters:
aEnvelope
- the envelope to be added.
-
getEnvelopeCount
public int getEnvelopeCount()Gets the number of envelopes.- Returns:
- the number of envelopes.
-
removeEnvelope
public void removeEnvelope(int aIndex) Removes the envelope at a given position.- Parameters:
aIndex
- the index of the given position.
-
getEnvelope
Gets the envelope at a given position.- Parameters:
aIndex
- the index of the given position.- Returns:
- the envelope at the given position.
-
addGrid
Adds a grid.- Parameters:
aGrid
- the grid to be added.
-
getGridCount
public int getGridCount()Gets the number of grids.- Returns:
- the number of grids.
-
removeGrid
public void removeGrid(int aIndex) Removes the grid at a given position.- Parameters:
aIndex
- the index of the given position.
-
getGrid
Gets the grid at a given position.- Parameters:
aIndex
- the index of the given position.- Returns:
- the grid at the given position.
-
addPolygon
Adds a polygon.- Parameters:
aPolygon
- the polygon to be added.
-
getPolygonCount
public int getPolygonCount()Gets the number of polygons.- Returns:
- the number of polygons.
-
removePolygon
public void removePolygon(int aIndex) Removes the polygon at a given position.- Parameters:
aIndex
- the index of the given position.
-
getPolygon
Gets the polygon at a given position.- Parameters:
aIndex
- the index of the given position.- Returns:
- the polygon at the given position.
-