3

I am using ArcGIS Desktop 10.0.

I want to show/create a buffer of a single point but the radius of that buffer depends on a simple formula (e.g. Radius = abc).

Instead of entering directly the radius, is there are way to just enter the constants on the ModelBuilder, use the result and connect it to the Buffer tool so that we can get that result?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jul 13, 2012 at 18:23

1 Answer 1

6

It is fairly straightforward, but you may do well to read the Creating Tools With ModelBuilder help:

You might also check the help on the Calculate Value tool in ModelBuilder:

enter image description here

  1. Open ModelBuilder and add your feature class/shapefile and your buffer tool.
  2. Add the "Calculate Value" ModelBuilder function (Accessed by right clicking the model area and selecting Model Only Tools>Calculate Values).
  3. Add 3 (or however many you please) variables to your model (Insert>Create Variable) of a data type appropriate for your operation. Name these something easy and appropriate (e.g. A,B,C).
  4. Right-click these variables and enable "Model Parameter".
  5. Open the Calculate Value tool and set its expression to whatever you'd like using the variables encased in % %, as such: %A% * %B% * %C% (this will be the product of ABC).

enter image description here

  1. Connect the Calculate Value tool to the Buffer tool as the Distance unit.
PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
answered Jul 13, 2012 at 18:42
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.