# 
# RiskScape™ Copyright New Zealand Institute for Earth Science Limited
# (Earth Sciences New Zealand) is distributed for research purposes only
# under the terms of AGPLv3.
# 
# RiskScape™ Copyright 2025 New Zealand Institute for Earth Science
# Limited (Earth Sciences New Zealand). All rights reserved. Source code
# available under the AGPLv3.
# 
# This program is free software: you can redistribute it and/or modify it under
#  the terms of the GNU Affero General Public License as published by the Free
#  Software Foundation, either version 3 of the License, or (at your option) any
#  later version.
# 
# This program is distributed for RESEARCH PURPOSES ONLY, in the hope that it will
# be useful for research and education initiatives.
# 
# If you are not a researcher, or you are a researcher who wishes to use this
# program on terms other than AGPLv3 (including those who wish to restrict the
# distribution of any source code created using this program), please contact:
# https://riskscape.org.nz
# 
# This program is distributed WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Affero General Public License for more details.  You should have received a copy
# of the GNU Affero General Public License along with this program.  If not, see
# <http://www.gnu.org/licenses/>.
# 
# By way of summary only, under the AGPLv3:
#     • Permissions of this strongest copyleft license are conditioned
#       on making available complete source code of licensed works and
#       modifications, which include larger works using a licensed work,
#       under the same license.
#     • Copyright and license notices must be preserved.
#     • Contributors provide an express grant of patent rights.
#     • When a modified version is used to provide a service over a
#       network, the complete source code of the modified version must be made
#       available.
# 
#
# CuttingIncludes
#
nz.org.riskscape.wizard.model2.input.CuttingIncludes.ONLY_INTERSECTIONS.description = \
   Only include the parts of this layer's geometry that overlap exactly with the cut layer geometry. This will throw \
   away any features that fall outside of the bounds of the cut layer. It will also throw away any \
   parts of the input geometry that don't overlap with geometry in the cut layer.

nz.org.riskscape.wizard.model2.input.CuttingIncludes.ALL_PARTS.description = \
  Retain all parts of the original input geometry, regardless of whether they overlap with the cut layer or not.

#
# CutType
#
nz.org.riskscape.wizard.model2.input.CutType.BY_DISTANCE.description = \
    Cut the lines/polygons in this layer by a specific distance in metres.

nz.org.riskscape.wizard.model2.input.CutType.BY_LAYER.description = \
    Cut the lines/polygons in this layer by where they intersect with features in another layer. \
    This can be useful if you want to cut up large features, such as roads, by regional boundaries.

#
# FilterType
#
nz.org.riskscape.wizard.model2.input.FilterType.BY_EXPRESSION.description = \
    Include anything in this layer with an attribute that matches a specific condition, E.g. construction = 'brick'

nz.org.riskscape.wizard.model2.input.FilterType.BY_FEATURE_IN_LAYER.description = \
    Include anything in this layer that intersects a specific feature (or features) in another 'filter' layer. \
    E.g. filter by by a regional boundary of interest.

nz.org.riskscape.wizard.model2.input.FilterType.BY_LAYER_BOUNDS.description = \
    Include anything in this layer that falls within the bounds (or extent) of another 'filter' layer. \
    E.g. filter by the bounds of the hazard

#
# SampleType
#
nz.org.riskscape.wizard.model2.smp.SampleType.CENTROID.description = \
  Use the centroid point of the element-at-risk's geometry to find a match in the other layer. \
  This is a very predictable approach, but may miss cases where the layers do intersect but just not at the centroid.

nz.org.riskscape.wizard.model2.smp.SampleType.CLOSEST.description = \
  Look for anywhere the element-at-risk's geometry intersects with the other layer. \
  If multiple matches are found then the one that is closest to the exposure's centroid is chosen. \
  This is a good all-round approach, and a buffer/margin-of-error can also be applied when looking for matches.

nz.org.riskscape.wizard.model2.smp.SampleType.ALL_INTERSECTIONS.description = \
  Finds all places where the element-at-risk intersects the other layer. \
  This is the most accurate approach, but is more complicated because you end up with a list of multiple matches. \
  For hazard-layers, this approach allows you to find the max hazard value, or to run all hazard values through your function. \
  A buffer can also optionally be applied to the element-at-risk when matching.

#
# Enlarge Step
#
nz.org.riskscape.engine.steps.EnlargeStep.EnlargeMode.ROUND.description = \
  Will round off corners.

nz.org.riskscape.engine.steps.EnlargeStep.EnlargeMode.BEVELED_SQUARE.description = \
  Corners are beveled. Lines are made longer with square ends.

nz.org.riskscape.engine.steps.EnlargeStep.EnlargeMode.BEVELED_FLAT.description = \
  Corners are beveled. Lines do not become longer.

nz.org.riskscape.engine.steps.EnlargeStep.EnlargeMode.MITRED_SQUARE.description = \
  Keeps the original shape (i.e. sharp corners). Lines are made longer with square ends.

nz.org.riskscape.engine.steps.EnlargeStep.EnlargeMode.MITRED_FLAT.description = \
  Keeps the original shape (i.e. sharp corners). Lines do not become longer.

#
# SortBy.Direction
#
nz.org.riskscape.engine.sort.SortBy.Direction.ASC = Ascending order. Smallest to largest, or alphabetically
nz.org.riskscape.engine.sort.SortBy.Direction.DESC = Descending order. Largest to smallest


nz.org.riskscape.wizard.CompositeField = ''{0}'' parameter key