Class WFSFeatureSourceHelper

java.lang.Object
org.tailormap.api.geotools.featuresources.FeatureSourceHelper
org.tailormap.api.geotools.featuresources.WFSFeatureSourceHelper

public class WFSFeatureSourceHelper extends FeatureSourceHelper
  • 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: FeatureSourceHelper
      Create a GeoTools DataStore for the given TMFeatureSource.
      Specified by:
      createDataStore in class FeatureSourceHelper
      Parameters:
      tmfs - The feature source for which to create the datastore
      timeout - 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:
      getFeatureTypeInfo in class FeatureSourceHelper