org.deegree.services.controller.wms.ops
Class GetMap
java.lang.Object
org.deegree.services.controller.wms.ops.GetMap
public class GetMap
- extends Object
GetMap
- Version:
- $Revision: 21979 $, $Date: 2010-01-18 11:05:53 +0100 (Mo, 18 Jan 2010) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Method Summary |
void |
addDimensionValue(String name,
List<?> values)
|
void |
addFilter(String layer,
org.deegree.filter.Filter filter)
|
Map<Layer,GetMap.Antialias> |
getAntialias()
|
Color |
getBgColor()
|
org.deegree.geometry.Envelope |
getBoundingBox()
|
org.deegree.crs.CRS |
getCoordinateSystem()
|
HashMap<String,List<?>> |
getDimensions()
|
org.deegree.filter.Filter |
getFilterForLayer(String name,
org.deegree.filter.Filter filter)
|
String |
getFormat()
|
int |
getHeight()
|
Map<Layer,GetMap.Interpolation> |
getInterpolation()
|
LinkedList<Layer> |
getLayers()
|
double |
getPixelSize()
|
Map<Layer,GetMap.Quality> |
getQuality()
|
double |
getScale()
|
LinkedList<org.deegree.rendering.r2d.se.unevaluated.Style> |
getStyles()
|
boolean |
getTransparent()
|
int |
getWidth()
|
(package private) static LinkedList<Layer> |
handleKVPLayers(List<String> lays,
MapService service)
|
(package private) static LinkedList<org.deegree.rendering.r2d.se.unevaluated.Style> |
handleKVPStyles(String ss,
MapService service,
LinkedList<Layer> layers)
|
(package private) static HashMap<String,List<?>> |
parseDimensionValues(Map<String,String> map)
|
static LinkedList<?> |
parseDimensionValues(String value,
String name)
|
void |
setCoordinateSystem(org.deegree.crs.CRS crs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetMap
public GetMap(Map<String,String> map,
org.deegree.commons.types.ows.Version version,
MapService service)
throws OWSException
- Parameters:
map
- version
- service
-
- Throws:
OWSException
handleKVPLayers
static LinkedList<Layer> handleKVPLayers(List<String> lays,
MapService service)
throws OWSException
- Throws:
OWSException
handleKVPStyles
static LinkedList<org.deegree.rendering.r2d.se.unevaluated.Style> handleKVPStyles(String ss,
MapService service,
LinkedList<Layer> layers)
throws OWSException
- Throws:
OWSException
parseDimensionValues
static HashMap<String,List<?>> parseDimensionValues(Map<String,String> map)
throws OWSException
- Throws:
OWSException
parseDimensionValues
public static LinkedList<?> parseDimensionValues(String value,
String name)
throws OWSException
- Parameters:
value
- name
-
- Returns:
- the parsed list of strings or intervals
- Throws:
OWSException
getCoordinateSystem
public org.deegree.crs.CRS getCoordinateSystem()
- Returns:
- the coordinate system of the bbox
getBoundingBox
public org.deegree.geometry.Envelope getBoundingBox()
- Returns:
- the bbox
getLayers
public LinkedList<Layer> getLayers()
- Returns:
- a copy of the layers list
getStyles
public LinkedList<org.deegree.rendering.r2d.se.unevaluated.Style> getStyles()
- Returns:
- a copy of the styles list
getFormat
public String getFormat()
- Returns:
- the image format
getWidth
public int getWidth()
- Returns:
- the width
getHeight
public int getHeight()
- Returns:
- the height
getTransparent
public boolean getTransparent()
- Returns:
- the transparent parameter
getBgColor
public Color getBgColor()
- Returns:
- the desired background color
setCoordinateSystem
public void setCoordinateSystem(org.deegree.crs.CRS crs)
- Parameters:
crs
-
getDimensions
public HashMap<String,List<?>> getDimensions()
- Returns:
- returns a map with the requested dimension values
addFilter
public void addFilter(String layer,
org.deegree.filter.Filter filter)
- Parameters:
layer
- filter
-
addDimensionValue
public void addDimensionValue(String name,
List<?> values)
- Parameters:
name
- values
-
getFilterForLayer
public org.deegree.filter.Filter getFilterForLayer(String name,
org.deegree.filter.Filter filter)
- Parameters:
name
- filter
-
- Returns:
- a new filter for the layer, fulfilling the filter parameter as well
getScale
public double getScale()
- Returns:
- the scale as WMS 1.3.0/SLD scale
getQuality
public Map<Layer,GetMap.Quality> getQuality()
- Returns:
- the quality settings for the layers
getInterpolation
public Map<Layer,GetMap.Interpolation> getInterpolation()
- Returns:
- the interpolation settings for the layers
getAntialias
public Map<Layer,GetMap.Antialias> getAntialias()
- Returns:
- the antialias settings for the layers
getPixelSize
public double getPixelSize()
- Returns:
- the value of the pixel size parameter (default is 0.28 mm).
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>