org.deegree_impl.services.wts.protocol
Class WTSGetViewRequest_Impl

java.lang.Object
  extended byorg.deegree_impl.services.OGCWebServiceRequest_Impl
      extended byorg.deegree_impl.services.wts.protocol.WTSGetViewRequest_Impl
All Implemented Interfaces:
OGCWebServiceRequest, WTSGetViewRequest

final class WTSGetViewRequest_Impl
extends OGCWebServiceRequest_Impl
implements WTSGetViewRequest

This class implements the access to the parameters of a GetView request.

Even it is possible to access the values of a HTTP GET request throught their bean accessor methods the request shall be mapped to a SLD data structure that is accessible using the getSLD().

--------------------------------------------------------------------

Version:
2002-03-01
Author:
Andreas Poth

Nested Class Summary
private static class WTSGetViewRequest_Impl.Layer_Impl
           
 
Nested classes inherited from class org.deegree.services.wts.protocol.WTSGetViewRequest
WTSGetViewRequest.Layer
 
Field Summary
private  double aov
           
private  java.lang.Object[] atmosParam
           
private  java.lang.Object background
           
private  java.awt.Color bgColor
           
private  java.lang.String crs
           
private  java.util.Calendar date
           
private  java.lang.String[] dem
           
private  double distance
           
private  java.lang.String exceptions
           
private  java.lang.String format
           
private  WTSGetViewRequest.Layer[] ftCollections
           
private  StyledLayerDescriptor ftSLD
           
private  int height
           
private  WTSGetViewRequest.Layer[] layers
           
private  java.lang.Object[] light
           
private  java.lang.Object material
           
private  double pitch
           
private  GM_Position poi
           
private  double scale
           
private  StyledLayerDescriptor sld
           
private  GM_Object trajectory
           
private  java.net.URL wfsURL
           
private  int width
           
private  double yaw
           
 
Fields inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl
id, request, service, vendorSpecificParameter, version
 
Constructor Summary
(package private) WTSGetViewRequest_Impl(java.lang.String version, java.lang.String id, java.util.HashMap vendorSpecificParameter, java.lang.String format, WTSGetViewRequest.Layer[] layers, java.lang.String crs, int width, int height, java.awt.Color bgColor, double aov, double distance, double pitch, GM_Position poi, double yaw, java.lang.String exceptions, java.util.Calendar date, double scale, java.lang.Object background, java.lang.String[] dem, WTSGetViewRequest.Layer[] ftCollections)
          Creates a new WTSGetViewRequest_Impl object.
 
Method Summary
static WTSGetViewRequest.Layer createLayer(java.lang.String name, java.lang.String styleName)
           
 double getAOV()
          returns the angle representing the breadth of landscape in the viewer's scene.
 java.lang.Object[] getAtmosphericParameters()
          retruns a list of atmospheric paramteres to be considered for rendering
 java.lang.Object getBackground()
          returns the Color, Image or Shape to fill the scene background
 java.awt.Color getBGColor()
          The optional BGCOLOR parameter specifies the color to be used as the background of the map.
 java.util.Calendar getDate()
          returns the date/time for which a scene shall be rendered
 double getDistance()
          Distance between the viewer and the POI in meters.
 java.lang.String[] getElevationModels()
          returns a list of the DEMs to be used
 java.lang.String getExceptions()
          The optional EXCEPTIONS parameter states the manner in which errors are to be reported to the client.
 WTSGetViewRequest.Layer[] getFeatureCollections()
          returns a list of named Faetuter collections and associated styles to put into the scene.
 StyledLayerDescriptor getFeatureCollectionsAsSLD()
          returns a list of named Faetuter collections and associated styles to put into the scene as a SLD-document.
 java.lang.String getFormat()
          The FORMAT parameter specifies the output format of the response to an operation.
 int getHeight()
          HEIGHT specifies the number of pixels between the minimum and maximum Y values.
 WTSGetViewRequest.Layer[] getLayers()
          The required LAYERS parameter lists the map layer(s) to be returned by this GetMap request.
 java.lang.Object[] getLight()
          returns descriptions of light sources in addtion to the sun
 java.lang.Object getMaterial()
          returns the material behavior of the DEM and features
 double getPitch()
          returns Angle of inclination
 GM_Position getPointOfInterest()
          The POI (Point of Interest) parameter defines the x, y, z point in SRS units.
 double getScale()
          returns the scale of the DEM. 1 = original scale, > 1 make DEM higher < 1 make DEM lower
 java.lang.String getSrs()
          The required SRS parameter states which Spatial Reference System applies to the values in the BBOX parameter.
 StyledLayerDescriptor getStyledLayerDescriptor()
          returns the SLD the request is made of.
 GM_Object getTrajectory()
          returns the trajectory of the camera movement through the scene.
 java.net.URL getWFS_URL()
          URL of Web Feature Service providing features to be symbolized using SLD.
 int getWidth()
          WIDTH specifies the number of pixels to be used between the minimum and maximum X values (inclusive) in the BBOX parameter.
 double getYAW()
          returns the azimuth angle
 
