Package nz.org.riskscape.ogr
Class OgrResolver
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.ogr.OGRDataStore,OgrResolver.OgrParams>
nz.org.riskscape.ogr.OgrResolver
- All Implemented Interfaces:
nz.org.riskscape.engine.data.BookmarkResolver
,nz.org.riskscape.engine.Identified
- Direct Known Subclasses:
GdbResolver
public class OgrResolver
extends nz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver<org.geotools.data.ogr.OGRDataStore,OgrResolver.OgrParams>
-
Nested Class Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.geotools.data.ogr.OGRDataStore
createDataStore
(OgrResolver.OgrParams params) protected Map<String,
Serializable> protected void
validateParameters
(OgrResolver.OgrParams params, nz.org.riskscape.engine.bind.BindingContext context) Methods inherited from class nz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver
buildParameterSet, createFeatureSource, createRawRelationFromBookmark, crsAtAllCosts, wrapRelation
Methods inherited from class nz.org.riskscape.engine.data.relation.RelationBookmarkResolver
applyFilter, build, getAliasMapping, getV2r, rasterize, setV2r
Methods inherited from class nz.org.riskscape.engine.data.BaseBookmarkResolver
attemptPrjParse, attemptPrjParse, bindAndValidate, checkFile, getBookmarkedPath, getBookmarkedPathOr, getEngine, getExtensions, getFormat, 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
-
OgrResolver
-
-
Method Details
-
createOgrConnectionParameters
-
createDataStore
protected org.geotools.data.ogr.OGRDataStore createDataStore(OgrResolver.OgrParams params) throws MalformedURLException, IOException - Specified by:
createDataStore
in classnz.org.riskscape.engine.data.relation.FeatureSourceBookmarkResolver<org.geotools.data.ogr.OGRDataStore,
OgrResolver.OgrParams> - Throws:
MalformedURLException
IOException
-
validateParameters
protected void validateParameters(OgrResolver.OgrParams params, nz.org.riskscape.engine.bind.BindingContext context) - Overrides:
validateParameters
in classnz.org.riskscape.engine.data.relation.RelationBookmarkResolver<OgrResolver.OgrParams>
-
getFormats
- Specified by:
getFormats
in interfacenz.org.riskscape.engine.data.BookmarkResolver
- Overrides:
getFormats
in classnz.org.riskscape.engine.data.BaseBookmarkResolver<OgrResolver.OgrParams>
-
getExtensionsToFormats
- Specified by:
getExtensionsToFormats
in classnz.org.riskscape.engine.data.BaseBookmarkResolver<OgrResolver.OgrParams>
-