Class WFSFeatureSourceHelper
java.lang.Object
org.tailormap.api.geotools.featuresources.FeatureSourceHelper
org.tailormap.api.geotools.featuresources.WFSFeatureSourceHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.geotools.api.data.DataStorecreateDataStore(TMFeatureSource tmfs, Integer timeout) Create a GeoTools DataStore for the given TMFeatureSource.protected TMFeatureTypeInfogetFeatureTypeInfo(TMFeatureType pft, org.geotools.api.data.ResourceInfo info, org.geotools.api.data.SimpleFeatureSource gtFs) Methods inherited from class org.tailormap.api.geotools.featuresources.FeatureSourceHelper
createDataStore, loadCapabilities, loadCapabilities, openDatastore, openGeoToolsFeatureSource
-
Constructor Details
-
WFSFeatureSourceHelper
public WFSFeatureSourceHelper()
-
-
Method Details
-
createDataStore
public org.geotools.api.data.DataStore createDataStore(TMFeatureSource tmfs, Integer timeout) throws IOException Description copied from class:FeatureSourceHelperCreate a GeoTools DataStore for the given TMFeatureSource.- Specified by:
createDataStorein classFeatureSourceHelper- Parameters:
tmfs- The feature source for which to create the datastoretimeout- Optional timeout in milliseconds for datastore operations, if supported by the datastore implementation- Returns:
- The created DataStore
- Throws:
IOException- If an error occurs while creating the DataStore
-
getFeatureTypeInfo
protected TMFeatureTypeInfo getFeatureTypeInfo(TMFeatureType pft, org.geotools.api.data.ResourceInfo info, org.geotools.api.data.SimpleFeatureSource gtFs) - Overrides:
getFeatureTypeInfoin classFeatureSourceHelper
-