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

2
votes
1answer
19 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
31 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
46 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
35 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
48 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
38 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
30 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
65 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
77 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
22 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
25 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 ...
5
votes
2answers
372 views

Transformation parameters for Everest datum to WGS84

I have a shapefile with the following projection information: ...
1
vote
1answer
20 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
13 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
56 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
29 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
22 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, ...
2
votes
2answers
104 views

ArcGIS 10.2 : How to prompt a “parameter window” during the execution of a 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 ...
0
votes
2answers
92 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
29 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
24 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
96 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
47 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
1answer
245 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
84 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
37 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
57 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
183 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
205 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
88 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
62 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 ...
0
votes
0answers
145 views

How to create a feature class from a DEFeatureClass output parameter

I'm writing a geoprocessing tool with ArcObjects for Java. My tool takes in parameters one feature class (from a layer, a shapefile or a GDB) and others parameters. The parameter in output is a ...
4
votes
2answers
126 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
140 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
31 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
117 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
82 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
147 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
56 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
77 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
67 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 ...
2
votes
1answer
537 views

How to build SQL Expressions in ArcGIS 10.1 Python script tool dialog?

I've made a python tool that requires the user to establish which state to select within an input's table (the "Prepared Footprint"). However, once the user drops in the layer and tries to write the ...
1
vote
1answer
425 views

Using arcpy.GetParameterAsText() or arcpy.GetParameter() to pass datetime.timedelta to script?

I have a function that takes a datetime.timedelta as an argument in a script that I want to use in ModelBuilder. I don't see an option for that as a parameter type, so for now I have a solution that ...
0
votes
2answers
165 views

Adding Python Script to Custom Tool

I am probably making a simple mistake but can't seem to figure it out, only a beginner.The Select By Location Script is working and it exports to excel when it is run from Python GUI, it also works in ...
0
votes
0answers
16 views

Multiple viewparams in openlayer [duplicate]

I use geoserver to visualize my maps with a sql-view, i need to pass 3 parameters with openLayers to construct the view. I tried a few things but he only takes 1 parameter: csm = new ...
1
vote
1answer
99 views

Python Stand Alone ArcGIS toolbox output feature class becomes input feature class within same tool?

Developing a script in toolbox. I have a table that I use to make X Y layer (input 1) I am saving that created layer as a point feature class. (output 1) I then want to run kriging on that newly ...
0
votes
0answers
245 views

Date Parameter in model builder - ArcMap

Basically I'm building a model where the user has to select the data from a drop down list and the result is executed. I have a problem when trying to pass a date as a parameter. Below you can find ...
4
votes
1answer
641 views

In ArcObjects, how do I change the spatial reference of a Map (Data Frame) in an existing MXD?

I need to change the spatial reference of an existing MXD programmatically. In ArcMap UI, I would take the following steps: 1) Open the data frame properties and go to the Coordinate System tab; 2) ...
2
votes
1answer
40 views

How to Set the width of a dropdown box?

I have created my own script in ArcGIS 10.1 and for one of my parameters I have a drop down list that the user has to select from. The longest entry in that list is only 6 characters, but the width ...
1
vote
2answers
118 views

How do I pass an array of map points to a new ArcGIS service I'm writing

So it appears that creating a parameter requires that a Schema be defined in the database. I have Simple_Point and Simple_Polyline defined there already. My parameters are as follows: Parameter ...