org.deegree.services.wms.controller.ops
Class GetFeatureInfo

java.lang.Object
  extended by org.deegree.services.wms.controller.ops.GetFeatureInfo

public class GetFeatureInfo
extends Object

GetFeatureInfo

Version:
$Revision: 31688 $, $Date: 2011-08-30 15:05:12 +0200 (Tue, 30 Aug 2011) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Constructor Summary
GetFeatureInfo(Collection<Layer> layers, Collection<Style> styles, int radius, Envelope envelope, int x, int y, int width, int height, int maxFeatures)
           
GetFeatureInfo(Map<String,String> map, Version version, MapService service)
           
 
Method Summary
 Envelope getClickBox()
           
 ICRS getCoordinateSystem()
           
 HashMap<String,List<?>> getDimensions()
           
 Envelope getEnvelope()
           
 int getFeatureCount()
           
 int getHeight()
           
 String getInfoFormat()
           
 Map<String,String> getParameterMap()
           
 LinkedList<Layer> getQueryLayers()
           
 LinkedList<Style> getStyles()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 boolean returnGeometries()
           
 void setCoordinateSystem(ICRS crs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetFeatureInfo

public GetFeatureInfo(Map<String,String> map,
                      Version version,
                      MapService service)
               throws OWSException
Parameters:
map -
version -
service -
Throws:
OWSException

GetFeatureInfo

public GetFeatureInfo(Collection<Layer> layers,
                      Collection<Style> styles,
                      int radius,
                      Envelope envelope,
                      int x,
                      int y,
                      int width,
                      int height,
                      int maxFeatures)
Parameters:
layers -
styles -
radius -
envelope -
x -
y -
width -
height -
maxFeatures -
Method Detail

getClickBox

public Envelope getClickBox()
Returns:
the envelope where the user clicked

getQueryLayers

public LinkedList<Layer> getQueryLayers()
Returns:
the live list of query layers

getStyles

public LinkedList<Style> getStyles()
Returns:
the live list of styles (this uses the query_layers parameter as source for layer names)

getInfoFormat

public String getInfoFormat()
Returns:
the info format

getFeatureCount

public int getFeatureCount()
Returns:
the max feature count

returnGeometries

public boolean returnGeometries()
Returns:
whether geometries shall be returned or not

getCoordinateSystem

public ICRS getCoordinateSystem()
Returns:
the crs

setCoordinateSystem

public void setCoordinateSystem(ICRS crs)
Parameters:
crs -

getDimensions

public HashMap<String,List<?>> getDimensions()
Returns:
the dimensions

getEnvelope

public Envelope getEnvelope()
Returns:
the original GetMap envelope

getWidth

public int getWidth()
Returns:
the original GetMap width

getHeight

public int getHeight()
Returns:
the original GetMap height

getX

public int getX()
Returns:
the x click point

getY

public int getY()
Returns:
the y click point

getParameterMap

public Map<String,String> getParameterMap()
Returns:
the original parameter map (might be empty if not constructed via request)


Copyright © 2011. All Rights Reserved.