public interface GetFeatureInfoRequest extends Request
Q: queryableLayers is a Set - is this true? Or is order important Q: infoFormats - what does this do? Do these match up with querableLayers? Or is it a list of formats our client is willing to understand?
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_COUNT
Represents the FEATURE_COUNT parameter
|
static String |
INFO_FORMAT
Represents the INFO_FORMAT parameter
|
static String |
QUERY_LAYERS
Represents the QUERY_LAYERS parameter
|
static String |
QUERY_X
Represents the X parameter
|
static String |
QUERY_Y
Represents the Y parameter
|
Modifier and Type | Method and Description |
---|---|
void |
addQueryLayer(Layer layer)
Add a Layer to the set of layers to be queried in the request.
|
void |
setFeatureCount(int featureCount) |
void |
setFeatureCount(String featureCount) |
void |
setInfoFormat(String infoFormat)
Sets the INFO_FORMAT parameter, which specifies the format of the GetFeatureInfoResponse.
|
void |
setQueryLayers(Set layers)
An unordered set of type Layer.
|
void |
setQueryPoint(int x,
int y)
The point on the image (in pixels) to be queried.
|
createResponse, getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
static final String INFO_FORMAT
static final String FEATURE_COUNT
static final String QUERY_X
static final String QUERY_Y
static final String QUERY_LAYERS
void setQueryLayers(Set layers)
layers
- A Set of type Layer, each to be queriedvoid addQueryLayer(Layer layer)
layer
- a queryable Layervoid setInfoFormat(String infoFormat)
infoFormat
- a value from getInfoFormats()void setFeatureCount(String featureCount)
featureCount
- the maximum number of features to return in the responsevoid setFeatureCount(int featureCount)
featureCount
- the maximum number of features to return in the responsevoid setQueryPoint(int x, int y)
x
- the x point, in pixelsy
- the y point, in pixelsCopyright © 1996–2019 Geotools. All rights reserved.