public class TLcdWCSSpatialDomain extends Object
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 and Description |
---|
TLcdWCSSpatialDomain() |
Modifier and Type | Method and Description |
---|---|
void |
addEnvelope(ILcdGML3Envelope aEnvelope)
Adds a envelope.
|
void |
addGrid(ILcdGML3Grid aGrid)
Adds a grid.
|
void |
addPolygon(ILcdGML3Polygon aPolygon)
Adds a polygon.
|
ILcdGML3Envelope |
getEnvelope(int aIndex)
Gets the envelope at a given position.
|
int |
getEnvelopeCount()
Gets the number of envelopes.
|
ILcdGML3Grid |
getGrid(int aIndex)
Gets the grid at a given position.
|
int |
getGridCount()
Gets the number of grids.
|
ILcdGML3Polygon |
getPolygon(int aIndex)
Gets the polygon at a given position.
|
int |
getPolygonCount()
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.
|
public void addEnvelope(ILcdGML3Envelope aEnvelope)
aEnvelope
- the envelope to be added.public int getEnvelopeCount()
public void removeEnvelope(int aIndex)
aIndex
- the index of the given position.public ILcdGML3Envelope getEnvelope(int aIndex)
aIndex
- the index of the given position.public void addGrid(ILcdGML3Grid aGrid)
aGrid
- the grid to be added.public int getGridCount()
public void removeGrid(int aIndex)
aIndex
- the index of the given position.public ILcdGML3Grid getGrid(int aIndex)
aIndex
- the index of the given position.public void addPolygon(ILcdGML3Polygon aPolygon)
aPolygon
- the polygon to be added.public int getPolygonCount()
public void removePolygon(int aIndex)
aIndex
- the index of the given position.public ILcdGML3Polygon getPolygon(int aIndex)
aIndex
- the index of the given position.