Skip to content

Commit

Permalink
skip_logic: implement on timemap's advanced params
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdalang committed Dec 22, 2023
1 parent 57aa785 commit bc89f01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions travel_time_platform_plugin/algorithms/advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ def initAlgorithm(self, config):
help_text=tr(
"Set which fields should be joined back in the output layer."
),
depends_on="INPUT_" + DEPARR + "_SEARCHES",
)
self.addParameter(
QgsProcessingParameterExpression(
Expand All @@ -515,6 +516,7 @@ def initAlgorithm(self, config):
help_text=tr(
"Specifies level of detail of returned shape using scale type `simple`. Allowed values: lowest, low, medium, high, highest."
),
depends_on="INPUT_" + DEPARR + "_SEARCHES",
)
self.addParameter(
QgsProcessingParameterExpression(
Expand All @@ -528,6 +530,7 @@ def initAlgorithm(self, config):
help_text=tr(
"Enable to return only one shape from the search results. The returned shape will be approximately the biggest one among search results. Note that this will likely result in loss in accuracy."
),
depends_on="INPUT_" + DEPARR + "_SEARCHES",
)
self.addParameter(
QgsProcessingParameterExpression(
Expand All @@ -541,6 +544,7 @@ def initAlgorithm(self, config):
help_text=tr(
"Enable to remove holes from returned polygons. Note that this will likely result in loss in accuracy."
),
depends_on="INPUT_" + DEPARR + "_SEARCHES",
)

# Define additional input parameters
Expand Down

0 comments on commit bc89f01

Please sign in to comment.