| java.lang.Object org.deegree.model.spatialschema.EnvelopeImpl org.deegree.ogcwebservices.wms.capabilities.LayerBoundingBox
LayerBoundingBox | public class LayerBoundingBox extends EnvelopeImpl (Code) | | Layers may have zero or more elements that are either stated
explicitly or inherited from a parent Layer. Each BoundingBox states the
bounding rectangle of the map data in a particular spatial reference system;
the attribute SRS indicates which SRS applies. If the data area is shaped
irregularly then the BoundingBox gives the minimum enclosing rectangle.The
attributes minx, miny, maxx, maxy indicate the edges of the bounding box in
units of the specified SRS. Optional resx and resy attributes indicate the
spatial resolution of the data in those same units.
A Layer may have multiple BoundingBox element, but each one shall state a
different SRS. A Layer inherits any BoundingBox values defined by its parents.
A BoundingBox inherited from the parent Layer for a particular SRS is replaced
by any declaration for the same SRS in the child Layer. A BoundingBox in the
child for a new SRS not already declared by the parent is added to the list
of bounding boxes for the child Layer. A single Layer element shall not
contain more than one BoundingBox for the same SRS.
----------------------------------------------------------------------
author: Andreas Poth version: 2002-03-01 |
LayerBoundingBox | public LayerBoundingBox(Position min, Position max, String srs, double resx, double resy)(Code) | | constructor initializing the class with the
Parameters: min - Parameters: max - Parameters: srs - Parameters: resx - Parameters: resy - |
getResx | public double getResx()(Code) | | spatial resolution of the layers data in x-direction. If the resolutionisn't known -1 will be returned. |
getResy | public double getResy()(Code) | | spatial resolution of the layers data in x-direction. If the resolutionisn't known -1 will be returned. |
getSRS | public String getSRS()(Code) | | the name the spatial reference system of the bounding box |
setResx | public void setResx(double resx)(Code) | | sets spatial resolution of the layers data in x-direction
Parameters: resx - |
setResy | public void setResy(double resy)(Code) | | sets spatial resolution of the layers data in x-direction
Parameters: resy - |
setSRS | public void setSRS(String srs)(Code) | | sets the name of the spatial reference system of the bounding box
Parameters: srs - |
|
|