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.

I need one help. i am using arcgis 10. I actually want to show to create a buffer of a single point. But, the radius of that buffer depends on a simple formula (say Radius = a*b*c) instead of entering directly the radius, is there are way to just enter the constants on the model builder, use the result and connect it to buffer so that we can get that answer? Thanks hope everyone understood my question.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Sure, it's fairly straightforward, but you may do well to read this Creating Tools With ModelBuilder link:

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000007v000000

You might also check this link on Calculate Value in ModelBuilder: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//004000000004000000.htm

Cheat Sheet: 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 A*B*C).

enter image description here

6) Connect the Calculate Value tool to the Buffer tool as the Distance unit.

share|improve this answer
    
Thanks for the help, will try it out now. –  Ganesh Ambi Ramakrishnan Jul 13 '12 at 18:54
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.