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
1answer
44 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
1answer
37 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
35 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 ...
1
vote
1answer
29 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
35 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
38 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
134 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
145 views

Best way to use arcpy.GetParameterAsText() or arcpy.GetParameter() to pass a datetime.timedelta to a 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
32 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
95 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
13 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 ...
0
votes
1answer
38 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
69 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 ...
3
votes
1answer
217 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
34 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
71 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
79 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
34 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
100 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
0answers
67 views

calculation of transformation parameters in qgis

How to calculate transformation parameters like scale, rotaion, translation in qgis for performing affine tranformation?
0
votes
0answers
33 views

calculation of transformation parameters [duplicate]

how to calculate transformation parameters like scale, rotation, translation in qgis?
0
votes
1answer
238 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
531 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
87 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
236 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
352 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
241 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
361 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
582 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
205 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
419 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
259 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
355 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
402 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
222 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
1k 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 = ...
3
votes
1answer
317 views

How to fill Field Mappings parameter in script tool on updateParameters?

My goal is to get a list of fields choosen by an user from existing fields in feature class. I think that I can show all fields in Field Mappings dialog, an user deletes unwanted fields and I get a ...
3
votes
1answer
115 views

How can i get a transformation-parameters-report (spatial-adjustment)

everyone! In ArcGIS resource center about spatial adjustment (How Transform works), there are transform report like this ! Scale (X,Y) = (249.927,249.927) Rotation (degrees) = (0.362) Translation = ...
1
vote
2answers
421 views

Adding result of geoprocessing service — consume in ArcMap desktop

I am new to ArcGIS Server. I have a Python script tool that I've published as a geoprocessing service. The script takes a point feature class, writes a subset of the input FC as a new FC in the ...
5
votes
1answer
2k views

Setting Output Parameter in ArcPy for Server Tool

I have published the following script tool (which is wrapped in a model, i.e. just the script tool and all of its parameters) to ArcGIS Server 10. The GP service succeeds when run, but I cannot ...
1
vote
1answer
125 views

How Do I Debug QuickExport Parameters in the Data Interoperability Extension for ArcGIS 10 to Exporting to Postgres

I tried to configure the QuickExport parameters by examining the log file after I used the QuickExport tool itself. The only things I changed from the log file are the parameters as I want the user to ...
1
vote
3answers
1k views

Unable to Provide Input for a MultiValue Parameter Script Tool

I have the following script: #Import ArcPy site package import arcpy from arcpy import env from arcpy import Raster from arcpy.sa import ZonalStatistics from arcpy.sa import CreateConstantRaster # ...
9
votes
3answers
3k views

Setting parameters in Script Tool using Python

I hate to bug you all with the same problem over and over again but I run into a new problem everytime I make a slight change to the code. All I did to the code below was to replace field names to ...
0
votes
3answers
2k views

Using URL parameters in ArcGIS Server 10 Viewer for Flex

Anyone know if you can use URL parameters to turn on layers. I have had success using URL parameters to go to specific coordinates.
3
votes
1answer
626 views

Ordnance Survey data to WGS-84

Recently I have reprojected Ordnance Survey data from British National Grid (ORD SURV GB) to WGS-84 using ArcGIS 9.2. After re-projecting I have found some shift in the data. Can any body guide me ...