|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.AbstractOGCWebServiceRequest org.deegree.ogcwebservices.wms.operation.WMSRequestBase org.deegree.ogcwebservices.wms.operation.GetFeatureInfo
public class GetFeatureInfo
Method Summary | |
---|---|
void |
addQueryLayers(java.lang.String queryLayers)
adds the |
static GetFeatureInfo |
create(java.util.Map<java.lang.String,java.lang.String> model)
creates a WMSFeatureInfoRequest from a HashMap that contains the request parameters as key-value-pairs. |
static GetFeatureInfo |
create(java.lang.String version,
java.lang.String id,
java.lang.String[] queryLayers,
GetMap getMapRequestCopy,
java.lang.String infoFormat,
int featureCount,
java.awt.Point clickPoint,
java.lang.String exceptions,
StyledLayerDescriptor sld,
java.util.Map<java.lang.String,java.lang.String> vendorSpecificParameter)
creates a WMSFeatureInfoRequest from the request parameters. |
java.awt.Point |
getClickPoint()
The required X and Y parameters indicate a point of interest on the map. |
java.lang.String |
getExceptions()
The optional EXCEPTIONS parameter states the manner in which errors are to be reported to the client. |
int |
getFeatureCount()
The optional FEATURE_COUNT parameter states the maximum number of features for which feature information should be returned. |
GetMap |
getGetMapRequestCopy()
|
java.lang.String |
getInfoFormat()
The optional INFO_FORMAT indicates what format to use when returning the feature information. |
java.lang.String[] |
getQueryLayers()
The required QUERY_LAYERS parameter states the map layer(s) from which feature information is desired to be retrieved. |
java.lang.String |
getRequestParameter()
returns the parameter of a HTTP GET request. |
StyledLayerDescriptor |
getStyledLayerDescriptor()
returns the SLD the request is made of. |
boolean |
isInfoFormatDefault()
|
void |
setClickPoint(java.awt.Point clickPoint)
sets the |
void |
setExceptions(java.lang.String exceptions)
sets the |
void |
setFeatureCount(int featureCount)
sets the |
void |
setGetMapRequestCopy(GetMap getMapRequestCopy)
sets the |
void |
setInfoFormat(java.lang.String infoFormat)
sets the |
void |
setQueryLayers(java.lang.String[] queryLayers)
sets the |
void |
setStyledLayerDescriptor(StyledLayerDescriptor sld)
sets the SLD the request is made of. |
java.lang.String |
toString()
|
Methods inherited from class org.deegree.ogcwebservices.wms.operation.WMSRequestBase |
---|
getServiceName |
Methods inherited from class org.deegree.ogcwebservices.AbstractOGCWebServiceRequest |
---|
getId, getParam, getParamAsInt, getParamValues, getRequiredParam, getVendorSpecificParameter, getVendorSpecificParameters, getVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static GetFeatureInfo create(java.lang.String version, java.lang.String id, java.lang.String[] queryLayers, GetMap getMapRequestCopy, java.lang.String infoFormat, int featureCount, java.awt.Point clickPoint, java.lang.String exceptions, StyledLayerDescriptor sld, java.util.Map<java.lang.String,java.lang.String> vendorSpecificParameter)
version
- VERSION=version (R): Request version.id
- the request idqueryLayers
- QUERY_LAYERS=layer_list (R): Comma-separated list of one or more layers to be queried.getMapRequestCopy
- <map_request_copy> (R): Partial copy of the Map request parameters that generated the map for
which information is desired.infoFormat
- INFO_FORMAT=output_format (O): Return format of feature information (MIME type).featureCount
- FEATURE_COUNT=number (O): Number of features about which to return information (default=1).clickPoint
- X=pixel_column (R): X coordinate in pixels of feature (measured from upper left corner=0) Y=pixel_row
(R): Y coordinate in pixels of feature (measured from upper left corner=0)exceptions
- EXCEPTIONS=exception_format (O): The format in which exceptions are to be reported by the WMS
(default=application/vnd.ogc.se_xml).sld
- StyledLayerDescriptorvendorSpecificParameter
- Vendor-specific parameters (O): Optional experimental parameters.
public static GetFeatureInfo create(java.util.Map<java.lang.String,java.lang.String> model) throws OGCWebServiceException
model
- HashMap containing the request parameters
OGCWebServiceException
public GetMap getGetMapRequestCopy()
public void setGetMapRequestCopy(GetMap getMapRequestCopy)
getMapRequestCopy
- public java.lang.String[] getQueryLayers()
If any layer in this list is not contained in the Capabilities XML of the WMS, the results are undefined and the WMS shall produce an exception response.
public void addQueryLayers(java.lang.String queryLayers)
queryLayers
- public void setQueryLayers(java.lang.String[] queryLayers)
queryLayers
- public java.lang.String getInfoFormat()
EXAMPLE: The parameter INFO_FORMAT=application/vnd.ogc.gml requests that the feature information be formatted in Geography Markup Language (GML).
public void setInfoFormat(java.lang.String infoFormat)
infoFormat
- public int getFeatureCount()
public void setFeatureCount(int featureCount)
featureCount
- public java.awt.Point getClickPoint()
public void setClickPoint(java.awt.Point clickPoint)
clickPoint
- public java.lang.String getExceptions()
public void setExceptions(java.lang.String exceptions)
exceptions
- public StyledLayerDescriptor getStyledLayerDescriptor()
This mean even if a GetMap request is send using the HTTP GET method, an implementing class has to map the request to a SLD data sructure.
public void setStyledLayerDescriptor(StyledLayerDescriptor sld)
sld
- public java.lang.String toString()
toString
in class AbstractOGCWebServiceRequest
public java.lang.String getRequestParameter() throws OGCWebServiceException
getRequestParameter
in interface OGCWebServiceRequest
getRequestParameter
in class AbstractOGCWebServiceRequest
OGCWebServiceException
public boolean isInfoFormatDefault()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org