Class WfsBookmarkResolver

java.lang.Object
nz.org.riskscape.engine.data.BaseBookmarkResolver<T>
nz.org.riskscape.engine.data.relation.RelationBookmarkResolver<BP>
nz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver<org.geotools.data.wfs.WFSDataStore,WfsBookmarkResolver.WfsParams>
nz.org.riskscape.engine.defaults.data.WfsBookmarkResolver
All Implemented Interfaces:
nz.org.riskscape.engine.data.BookmarkResolver, nz.org.riskscape.engine.Identified

public class WfsBookmarkResolver extends nz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver<org.geotools.data.wfs.WFSDataStore,WfsBookmarkResolver.WfsParams>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class nz.org.riskscape.engine.data.BaseBookmarkResolver

    nz.org.riskscape.engine.data.BaseBookmarkResolver.ProblemCodes
  • Field Summary

    Fields inherited from class nz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver

    DATA_LAYER, LOCK_DEFEATER

    Fields inherited from class nz.org.riskscape.engine.data.relation.RelationBookmarkResolver

    v2r

    Fields inherited from class nz.org.riskscape.engine.data.BaseBookmarkResolver

    engine
  • Constructor Summary

    Constructors
    Constructor
    Description
    WfsBookmarkResolver(nz.org.riskscape.engine.Engine engine)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.geotools.data.wfs.WFSDataStore
     
    protected Map<String,String>
     
    getFormat(nz.org.riskscape.engine.data.Bookmark bookmark)
     
     
    protected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.relation.Relation>
    wrapRelation(WfsBookmarkResolver.WfsParams params, org.geotools.data.wfs.WFSDataStore dataStore, nz.org.riskscape.engine.relation.FeatureSourceRelation relation, org.geotools.api.referencing.crs.CoordinateReferenceSystem crs)
     

    Methods inherited from class nz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver

    buildParameterSet, createFeatureSource, createRawRelationFromBookmark, crsAtAllCosts

    Methods inherited from class nz.org.riskscape.engine.data.relation.RelationBookmarkResolver

    applyFilter, build, getAliasMapping, getV2r, rasterize, setV2r, validateParameters

    Methods inherited from class nz.org.riskscape.engine.data.BaseBookmarkResolver

    attemptPrjParse, attemptPrjParse, bindAndValidate, checkFile, getBookmarkedPath, getBookmarkedPathOr, getEngine, getExtensions, getParameterSet, getParamsClass, newResolved, resolve, setCrs

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.data.BookmarkResolver

    getId, getName, supportedParameters

    Methods inherited from interface nz.org.riskscape.engine.Identified

    getIdentifiedClass
  • Constructor Details

    • WfsBookmarkResolver

      public WfsBookmarkResolver(nz.org.riskscape.engine.Engine engine)
  • Method Details

    • createDataStore

      protected org.geotools.data.wfs.WFSDataStore createDataStore(WfsBookmarkResolver.WfsParams params) throws MalformedURLException, IOException
      Specified by:
      createDataStore in class nz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver<org.geotools.data.wfs.WFSDataStore,WfsBookmarkResolver.WfsParams>
      Throws:
      MalformedURLException
      IOException
    • wrapRelation

      protected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.relation.Relation> wrapRelation(WfsBookmarkResolver.WfsParams params, org.geotools.data.wfs.WFSDataStore dataStore, nz.org.riskscape.engine.relation.FeatureSourceRelation relation, org.geotools.api.referencing.crs.CoordinateReferenceSystem crs)
      Overrides:
      wrapRelation in class nz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver<org.geotools.data.wfs.WFSDataStore,WfsBookmarkResolver.WfsParams>
    • getFormat

      public String getFormat(nz.org.riskscape.engine.data.Bookmark bookmark)
      Overrides:
      getFormat in class nz.org.riskscape.engine.data.BaseBookmarkResolver<WfsBookmarkResolver.WfsParams>
    • getFormats

      public Set<String> getFormats()
      Specified by:
      getFormats in interface nz.org.riskscape.engine.data.BookmarkResolver
      Overrides:
      getFormats in class nz.org.riskscape.engine.data.BaseBookmarkResolver<WfsBookmarkResolver.WfsParams>
    • getExtensionsToFormats

      protected Map<String,String> getExtensionsToFormats()
      Specified by:
      getExtensionsToFormats in class nz.org.riskscape.engine.data.BaseBookmarkResolver<WfsBookmarkResolver.WfsParams>