Methods inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl
getId, getRequest, getRequestParameter, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, putVendorSpecificParameter, setId, setRequest, setService, setVendorSpecificParameter, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.OGCWebServiceRequest
getId, getRequest, getRequestParameter, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion
 

Field Detail

date

private java.util.Calendar date

bgColor

private java.awt.Color bgColor

trajectory

private GM_Object trajectory

poi

private GM_Position poi

background

private java.lang.Object background

material

private java.lang.Object material

crs

private java.lang.String crs

exceptions

private java.lang.String exceptions

format

private java.lang.String format

ftSLD

private StyledLayerDescriptor ftSLD

sld

private StyledLayerDescriptor sld

wfsURL

private java.net.URL wfsURL

atmosParam

private java.lang.Object[] atmosParam

dem

private java.lang.String[] dem

ftCollections

private WTSGetViewRequest.Layer[] ftCollections

layers

private WTSGetViewRequest.Layer[] layers

light

private java.lang.Object[] light

aov

private double aov

distance

private double distance

pitch

private double pitch

scale

private double scale

yaw

private double yaw

height

private int height

width

private int width
Constructor Detail

WTSGetViewRequest_Impl

WTSGetViewRequest_Impl(java.lang.String version,
                       java.lang.String id,
                       java.util.HashMap vendorSpecificParameter,
                       java.lang.String format,
                       WTSGetViewRequest.Layer[] layers,
                       java.lang.String crs,
                       int width,
                       int height,
                       java.awt.Color bgColor,
                       double aov,
                       double distance,
                       double pitch,
                       GM_Position poi,
                       double yaw,
                       java.lang.String exceptions,
                       java.util.Calendar date,
                       double scale,
                       java.lang.Object background,
                       java.lang.String[] dem,
                       WTSGetViewRequest.Layer[] ftCollections)
Creates a new WTSGetViewRequest_Impl object.

Parameters:
version -
id -
vendorSpecificParameter -
format -
layers -
crs -
width -
height -
bgColor -
aov -
distance -
pitch -
poi -
yaw -
exceptions -
date -
scale -
background -
dem -
ftCollections -
Method Detail

getFormat

public java.lang.String getFormat()
The FORMAT parameter specifies the output format of the response to an operation.

An OGC Web Service may offer only a subset of the formats known for that type of operation, but the server shall advertise in its Capabilities XML those formats it does support and shall accept requests for any format it advertises. A Service Instance may optionally offer a new format not previously offered by other instances, with the recognition that clients are not required to accept or process an unknown format. If a request contains a Format not offered by a particular server, the server shall throw a Service Exception (with code "InvalidFormat").

Specified by:
getFormat in interface WTSGetViewRequest

getLayers

public WTSGetViewRequest.Layer[] getLayers()
The required LAYERS parameter lists the map layer(s) to be returned by this GetMap request. The value of the LAYERS parameter is a comma-separated list of one or more valid layer names. Allowed layer names are the character data content of any element in the Capabilities XML.

A WMS shall render the requested layers by drawing the leftmost in the list bottommost, the next one over that, and so on.

Each layer is associated to a style. Styles are also is encoded as a comma- seperated list within the GetMap request.

The required STYLES parameter lists the style in which each layer is to be rendered. There is a one-to-one correspondence between the values in the LAYERS parameter and the values in the STYLES parameter. Because of this layer-style combinations are returned coupled within an array of Layer- objects. Each map in the list of LAYERS is drawn using the corresponding style in the same position in the list of STYLES. Each style Name shall be one that was defined in the element of a