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

learn more… | top users | synonyms

0
votes
0answers
10 views

Adding in additional OpenLayers layer trees from layer parameters

I am developing an OpenLayers 3 web application were I would like to incorporate more than one Layer Tree. I have this JSFiddle set up that has a map with multiple layers and one Layer Tree. I would ...
1
vote
1answer
49 views

Python toolbox - keep parameter value updated after re-altering parameters

I am writing a Python toolbox with (among other) 3 parameters: 2 boolean (check boxes) and 1 string. The string parameter's properties depends on the 2 booleans' value: If at least the first boolean ...
0
votes
0answers
13 views

Writing Script for establishing parameter files for MRT

I have 15 years of MODIS data that I need to mosaic and resample using the MRT program. But to do so I need to set up parameter files for every date as there are multiple files for every day in the ...
1
vote
0answers
26 views

Loop to increase value on Parameter of Model?

I'm working on the ArcGIS Model Builder to develop a model that makes a Raster Calculation using a Value Parameter and analyzes the maximum pixel value of the result, comparing to a Reference Value. ...
1
vote
0answers
20 views

Display tabs don't appear when files and folders are selected in QGIS?

My setup: QGIS 2.8.1 Wien on OS X 10.10.2 I'm a complete beginner at GIS and I'm having trouble on getting the Param/Metadata/Preview/Attributes tabs to appear in the Display Window. When I select a ...
1
vote
1answer
52 views

Setting parameters in ArcGIS desktop script

How would I create the parameters pixel_type and number_of bands (as found in MosaicToNewRaster) as user inputs at the start of my own script? ERROR 000714: Error in script BatchMosaic. Error in ...
0
votes
0answers
18 views

MosaicToNewRaster parameters in ArcMap desktop script

What is the correct format for adding parameters within a script which uses MosaicToNewRaster? This is not correct: output_name = arcpy.GetParameterAsText(2) Trying to add 3 parameters: name, ...
4
votes
1answer
111 views

How to create list of strings as parameter to script

I am trying to have a list of strings to pass as parameter to my script: when I start the script it displays: With "Add Value' button disabled. What am I missing here?
1
vote
1answer
116 views

How to get multiple value pairs as python script tool parameter

I've tried several different data types but can't figure out how to allow a user to create a list of elevation-temperature pairs. For example, a spreadsheet might look like this: Is there a ...
0
votes
1answer
155 views

Python Toolbox Parameter List Update/Refresh?

I am using a python toolbox in ArcGIS 10.2.2 and want a drop down list of all the versions for the person reconciling to choose from. (And I do not want to include dbo.DEFAULT and DS.Draft). But this ...
3
votes
1answer
95 views

How to choose a derived attribute as a parameter in FME?

Is it possible to have an FME parameter read attributes from a feature class that has been defined in a previous attribute? So, in other words, I when selecting the Prompt and Run option, the user ...
1
vote
2answers
116 views

Inline variable substitution in Model Builder using python code

I have an inline variable substiution which I would like to import into my Python script. Is that possible? I am trying to make a parameter within my path. My path currently is ...
0
votes
1answer
179 views

SyntaxError: can't assign to function call, arcpy set parameter as text

I have a python script loaded into arcgis ModelBuilder, and when I run the model I keep getting an error when the script tries to run, at the line where I am setting the output as a text parameter. ...
1
vote
2answers
39 views

Getting number as parameter to use in SQL expression leads to ExecuteError: ERROR 000358?

In my script I am using the Select tool (arcpy.Select_analysis) and in the SQL expression, I want to use a number that I call in as a parameter. I have trying to script it like: subsize = ...
1
vote
1answer
235 views

Issue with using arcpy.GetParameter and arcpy.GetParameterAsText to write layer source to text file

I am trying to get a Map Document and (a new) text file as user defined parameters, in order to write to the text file a list of layer sources. The text file is then suppose to open once complete. ...
0
votes
2answers
82 views

What fields can the CalculateField_management expression parameter contain?

What fields can the CalculateField_management expression parameter contain? I mean the parameters can be the fields what are in the output table, or can they be a field of another table too? There ...
0
votes
0answers
38 views

