Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Developing a script in toolbox.

  1. I have a table that I use to make X Y layer (input 1)

  2. I am saving that created layer as a point feature class. (output 1)

  3. I then want to run kriging on that newly created point feature class, based on one of the columns. So my output feature class becomes input feature class.

  4. As you may see below at the "obtained from" part the field that will be used for kriging is not appearing yet, since the tool didn't created yet the point feature class.

share|improve this question

migrated from stackoverflow.com Dec 26 '13 at 3:32

This question came from our site for professional and enthusiast programmers.

"As you may see below"...I don't see anything below. Did you mean to link to an image or include some code? –  Gary S. Dec 6 '13 at 19:30
Well, it says I have to have 10 points before I can post image on this webpage. I am not yet there! One can always make the python code run at the background and not ask users to enter the parameters. When I put the arcpy.GetParameterAsText(1) arguments, in DATA type we can select, shapefile, field, layer, string etc on the tool interface. That part, if one selects lets say field that is the shapefile that is created when tool runs, basically at the lower window in ArcGIS one can't pull the attribute fields, since that shapefile is not created yet. –  user3073226 Dec 7 '13 at 4:09
For example in ArcGIS Model builder, when we put bunch of geoprocessing tools, we can link with each other, and even lets say step 1 is not run yet, the outcome shapfile's attribute table is available, and you can pick any field for the Step 2. However, in stand-alone scripts I don't know how to do that yet. –  user3073226 Dec 7 '13 at 4:15

1 Answer 1

The field names in your output 1 feature class will be the same as your input 1 table.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.