Class IonicStrategy
- Object
-
- Specification
-
- WFSStrategy
-
- AbstractWFSStrategy
-
- StrictWFS_1_x_Strategy
-
- IonicStrategy
-
public class IonicStrategy extends StrictWFS_1_x_Strategy
-
-
Field Summary
-
Fields inherited from class StrictWFS_1_x_Strategy
capabilities
-
-
Constructor Summary
Constructors Constructor Description IonicStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>
buildGetFeatureParametersForGET(GetFeatureRequest request)
Ionic usesurn:opengis:def:crs:ogc::83
instead ofEPSG:4269
.String
getDefaultOutputFormat(WFSOperationType op)
Ionic does not declare the supported output formats in the caps, yet it fails if asked fortext/xml; subtype=gml/3.1.1
but succeeds if asked forGML3
Configuration
getFilterConfiguration()
Returns the xml configuration used to encode a filter atAbstractWFSStrategy.encodeGetFeatureGetFilter(Filter)
boolean
supportsOperation(WFSOperationType operation, HttpMethod method)
We can't use POST at all against Ionic cause it is not a WFS 1.1 implementation and expect the filters to be encoded as per Filter 1.0, and I wasn't able of creating a WFS 1.1 with Filter 1.0Configuration
that works.-
Methods inherited from class StrictWFS_1_x_Strategy
createDelete, createDescribeFeatureTypeRequestPost, createDescribeStoredQueriesRequestPost, createGetFeatureRequestPost, createInsert, createListStoredQueriesRequestPost, createTransactionRequest, createUpdate, findParameters, getClientSupportedOutputFormats, getFeatureTypeInfo, getFeatureTypeNames, getFilterCapabilities, getOperationMetadata, getOperationName, getOperationURI, getServerSupportedOutputFormats, getServerSupportedOutputFormats, getServiceInfo, getServiceVersion, getSupportedCRSIdentifiers, getWfsConfiguration, setCapabilities, supports, supportsIdGenerator, supportsTransaction, translateTypeInfo
-
Methods inherited from class AbstractWFSStrategy
buildDescribeFeatureTypeParametersForGET, buildDescribeFeatureTypeParametersForGET, buildDescribeStoredQueriesParametersForGET, buildListStoredQueriesParametersForGET, buildUrlGET, createGetCapabilitiesRequest, dispose, encodeGetFeatureGetFilter, encodePropertyName, getConfig, getFieldTypeMappings, getOperationURL, getPostContents, getPostContentType, getPrefixedTypeName, getVersion, prepareEncoder, setConfig, simplify, splitFilters, updatePropertyNames
-
Methods inherited from class WFSStrategy
canLimit, canOffset, newRequestHandle
-
-
-
-
Method Detail
-
supportsOperation
public boolean supportsOperation(WFSOperationType operation, HttpMethod method)
We can't use POST at all against Ionic cause it is not a WFS 1.1 implementation and expect the filters to be encoded as per Filter 1.0, and I wasn't able of creating a WFS 1.1 with Filter 1.0Configuration
that works.- Overrides:
supportsOperation
in classAbstractWFSStrategy
- Parameters:
operation
- the operation to check if the server supportsmethod
- the HTTP method to check if the server supports for the given operation- Returns:
- false
- See Also:
WFSStrategy.supportsOperation(org.geotools.data.wfs.internal.WFSOperationType, org.geotools.data.wfs.internal.HttpMethod)
-
getDefaultOutputFormat
public String getDefaultOutputFormat(WFSOperationType op)
Ionic does not declare the supported output formats in the caps, yet it fails if asked fortext/xml; subtype=gml/3.1.1
but succeeds if asked forGML3
- Overrides:
getDefaultOutputFormat
in classAbstractWFSStrategy
-
getFilterConfiguration
public Configuration getFilterConfiguration()
Description copied from class:AbstractWFSStrategy
Returns the xml configuration used to encode a filter atAbstractWFSStrategy.encodeGetFeatureGetFilter(Filter)
- Overrides:
getFilterConfiguration
in classStrictWFS_1_x_Strategy
- Returns:
- a Filter 1.0 configuration since Ionic expects that instead of 1.1
-
buildGetFeatureParametersForGET
protected Map<String,String> buildGetFeatureParametersForGET(GetFeatureRequest request)
Ionic usesurn:opengis:def:crs:ogc::83
instead ofEPSG:4269
. If that's the case, the query srsName is replaced by the kown "EPSG:4269" code- Overrides:
buildGetFeatureParametersForGET
in classAbstractWFSStrategy
-
-