Parameters for CreateFishnet

I´m about to create a fishnet. The CreateFishnet tool has several parameters, between them the origin_coord - The starting pivot point of the fishnetl. Data type of this parameter is Point Now there ...
0
votes
1answer
322 views

Python: TypeError: a float is required

I have a python script with some parameters - see screen. You see the last parameter is of type Double, default Value 0. The code i have this: Ausrichtung = float(arcpy.GetParameterAsText(9)) if ...
0
votes
2answers
99 views

User interaction with Python tool midway through script running? [duplicate]

I need to design a Python script that will take a CSV input, search for a matching polygon in our SDE data for each line, and then extract certain information about data that intersects with the ...
1
vote
0answers
37 views

How do you restrict road access by vehicle type in ArcGIS Network Analyst?

Is there a way to restrict road access by vehicle type? Some roads restrict trucks, some roads have height/weight restrictions, and some roads are restricted by the type of license plate (e.g., ...
1
vote
0answers
26 views

How do you restrict road access by time in ArcGIS Network Analyst? [duplicate]

I was wondering if there's a way to restrict road access based on time of day (i.e., create a time restricted road). I'm familiar with restricting roads based on vehicle weight/height, but time ...
6
votes
2answers
1k views

Transformation parameters for Everest datum to WGS84

I have a shapefile with the following projection information: ...
1
vote
1answer
37 views

issues with incorporating sub model which includes iterating featureclasses as output

Does anyone know why my model builder does not work when I tried to incorporate a sub-model into my main model? This is my problem: I created a sub model in which copies featureclasses within a ...
1
vote
0answers
14 views

Multi-Lingual Places API

I'm developing a website and I'm looking for a places api (that isn't google!) one which can take a place parameter in any (or most) languages and return me values both in the language I've sent the ...
1
vote
1answer
111 views

Using tool validation to create parameter based on fields of another parameters input?

I'm assuming I'm missing something and this is a pretty easy thing to do but I'm stumped... I'm working on a script that currently takes and input excel file and uses a "hard coded" field name that I ...
0
votes
1answer
70 views

Field parameter in Modelbuilder - empty?

I have built a model, as input parameter I have a 2 parameters: a Feature Layer and a Field But when I run the model, the Field-Parameter has no values to select. How can I tell the model builder, ...
0
votes
0answers
37 views

6s parameters used in grass gis

I am working on grass gis 6.4.4 , i.atcorr module. There is no clear document for the parameters used for the calculation of 6s output parameters. I want to know about the parameters such as ti.sast, ...
1
vote
2answers
242 views

Prompting “parameter window” during execution of ArcGIS Python script tool (or model)?

I am pretty new to ArcGis and ArcPy, so I apologize if my question seems straightforward. However, I have been looking on the web for quite a while and didn't find any answer so far. I am using ArcGIS ...
1
vote
2answers
201 views

Non-standard WMS parameters not sent in GetMap requests via QGIS?

I am coding a python plugin to QGIS that connects to the UK National Biodiversity Network (NBN) Web Mapping Service (WMS). In general, I don't have any problems doing this with the QgsRasterLayer API ...
1
vote
0answers
33 views

Enable/Disable Parameters based on Boolean

I'm working in model builder and I have a boolean parameter that determines which of two processes run. Right now, all of the parameters for both processes show up when I run the model. Is there a ...
1
vote
1answer
31 views

Using global parameters in nested models of ModelBuilder?

I have a model that consists of two nested models and various parameters. There are two parameters that are common to all of the models (including the overall “grand” model). The common parameters are ...
1
vote
1answer
173 views

How to generate a choice list (dropdown) in a toolbox that will allow the user to select a field in a csv as input?

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 ...
0
votes
1answer
73 views

Parameters for optimizing interpolation in ArcGIS for Desktop?

Is there any criteria to know the most proper parameters for an interpolation method in ArcGIS (such as, for IDW: Neighbors (min and max), sector type, semiaxis length, angle, search neighborhood)? ...
2
votes
2answers
623 views

How to display distance in meters (km) and not in Decimal Degrees in QGIS 2.4?

I am a GIS beginner, and I have a question about how to get the distance between two points in meters instead of decimal degree. In QGIS 2.4 I have a project with two point layers (in WGS84). From ...
1
vote
0answers
110 views

Cause of Error 000308: Invalid Field Type when batch running ArcPy script?

This is my first post on this site. I am using ArcGIS 10.2 for Desktop. I wrote a simple script in the form of a python toolbox to calculate the speed of travel between consecutive entries of a ...
0
votes
1answer
52 views

Interaction with two variables as parameters, saving the raster properties output into a table (.dbf)

The draft of the model below TASK: I need to calculate the percentage of river channel that is covered with shadow in each timestep RESOURCS: I have values for azimuth and elevation of the sun ...
1
vote
1answer
91 views

Resampling with Python console (QGIS): number of parameters

I am trying to resample two raster layers with Python console in QGIS with this code: outputs_0=Processing.runAlgorithm("saga:resampling", ...
1
vote
1answer
289 views

Multivalue parameter as text in Python toolbox - reading in to imported module function

I'm building a Python toolbox with a tool which calls specific functions from a custom module. The main input parameter for this tool is a multivalue list of raster layers. In the execute block of ...
2
votes
1answer
306 views

FME - Use Python Caller to Set Search Envelope in Another Workspace

I have an FME workspace which has a number of different workspaceRunner transformers. The first workspaceRunner launches a workspace which buffers a pipeline and outputs the bounding coordinates to a ...
3
votes
2answers
112 views

FME - Conditionally make parameters visible

I have an FME workspace in which the user sets several parameters before running. The first parameter is a multiple choice where the user selects which layers they would like to process. Depending on ...
0
votes
2answers
80 views

FME - Filter Parameter choices to only projected coordinate systems

I have an FME workspace in which the user sets several parameters before running. One of the parameters is a Coordinate System. I would like the user to choose only Projected Coordinate Systems as ...
4
votes
2answers
151 views

ArcGIS Toolbox, parameters for python script not as positional arguments

I have an ArcGIS Toolbox with a bunch of parameters. A python script is used to perform some raster operations, based on this parameters. I am using Python argparse in the script to get the ...
0
votes
2answers
273 views

How to make variables output to user defined workspace

I am running a script in ArcMap and I want to reference the user defined workspace as an output instead of hard coding it in. I have the scratch output set as a user defined parameter. However, I ...
0
votes
1answer
33 views

Can I get gml:id from GetFeature request

I want to make a call to geoserver like http://someurl:8080/geoserver/wfs?service=wfs&request=GetFeature --&someParameters...-- and get from geoserver just items I wrote in the parameters. For ...
0
votes
1answer
150 views

Weighted Overlay - passing parameter as text error?

For some reason when hardcoding the save path for the wieghted raster just before runtime it works perfectly. Like such... arcpy.env.cellSize = "90" arcpy.env.workspace = r'G:\Xcel\Route ...
0
votes
2answers
101 views

Problem validating parent model with nested models in modelbuilder

I have a parent model with several nested models. I'm having trouble getting the parent model to validate. The issue is with sub model 4. The two screenshots are of the parent model and sub model ...
0
votes
1answer
239 views

How to set parameter filters in ToolValidator?

I am populating parameter[2] using validation code provided by ESRI. How can I modify this code to repeat for parameter[3] what was done for parameter[2]? To elaborate...param[0] is a user supplied ...
0
votes
1answer
68 views

Set ArcGIS Tool Parameter to Obtain From it's own Source?

I am building a python tool in ArcGIS. When I build the parameters I will have 3: Choose a shapefile (parameter data type = shapefile) Choose an SQL query (parameter data type = SQL Expression) ...
0
votes
1answer
103 views

Modelbuilder Parameters - cannot select input files when model dialogue box is open

I created a model in modelbuilder and set the inputs to be parameters. When I open the model and the tool dialogue box shows up, the input files that I wish to select are not shown. These inputs are ...
0
votes
1answer
88 views

python tool parameter: what datatype to list unique values of field?

I'm attempting to convert a 9.3 arcobjects tool to a 10.2 python tool. The form needs to allow user input of a shapefile, a field, and then the user needs to enter numbers corresponding to unique ...