Class RelationBookmarkParams

java.lang.Object
nz.org.riskscape.engine.data.BookmarkParameters
nz.org.riskscape.engine.data.relation.RelationBookmarkParams

public class RelationBookmarkParams extends nz.org.riskscape.engine.data.BookmarkParameters
  • Field Details

    • skipInvalid

      public boolean skipInvalid

      Setting this to true for a bookmark will cause the relation to skip tuples that were invalid, ideally logging the error to the user in the process. Any InvalidTupleException will be 'swallowed', logged, and moved along.

      Relations should catch expected data issue exceptions and wrap them in an InvalidTupleException if they want them to be skippable with this flag. This is true of the TypeProjection that is applied when the type is set.

    • type

      public Optional<nz.org.riskscape.engine.types.Type> type
    • mapAttribute

      public Optional<nz.org.riskscape.engine.data.relation.AttributeMap> mapAttribute
    • setAttribute

      public Optional<nz.org.riskscape.engine.data.relation.AttributeMap> setAttribute
    • crsName

      public Optional<String> crsName
    • crsLongitudeFirst

      public boolean crsLongitudeFirst
    • crs

      public Optional<org.geotools.api.referencing.crs.CoordinateReferenceSystem> crs
    • rasterize

      public boolean rasterize
    • rasterizeExpression

      public Optional<nz.org.riskscape.rl.ast.Expression> rasterizeExpression
    • rasterizeScaleFactor

      public Optional<Double> rasterizeScaleFactor
    • rasterizeGridSize

      public Optional<Double> rasterizeGridSize
    • layer

      public Optional<String> layer
    • coverageTitle

      public String coverageTitle
    • filter

      public Optional<nz.org.riskscape.rl.ast.Expression> filter
    • validateGeometry

      public Optional<nz.org.riskscape.engine.geo.GeometryValidation> validateGeometry
  • Constructor Details

    • RelationBookmarkParams

      public RelationBookmarkParams()
  • Method Details

    • getDataType

      public Class<?> getDataType()
      Specified by:
      getDataType in class nz.org.riskscape.engine.data.BookmarkParameters