Class CsvResolver
java.lang.Object
nz.org.riskscape.engine.data.BaseBookmarkResolver<T>
nz.org.riskscape.engine.data.relation.RelationBookmarkResolver<CsvResolver.CsvParams>
nz.org.riskscape.engine.defaults.data.CsvResolver
- All Implemented Interfaces:
nz.org.riskscape.engine.data.BookmarkResolver
,nz.org.riskscape.engine.Identified
public class CsvResolver
extends nz.org.riskscape.engine.data.relation.RelationBookmarkResolver<CsvResolver.CsvParams>
Can construct a geometry-less CSV relation from a url, and has some support for creating a geometry-fied type using bookmark attributes.
-
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.RelationBookmarkResolver
v2r
Fields inherited from class nz.org.riskscape.engine.data.BaseBookmarkResolver
engine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.relation.Relation>
protected void
validateParameters
(CsvResolver.CsvParams params, nz.org.riskscape.engine.bind.BindingContext context) 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, buildParameterSet, checkFile, getBookmarkedPath, getBookmarkedPathOr, getEngine, getExtensions, getFormat, getFormats, 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
-
Field Details
-
EXTENSIONS_TO_FORMATS
-
-
Constructor Details
-
CsvResolver
public CsvResolver(nz.org.riskscape.engine.Engine engine)
-
-
Method Details
-
createRawRelationFromBookmark
protected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.relation.Relation> createRawRelationFromBookmark(CsvResolver.CsvParams params) - Specified by:
createRawRelationFromBookmark
in classnz.org.riskscape.engine.data.relation.RelationBookmarkResolver<CsvResolver.CsvParams>
-
getExtensionsToFormats
- Specified by:
getExtensionsToFormats
in classnz.org.riskscape.engine.data.BaseBookmarkResolver<CsvResolver.CsvParams>
-
validateParameters
protected void validateParameters(CsvResolver.CsvParams params, nz.org.riskscape.engine.bind.BindingContext context) - Overrides:
validateParameters
in classnz.org.riskscape.engine.data.relation.RelationBookmarkResolver<CsvResolver.CsvParams>
-