public class CubeWerxStrategy extends StrictWFS_1_x_Strategy
This strategy was created as per the limitations encountered at the CubeWerx server being tested while developing this plugin.
For instance, the following issues were found:
capabilities
Constructor and Description |
---|
CubeWerxStrategy() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
buildGetFeatureParametersForGET(GetFeatureRequest request)
Removes the
RESULTTYPE . |
InputStream |
getPostContents(WFSRequest request)
Returns the input stream with the POST body contents for the given request.
|
Filter[] |
splitFilters(QName typeName,
Filter queryFilter)
Splits the filter provided by the geotools query into the server supported and unsupported
ones.
|
boolean |
supports(GetFeatureRequest.ResultType resultType) |
createDelete, createDescribeFeatureTypeRequestPost, createDescribeStoredQueriesRequestPost, createGetFeatureRequestPost, createInsert, createListStoredQueriesRequestPost, createTransactionRequest, createUpdate, findParameters, getClientSupportedOutputFormats, getFeatureTypeInfo, getFeatureTypeNames, getFilterCapabilities, getFilterConfiguration, getOperationMetadata, getOperationName, getOperationURI, getServerSupportedOutputFormats, getServerSupportedOutputFormats, getServiceInfo, getServiceVersion, getSupportedCRSIdentifiers, getWfsConfiguration, setCapabilities, supportsTransaction, translateTypeInfo
buildDescribeFeatureTypeParametersForGET, buildDescribeStoredQueriesParametersForGET, buildListStoredQueriesParametersForGET, buildUrlGET, createGetCapabilitiesRequest, dispose, encodeGetFeatureGetFilter, encodePropertyName, getConfig, getDefaultOutputFormat, getFieldTypeMappings, getOperationURL, getPostContentType, getPrefixedTypeName, getVersion, prepareEncoder, setConfig, simplify, supportsOperation
newRequestHandle
public boolean supports(GetFeatureRequest.ResultType resultType)
supports
in class StrictWFS_1_x_Strategy
true
only if resultType == results, CubeWerx throws a service exception if
the resultType parameter is set on a POST request, no matter it's value, and on a GET
request it's just ignored; also the returned feature collection does not contain the
number of features matched.protected Map<String,String> buildGetFeatureParametersForGET(GetFeatureRequest request)
RESULTTYPE
.public InputStream getPostContents(WFSRequest request) throws IOException
AbstractWFSStrategy
getPostContents
in class AbstractWFSStrategy
IOException
AbstractWFSStrategy.createDescribeFeatureTypeRequestPost(org.geotools.data.wfs.internal.DescribeFeatureTypeRequest)
,
AbstractWFSStrategy.createGetFeatureRequestPost(org.geotools.data.wfs.internal.GetFeatureRequest)
,
AbstractWFSStrategy.prepareEncoder(org.geotools.data.wfs.internal.WFSRequest)
,
AbstractWFSStrategy.getOperationName(org.geotools.data.wfs.internal.WFSOperationType)
public Filter[] splitFilters(QName typeName, Filter queryFilter)
AbstractWFSStrategy
splitFilters
in class AbstractWFSStrategy
org.geotools.data.wfs.internal.WFSStrategy#splitFilters(org.opengis.filter.Filter)
Copyright © 1996–2019 Geotools. All rights reserved.