org.deegree.protocol.wms.ops
Class GetFeatureInfo

java.lang.Object
  extended by org.deegree.protocol.wms.ops.GetFeatureInfo

public class GetFeatureInfo
extends Object

GetFeatureInfo

Version:
$Revision: 31400 $, $Date: 2011-08-02 10:11:48 +0200 (Tue, 02 Aug 2011) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
GetFeatureInfo(List<String> layers, int width, int height, int x, int y, Envelope envelope, ICRS crs, int featureCount)
           
GetFeatureInfo(Map<String,String> map, Version version)
           
 
Method Summary
 Envelope getClickBox()
           
 ICRS getCoordinateSystem()
           
 Envelope getEnvelope()
           
 int getFeatureCount()
           
 int getHeight()
           
 String getInfoFormat()
           
 Map<String,String> getParameterMap()
           
 LinkedList<String> getQueryLayers()
           
 LinkedList<String> 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)
               throws OWSException
Parameters:
map -
version -
service -
Throws:
OWSException

GetFeatureInfo

public GetFeatureInfo(List<String> layers,
                      int width,
                      int height,
                      int x,
                      int y,
                      Envelope envelope,
                      ICRS crs,
                      int featureCount)
Method Detail

getClickBox

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

getQueryLayers

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

getStyles

public LinkedList<String> 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 -

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.