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

1
vote
0answers
10 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
16 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
42 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
30 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
70 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
56 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
29 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
38 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
88 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
114 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 ...
4
votes
2answers
68 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
43 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
80 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
101 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
82 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
20 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
80 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
67 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
87 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
46 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
61 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
58 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
383 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
337 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
0answers
53 views

How do I assign parameters for gdal proximity in QGIS?

I used to use the Proximity (Raster distance) option from the QGIS Raster menu a lot, which evidently corresponds to the commandline command, gdal_proximity.py. I'd like to be able to now use this ...
0
votes
2answers
143 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
14 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
75 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
167 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
458 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
38 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
102 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 ...
0
votes
1answer
97 views

ArcMap toolbox script with draw geometries parameter

I have an arcpy script in toolbox, that need one additional parameter to draw geometry(ies) which will work as a filter. I have done something similar using arcobjects using ...
2
votes
2answers
39 views

How do I know what parameters I can call for WMS layers?

I'm trying to learn OpenLayers but the documentation is hard to understand. For WMS layers, ex: var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", ...
1
vote
0answers
157 views

ArcGIS basemap Url and querystring parameters

This is very basic question but might quite important.While creating Arcobjects addin we give Url for basemap as Following: ...
0
votes
1answer
355 views

How do I choose parameters for the Huff model that best fit my data?

I'm using the Huff model for some analysis I'm doing. For those not aware, the Huff model is a probabilistic model for retail trade area analysis. H_ij is the probability that a person at location ...
4
votes
1answer
886 views

Populating a Value List in one Parameter, from Values Derived from a Second Parameter, Python

Using the Validator in the ArcGIS 10.1 tool GUI, can I loop through and List feature classes from a workspace type parameter (ie a file geodatabase) and then go on and list the values of a field in a ...
3
votes
2answers
110 views

Is it possible to have tool parameters appear only if clause met?

I'm writing an arcpy script for a tool that has a large number of parameters (around 10). About half of these are "dependent" (perhaps not in the technical sense of the term), as in [first ...
4
votes
1answer
346 views

How to populate SQL options for parameter in ArcGIS 10 tool?

I'm trying to create a tool where individuals can select a variety of records using a SQL expression that is then passed to a calculation. I can add a parameter under the tool, and select SQL ...
4
votes
1answer
496 views

Programmically Populate Value List in ArcGIS Tool Interface

I'm just trying to set up the parameters in a tool I've built in ArcGIS. What I want to do is read in a feature class or table and get the values in a specific field called "SITE". The field contains ...
3
votes
1answer
315 views

How to Clear Parameters from Model Builder - ArcGIS

I'm attempting to clear out the parameters from my model so that the parameter locations don't show up in the tool when launched from ArcToolbox. ESRI's resource center has a couple of sentences ...
1
vote
1answer
506 views

ArcGis 10.0 SP5 - Drag & drop support vs tool parameter types

I got a custom Python-tool, and one of the parameters is a (multivalue) "File" type parameter, filtered on a given set of extensions. Also, I got users requesting drag and drop; dragging files from ...
9
votes
1answer
784 views

How can I see the coordinate transformation parameters in QGIS?

How can I see (and edit if possible) the transformation method and parameters used by QGIS for "on-the-fly" transformation, and then for saving data in another CRS? Like in ArcGIS? Here is the ...
2
votes
0answers
268 views

How to Load a Record Set Parameter in a tool dialog

I am trying to create a tool that allows a user to update a table row without starting an edit session. I have a script tool set up with a record set parameter and I use this set up to add new rows to ...
3
votes
1answer
506 views

Parameterizing SQL Views Geoserver

I must do a view in geoserver. I seen some example here: http://docs.geoserver.org/stable/en/user/data/database/sqlview.html. The example show the operator like for parameterizing view. Suppose, now ...
4
votes
1answer
309 views

Calculate field based on a set value if optional parameter is not specified

In my model, I have a Calculate Field which will populate the field with a certain integer (in this case, 0). I've added an optional integer model parameter Start ID, where the user can specify the ...
0
votes
1answer
524 views

How to create a custom projection of PRS92 and UTM 51N for the Philippines? [duplicate]

Possible Duplicate: How to define new custom projections in QGIS? How do I create a customized CRS parameter in quantum GIS? I'm try to create a projection of PRS92 and UTM 51N. This ...
1
vote
1answer
485 views

Custom C# tool populate field combobox parameter from layer parameter

I'm creating a custom tool for arcmap toolbox where user select FeatureLayer in one combobox, and in next combobox user can select a field from selected FeatureLayer. FeatureLayer combobox fills ...
1
vote
1answer
260 views

Setting Script Tool Parameters Using Python and ArcGIS 9.3.1

Can't quite figure this out and i'm sure it's a simple fix. I have a script that utilizes the AGSSOM tool. It first stops all published services, allows for databases to be tidied up by ...
3
votes
2answers
2k views

Python in ArcGIS: How to use a variable as part of the output path

I´m trying to use a variable as part of the output path of a shutil command. Unfortunately I couldn´t work it out how to do it. Can anybody help? import arcpy import shutil Name = ...