Class TLcdWCSSpatialDomain

java.lang.Object
com.luciad.ogc.wcs.common.model.TLcdWCSSpatialDomain

public class TLcdWCSSpatialDomain extends Object
Defines the spatial domain of a coverage offering. A server shall describe the spatial domain by its edges, using one or more 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 Details

    • TLcdWCSSpatialDomain

      public TLcdWCSSpatialDomain()
  • Method Details

    • addEnvelope

      public void addEnvelope(ILcdGML3Envelope aEnvelope)
      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

      public ILcdGML3Envelope getEnvelope(int aIndex)
      Gets the envelope at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the envelope at the given position.
    • addGrid

      public void addGrid(ILcdGML3Grid aGrid)
      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

      public ILcdGML3Grid getGrid(int aIndex)
      Gets the grid at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the grid at the given position.
    • addPolygon

      public void addPolygon(ILcdGML3Polygon aPolygon)
      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

      public ILcdGML3Polygon getPolygon(int aIndex)
      Gets the polygon at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the polygon at the given position.