Questions tagged [parameters]

Parameters are a type of variable used in a subroutine to refer to the data provided as input to the subroutine.

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

Using input parameter in address locator field map

I am trying to use input street address and zipcode variables defined using GetParameterAsText in an address locator script tool in ArcMap/Catalog. The locator works if I hardcode the actual field ...
Paul DiGirolamo's user avatar
1 vote
1 answer
61 views

Re-projecting an orthographic image to a equirectangular projection has some sort of problem. The poles are getting truncated. missing parameter?

Re-projecting an orthographic image to a equirectangular projection has some sort of problem. The poles are getting truncated. is there a parameter I am missing? Is there a difference between "...
Molly's user avatar
  • 35
3 votes
0 answers
18 views

Setting valid input types in Python Toolbox

When adding a python script tool to ArcToolbox, you can specify valid input types using the dropdown "Data Types" on the parameters tab in the tool properties. In Python Toolboxes you can ...
Midavalo's user avatar
  • 29.7k
1 vote
1 answer
32 views

Setting up parameters for linear referencing tools in ArcPy

I am attempting to write a python script to utilize the Create routes, Locate features along route, and Make route event layer tools from the Linear Referencing tool box. The ultimate goal is to write ...
Wes's user avatar
  • 11
3 votes
1 answer
131 views

Parameterizing SVG text rotation in QGIS

In QGIS, I made some custom SVG symbols for a project I’m working on and I’ve had success using parameters to control fill, stroke, and stroke width. However, I have text in the symbols that I would ...
Jacob Huffman's user avatar
1 vote
1 answer
44 views

feature creation window issue

When I click to create a feature, a window opens to define its attributes. However, with each created feature, this window does not appear in the same position and is shifted downwards. The size is ...
gregosse's user avatar
1 vote
0 answers
27 views

Choice of two input files in ModelBuilder

I'm trying to create a model in ArcGIS Pro that exports selected features in a map, to CAD. It is comprised of two nested models, the first model collects and manipulates the features and the second ...
Steve's user avatar
  • 773
0 votes
1 answer
113 views

Which parameter data types in a Python toolbox for selecting a path

