Skip to main content

Questions tagged [choice-list]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

How the GeoNetwork TopicCategory selector for ISO19115-3 works

I'm trying to use the TopicCategory widget that GeoNetwork v4.4 uses in ISO19115-3 editor. Looks like its implemented with an angular directive (TopicCategoryDirective.js), with an associated angular ...
smrTucson's user avatar
2 votes
0 answers
102 views

Is there a way in pyQGIS to change parameter inputs based on what the user selects in other parameters? [duplicate]

Say I have a number of inputs in a python script. If a user selects a certain value in an input then the other inputs can change/disable/new parameters pop up that where hidden, ect. Is there anything ...
AdamGIS's user avatar
  • 149
1 vote
1 answer
200 views

Restricting one parameter value list against another's chosen value in Python Toolbox using ArcPy with ArcGIS Pro

I have a script loaded as a toolbox into ArcGIS Pro. It has two multi-value string parameters. Is there a way to restrict the second parameter's list against the first? For example, if a user picks &...
JackOfTales's user avatar
3 votes
1 answer
89 views

Performing operations on Python Script tool startup

I want to perform a selection on tool startup in order to obtain a choice list for parameter derived from selected features. Code kind of works, as I get my choice list with correct values, however it ...
Kubson's user avatar
  • 614
2 votes
1 answer
1k views

Creating multi-value choice list of field values and using selected for select in ArcPy?

I am using ArcMap 10.3. I have created a multi-value choice list following this blogpost: https://blogs.esri.com/esri/arcgis/2012/07/16/generating-a-multivalue-choice-list/ I changed the validation ...
Aldi Kasse 2's user avatar
1 vote
1 answer
551 views

Creating dropdown option when setting up Python script into ArcToolbox? [closed]

I created a script that I will import to an ArcToolbox. On the display name section, I have asked the user to choose a workspace, select the shapefile, field name, and an option to make a pdf, jpeg or ...
Trey's user avatar
  • 171
7 votes
2 answers
4k views

ArcGIS Python Script Tool Field Name Drop Down?

I have a python script that checks file path names for corresponding files in a drive location. All of the inputs were originally hard coded, and it works well enough: import arcpy import os ...
dwight's user avatar
  • 295
0 votes
0 answers
353 views

Generating choice list (dropdown) in toolbox to allow user to select field in CSV as input? [duplicate]

I need to input a csv as parameter 1. Parameter 2 should be a dropdown displaying the various fields (the headerline) where I can select a column to use for geoprocessing. Param1: c:\my.csv Param2:...
user1697400's user avatar
11 votes
3 answers
5k views

Generating multivalue choice list in ArcGIS using Tool Validation without using Frequency

I am using ArcMap 10.2. I'm trying to adapt a model and script combination found on ESRI's blog site titled 'Generating a multivalue choice list'. However, I've concluded that part of the validation ...
Clickinaway's user avatar