I need to select a SDE PATH based on user selection on Python toolbox at ArcGIS Pro 2.7.1 and use this path at the code for setting like fc = 'Zone' SDEDir = inputPath arcpy.management.CalculateField(...
user1106951's user avatar
  • 1,498
2 votes
0 answers
124 views

Mininum cluster size in QGIS ST-DBSCAN sometimes not applied correctly

I have 7 point vector layers which I am clustering as a batch in QGIS using the standard ST-DBSCAN tool. On one instance, I formed two groups based on different minimum cluster sizes: 7 or 10. The ...
Barbara Perez de Araújo's user avatar
0 votes
0 answers
12 views

Error epoch in VRP

I'm currently using VRP for logistical routing needs, but when running it shows the error "Rtg_SaveVrp : 'UtcUtil_ToEpoch' failed because parameter 1 is not allowed to be null" on the web. I'...
dimas putra's user avatar
0 votes
0 answers
31 views

DDP Attribute Value / Parameter Data Type in ArcToolbox

I have created a Python script that exports the DDP pages into single PDFs based on the values of the attribute table. The Python is working fine but now I want to transfer it into an ArcToolbox, Here ...
GaliGIS's user avatar
  • 39
1 vote
1 answer
76 views

Calculate transformation parameters from known common points

I have 9 points both in a known and unknown coordinate system. Is there a way to calculate the transformation parameters with QGIS or ArcMap? Or any other free software?
Stefan's user avatar
  • 21
0 votes
1 answer
61 views

How to change eps float value to geographic meter distance

I have a problem in making distance meter parameters for the DBSCAN tool. The problem is that I don't know the eps unit to use and how to change it to meters to be a parameter. Here's the Python ...
dimas putra's user avatar
2 votes
3 answers
350 views

V.NET.SALESMAN problem filling in dialog box parameters

I have a problem with the process of the algorithm "V.NET.SALESMAN" that surely is simple but I can't do it. I have read Grass’ documentation and similar posts here in Stack Exchange but in ...
ANDRÉS's user avatar
  • 83
1 vote
1 answer
293 views

How to change the information of a text box inside a layout using ArcPy [closed]

I have a layout in which there are several text boxes. When I click on one of the text boxes, a window appears with several parameters, for instance the name of the text box: Imagine that I have two ...
Foeke Boersma's user avatar
0 votes
0 answers
20 views

Feature class parameters changing in saved models

I am building models in ModelBuilder, I add an "Append" geoprocess to a blank model, bring in the input and target Feature Classes (FC) from the Table of Contents (ToC) to link into the ...
forestGIS's user avatar
  • 313
5 votes
1 answer
613 views

Creating Checkbox list in Python script tool dialog ArcGIS Pro

I'm creating a Toolbox (.atbx) in ArcGIS Pro, that uses a Python script I'm developing. Basically, the feature I want to add in that tool is making the user to select (using a checkbox) a set of maps ...
Matt_Geo's user avatar
  • 1,050
1 vote
0 answers
75 views

Levenberg–Marquardt algorithm in Google Earth Engine for parameter optimization

I have managed to successfully run the model below in Google earth engine, however the parameters α and β are unknown coefficients that need to be determined through optimization based on the ...
Rozy's user avatar
  • 37
2 votes
0 answers
116 views

Pass parameters to GeoServer WMS parametric SQL view?

I would like to configure MapProxy to retrieve an SQL Parametric View based Layer from a GeoServer instance. I can successfully get one layer with the following source: services: demo: wms: md:...
jean pierre huart's user avatar
0 votes
1 answer
86 views

Geoprocess generates a standalone table for layers, what is the correct parameter setting for my ArcToolbox?

I have a toolbox that is executing locate features along routes for a number of layers in a map. For each iteration of the locate features along routes I am expecting a stand alone table for each of ...
SaltyPatriot's user avatar
1 vote
1 answer
427 views

arcpy.MakeTableView not adding table view to current map in ArcGIS Pro

Running a script tool where the final output needs to be joined to a feature class in a map and a definition query set to the table view after it is joined to the feature class. However, when I make ...
geoJshaun's user avatar
  • 1,525
3 votes
1 answer
658 views

How to set Folder as Parameter in PyQGIS script?

I know how to set the parameter of a folder but, not sure if I am using the right class.   I want a user to select a folder which has items inside it, to be used for processing.   When I use self....
AdamGIS's user avatar
  • 149
1 vote
0 answers
291 views

Registering raster layers in Amazon RDS PostgreSQL using enable_out_db parameter

I have an AWS RDS PostgreSQL instance (v.11) that I'm currently storing vector data in. I also have a lot of raster layers in AWS S3 that are COG geotiffs. I'd like to register them in the database to ...
isostaticrbnd's user avatar
1 vote
1 answer
224 views

Python Toolbox updateMessages - Remember message from an earlier validation?

Is there a way to retain Warning or Error messages for parameters between tool validation calls? In my example below, I want to check the input feature class for something, and add a warning message. ...
Brennan's user avatar
  • 628
1 vote
1 answer
70 views

Show inline substitution value as tool parameter

I am trying to name an output using inline variable substitution. I first use the calculate value utility to obtain the string I want (its name is Date in the model). I set this as a precondition so ...
OscarBau's user avatar
  • 700
0 votes
1 answer
92 views

Using Intersect with arcpy.GetParameterAsText() and ArcMap

I'm trying to use the intersect tool, with one of my inputs being from a get parameter as text. As I don't have an advanced licence I have to iterate through the list to run the intersect on each item ...
Michael's user avatar
3 votes
1 answer
185 views

ArcGIS Python Toolbox - Reordering parameters and reference by name instead of index

Is there a way to reference parameters in an ArcGIS Pro Python Toolbox by name, instead of by numeric index / positional argument? I built a data entry tool in a Python Toolbox that has over 100 ...
Brennan's user avatar
  • 628
1 vote
0 answers
36 views

ArcCatalog - Script - Parameter - Choose a previous one [closed]

I am working on a script that automates the following process: from coordinates in excel spreadsheet to a map in mxd or kmz. Because the set of coordinates are in two different zones, I have to ...
MrShaggy87's user avatar
1 vote
1 answer
197 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
158 views

ArcMap tool dialog says relative paths are incorrect

I have ArcMap 10.7.1 and I have created a Python script tool and tool dialog to run on it. I want to set a default value for one of my inputs on the tool dialog and have it be a relative path to a ...
Ellie 's user avatar
  • 69
3 votes
1 answer
142 views

Getting NameError on GetParameterAsText

I am trying to write a simple script that get input from a variable in ModelBuilder and use it in a Python script to "zoom" on a selected features in layout. Here is the script and the error:...
Oliver's user avatar
  • 37
1 vote
2 answers
108 views

Getting fields from layer calculated during process (output layer) for later calculate field that is parameterized using ArcPy with ArcMap

I'm working in Pycharm Python IDLE under ArcPy, to later work on setting up a toolbox in ArcGIS Desktop 10.7. I have a large script running in Python that works fine without parameters. Now, I want to ...
isidrop's user avatar
  • 66
0 votes
1 answer
400 views

Run arcpy-script as geoprocessing tool

I am trying to get my first python/arcpy script going, but I am stuck with implementing it into ArcGIS Pro. If my script is running inside the ArcGIS Pro Python-Window everything is executed well and ...
jonsken's user avatar
  • 89
1 vote
1 answer
139 views

Increasing networkx tolerance when attempting to find end nodes

I have a waterline dataset (.shp) where I have been using Shortest Path (Point to Point) analysis in QGIS 3.16. Using QGIS, I have found that if I do not increase the Topology tolerance parameter in ...
Derek_P's user avatar
  • 343
1 vote
1 answer
287 views

Accessing built in coordinate systems from ArcGIS Pro Python Toolbox tool

I am attempting to create a custom ArcGIS Pro Python Toolbox tool and some of the geoprocessing tools I use run slowly or not at all if the input DEM or environment is not projected first. I would ...
ffirgd's user avatar
  • 23
1 vote
1 answer
1k views

Creating secondary user parameter in FME that is based on input from first parameter

I would like to create a user parameter that can be completed based on the inputs of a previous parameter. I'm wondering if this is possible because the dataset is unknown until I use a user parameter ...
gisndev's user avatar
  • 348
0 votes
1 answer
163 views

adjust visualization parameters as parametric values

i want to define visualization parameters for maps as codes in main coding space not as import record for this, i want to calculate the min and max values of image and set them in visualization ...
Solmaz's user avatar
  • 149
1 vote
1 answer
116 views

Update features based on multiple GetParameterAsText

I am trying to figure out how to update feature attributes by user input parameters (GetParameterAsText). Current script the user inputs a arcpy.GetParameterAsText(can be multiple) then there is a ...
2Quiker's user avatar
  • 11
1 vote
1 answer
95 views

Parameters - geographic transformation - ArcGIS

Is there a way to know what parameters are set for any geographic transformation in ArcGIS?
Ariana Contreras's user avatar
0 votes
1 answer
139 views

Using ArcPy to write Python script with open variables for ModelBuilder of ArcMap

I have the following script: import arcpy from arcpy import mapping arcpy.env.workspace = r"C:\GIS\Test" mxd = arcpy.mapping.MapDocument(r"C:\GIS\Test\Mxd_to_shape.mxd") df = ...
MrShaggy87's user avatar
1 vote
1 answer
345 views

Autocomplete for input parameters in a Python toolbox for ArcMap (or ArcGIS Pro) [closed]

Is there a way to get word completion to work for string parameter inputs in a Python toolbox? We are working with very long value lists (a few thousand entries per list) and scrolling the drop-down ...
Zeygon's user avatar
  • 19
1 vote
0 answers
31 views

Parameterize script that serves as sub-tool of ModelBuilder of ArcMap

The following script is used to place shapes inside a .mxd project: import arcpy from arcpy import mapping arcpy.env.workspace = r"C:\GIS\Test" mxd = arcpy.mapping.MapDocument(r"C:\GIS\...
MrShaggy87's user avatar
3 votes
2 answers
1k views

Exporting selected layouts in ArcGIS Pro

I would like to export selected layouts from an ArcGIS project. The error I keep receiving is AttributeError: ValueObject: Get attribute exportToPDF does not exist Is there something different about ...
Thomas Quintero's user avatar
0 votes
0 answers
338 views

Creating user input parameter inside selectbyattribute query in ArcPy

I'm new to ArcPy and Python in general. I'm experimenting with Python within ArcGIS Pro, but I've encountered an issue, here is the code: import arcpy arcpy.env.workspace = "C:/Users/Nastgardaren/...
Nastgardaren's user avatar
3 votes
1 answer
196 views

Getting new parameter after Python Toolbox gets executed

I am trying to build a toolbox which would first take some inputs and execute some code and return me results. After the results I would like toolbox to ask me for new parameters so I can use these ...
Fatih Enes's user avatar
2 votes
2 answers
930 views

Grouping Parameters in Python Toolbox of ArcGIS Pro

I am making a Python Toolbox for ArcGIS Pro. The main tool in the toolbox needs to have 5 radio buttons: Users can select any number of options (from 0 to 5). Is it possible to group or cluster the ...
Keggering's user avatar
  • 1,069
-3 votes
1 answer
70 views

Data Type that can be used to select Desktop as a folder in ArcGIS Python Toolbox (ArcGIS Desktop: ArcMap 10.6)

I have created a Python Toolbox. While setting up my tool, in the parameters I am trying to find a data type to use in order to select Desktop as the location to create a folder. I need to find a ...
Ayayayayaoh's user avatar
0 votes
1 answer
209 views

ArcPy scripts input/output [closed]

I have an ArcPy script, which I use with ArcGIS Pro. I use one feature class as input_feature, do some calculations and write results in another feature class (output_feature). Is it possible to use ...
Ana's user avatar
  • 79
2 votes
2 answers
189 views

Is it possible to check the z factor of a hillshade in the layer properties in QGIS?

I'm working with QGIS 3.18 and I want to compare the visual performance of different hillshade layers. For one that I already have I wanted to chek the building parameters, specially the z-factor but ...
IberOikos's user avatar
4 votes
1 answer
277 views

Using shortestpathpointtopoint tool with PyQGIS

I am a total beginner with Python and programming in GIS in general. I have point data and I want to compare in which month people walked the longest distance. It is a relative large dataset and I ...
Ben Cyffka's user avatar

1
2 3 4 5
8